Dela via


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[]
Attributes

Remarks

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

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