KeyPairGeneratorSpec.KeyType Property

Definition

Returns the type of key pair (e.

public string? KeyType { [Android.Runtime.Register("getKeyType", "()Ljava/lang/String;", "")] [Android.Runtime.StringDef(Fields=new System.String[] { "KeyAlgorithmRsa", "KeyAlgorithmEc", "KeyAlgorithmAes", "KeyAlgorithmHmacSha1", "KeyAlgorithmHmacSha224", "KeyAlgorithmHmacSha256", "KeyAlgorithmHmacSha384", "KeyAlgorithmHmacSha512" }, Type="Android.Security.Keystore.KeyProperties")] get; }
[<get: Android.Runtime.Register("getKeyType", "()Ljava/lang/String;", "")>]
[<get: Android.Runtime.StringDef(Fields=new System.String[] { "KeyAlgorithmRsa", "KeyAlgorithmEc", "KeyAlgorithmAes", "KeyAlgorithmHmacSha1", "KeyAlgorithmHmacSha224", "KeyAlgorithmHmacSha256", "KeyAlgorithmHmacSha384", "KeyAlgorithmHmacSha512" }, Type="Android.Security.Keystore.KeyProperties")>]
member this.KeyType : string

Property Value

Attributes

Remarks

Returns the type of key pair (e.g., EC, RSA) to be generated. See KeyProperties.KEY_ALGORITHM constants.

Java documentation for android.security.KeyPairGeneratorSpec.getKeyType().

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