Compartir a través de


KeyInfo.GetDigests Method

Definition

Gets the set of digest algorithms (e.

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

Returns

String[]
Attributes

Remarks

Gets 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.KeyInfo.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