KeyGenParameterSpec.Purposes 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回可以使用密钥的一组目的(例如加密、解密、签名)。
public Android.Security.Keystore.KeyStorePurpose Purposes { [Android.Runtime.Register("getPurposes", "()I", "", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getPurposes", "()I", "", ApiSince=23)>]
member this.Purposes : Android.Security.Keystore.KeyStorePurpose
属性值
值为 0 或以下组合: Encrypt; ; Decrypt; VerifySign; ; ; ; AgreeKeyWrapKeyAttestKey
- 特性
注解
返回可以使用密钥的一组目的(例如加密、解密、签名)。 将拒绝尝试将密钥用于任何其他目的。
请参阅 KeyProperties。
PURPOSE 标志。
Java文档android.security.keystore.KeyGenParameterSpec.getPurposes()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。