Partager via


KeyProtection.Mgf1Digests Property

Definition

Returns the set of digests that can be used by the MGF1 mask generation function (e.

public System.Collections.Generic.ICollection<string> Mgf1Digests { [Android.Runtime.Register("getMgf1Digests", "()Ljava/util/Set;", "", ApiSince=35)] [Android.Runtime.StringDef(Fields=new System.String[] { "DigestNone", "DigestMd5", "DigestSha1", "DigestSha224", "DigestSha256", "DigestSha384", "DigestSha512" }, Type="Android.Security.Keystore.KeyProperties")] get; }
[<get: Android.Runtime.Register("getMgf1Digests", "()Ljava/util/Set;", "", ApiSince=35)>]
[<get: Android.Runtime.StringDef(Fields=new System.String[] { "DigestNone", "DigestMd5", "DigestSha1", "DigestSha224", "DigestSha256", "DigestSha384", "DigestSha512" }, Type="Android.Security.Keystore.KeyProperties")>]
member this.Mgf1Digests : System.Collections.Generic.ICollection<string>

Property Value

Attributes

Remarks

Returns the set of digests that can be used by the MGF1 mask generation function (e.g., SHA-256, SHA-384) with the key. Useful with the RSA-OAEP scheme. If not explicitly specified during key generation, the default SHA-1 digest is used and may be specified.

See KeyProperties.DIGEST constants.

Java documentation for android.security.keystore.KeyProtection.getMgf1Digests().

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