Condividi tramite


KeyPairGeneratorSpec.KeyType Proprietà

Definizione

Restituisce il tipo di coppia di chiavi (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

Valore della proprietà

Attributi

Commenti

Restituisce il tipo di coppia di chiavi (ad esempio, EC, RSA) da generare. Vedere KeyProperties.KEY_ALGORITHM Costanti.

Documentazione java per android.security.KeyPairGeneratorSpec.getKeyType().

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a