语言

KeyProperties.PurposeAttestKey 字段

定义

注意

This constant will be removed in the future version. Use Android.Security.Keystore.KeyStorePurpose enum directly instead of this field.

密钥用途:签名证明。

[Android.Runtime.Register("PURPOSE_ATTEST_KEY", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Security.Keystore.KeyStorePurpose enum directly instead of this field.", true)]
public const Android.Security.Keystore.KeyStorePurpose PurposeAttestKey = 128;
[<Android.Runtime.Register("PURPOSE_ATTEST_KEY", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Security.Keystore.KeyStorePurpose enum directly instead of this field.", true)>]
val mutable PurposeAttestKey : Android.Security.Keystore.KeyStorePurpose

字段值

Value = 128
特性

注解

密钥用途:签名证明。 此目的与所有其他项不兼容,这意味着在生成具有PURPOSE_ATTEST_KEY的密钥时,无法指定其他目的。 此外,不能为导入的密钥指定PURPOSE_ATTEST_KEY。

适用于 . 的 android.security.keystore.KeyProperties.PURPOSE_ATTEST_KEYJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于