Język

KeyGenParameterSpec.GetDigests Method

Definition

Returns the set of digest algorithms (e.

[Android.Runtime.Register("getDigests", "()[Ljava/lang/String;", "", ApiSince=23)]
[Android.Runtime.StringDef(Fields=new System.String[] { "DigestNone", "DigestMd5", "DigestSha1", "DigestSha224", "DigestSha256", "DigestSha384", "DigestSha512" }, Type="Android.Security.Keystore.KeyProperties")]
public string[] GetDigests();
[<Android.Runtime.Register("getDigests", "()[Ljava/lang/String;", "", ApiSince=23)>]
[<Android.Runtime.StringDef(Fields=new System.String[] { "DigestNone", "DigestMd5", "DigestSha1", "DigestSha224", "DigestSha256", "DigestSha384", "DigestSha512" }, Type="Android.Security.Keystore.KeyProperties")>]
member this.GetDigests : unit -> string[]

Returns

String[]

This value cannot be null. Value is one of the following: KeyProperties.DIGEST_NONE; KeyProperties.DIGEST_MD5; KeyProperties.DIGEST_SHA1; KeyProperties.DIGEST_SHA224; KeyProperties.DIGEST_SHA256; KeyProperties.DIGEST_SHA384; KeyProperties.DIGEST_SHA512

Attributes

Remarks

Returns the set of digest algorithms (e.g., SHA-256, SHA-384 with which the key can be used.

See KeyProperties.DIGEST constants.

Java documentation for android.security.keystore.KeyGenParameterSpec.getDigests().

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