KeyGenParameterSpec.GetEncryptionPaddings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the set of padding schemes (e.
[Android.Runtime.Register("getEncryptionPaddings", "()[Ljava/lang/String;", "", ApiSince=23)]
[Android.Runtime.StringDef(Fields=new System.String[] { "EncryptionPaddingNone", "EncryptionPaddingPkcs7", "EncryptionPaddingRsaPkcs1", "EncryptionPaddingRsaOaep" }, Type="Android.Security.Keystore.KeyProperties")]
public string[] GetEncryptionPaddings ();
[<Android.Runtime.Register("getEncryptionPaddings", "()[Ljava/lang/String;", "", ApiSince=23)>]
[<Android.Runtime.StringDef(Fields=new System.String[] { "EncryptionPaddingNone", "EncryptionPaddingPkcs7", "EncryptionPaddingRsaPkcs1", "EncryptionPaddingRsaOaep" }, Type="Android.Security.Keystore.KeyProperties")>]
member this.GetEncryptionPaddings : unit -> string[]
Returns
- Attributes
Remarks
Returns the set of padding schemes (e.g., PKCS7Padding
, OEAPPadding
, PKCS1Padding
, NoPadding
) with which the key can be used when encrypting/decrypting. Attempts to use the key with any other padding scheme will be rejected.
See KeyProperties
.ENCRYPTION_PADDING
constants.
Java documentation for android.security.keystore.KeyGenParameterSpec.getEncryptionPaddings()
.
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.