KeyGenParameterSpec.MaxUsageCount 属性

定义

返回允许使用有限使用密钥的最大次数,或者 KeyProperties#UNRESTRICTED_USAGE_COUNT 对可以使用密钥的次数没有限制。

public int MaxUsageCount { [Android.Runtime.Register("getMaxUsageCount", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getMaxUsageCount", "()I", "", ApiSince=31)>]
member this.MaxUsageCount : int

属性值

属性

注解

返回允许使用有限使用密钥的最大次数,或者 KeyProperties#UNRESTRICTED_USAGE_COUNT 对可以使用密钥的次数没有限制。

适用于 . 的 android.security.keystore.KeyGenParameterSpec.getMaxUsageCount()Java 文档

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

适用于