Udostępnij za pośrednictwem


KeyInfo.GetSignaturePaddings Method

Definition

Gets the set of padding schemes (e.

[Android.Runtime.Register("getSignaturePaddings", "()[Ljava/lang/String;", "GetGetSignaturePaddingsHandler", ApiSince=23)]
[Android.Runtime.StringDef(Fields=new System.String[] { "SignaturePaddingRsaPkcs1", "SignaturePaddingRsaPss" }, Type="Android.Security.Keystore.KeyProperties")]
public virtual string[] GetSignaturePaddings ();
[<Android.Runtime.Register("getSignaturePaddings", "()[Ljava/lang/String;", "GetGetSignaturePaddingsHandler", ApiSince=23)>]
[<Android.Runtime.StringDef(Fields=new System.String[] { "SignaturePaddingRsaPkcs1", "SignaturePaddingRsaPss" }, Type="Android.Security.Keystore.KeyProperties")>]
abstract member GetSignaturePaddings : unit -> string[]
override this.GetSignaturePaddings : unit -> string[]

Returns

String[]
Attributes

Remarks

Gets the set of padding schemes (e.g., PSS, PKCS#1) with which the key can be used when signing/verifying. Attempts to use the key with any other padding scheme will be rejected.

See KeyProperties.SIGNATURE_PADDING constants.

Java documentation for android.security.keystore.KeyInfo.getSignaturePaddings().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to