CredentialDataRequest.Builder.SetAllowUsingExhaustedKeys(Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置是否可以使用已用尽的身份验证密钥。
[Android.Runtime.Register("setAllowUsingExhaustedKeys", "(Z)Landroid/security/identity/CredentialDataRequest$Builder;", "", ApiSince=33)]
public Android.Security.Identity.CredentialDataRequest.Builder SetAllowUsingExhaustedKeys(bool allowUsingExhaustedKeys);
[<Android.Runtime.Register("setAllowUsingExhaustedKeys", "(Z)Landroid/security/identity/CredentialDataRequest$Builder;", "", ApiSince=33)>]
member this.SetAllowUsingExhaustedKeys : bool -> Android.Security.Identity.CredentialDataRequest.Builder
参数
- allowUsingExhaustedKeys
- Boolean
是否允许在没有其他密钥可用时超出其使用计数的身份验证密钥。
返回
此生成器。
- 属性
注解
默认值为 true. 当无法续订身份验证密钥时,允许耗尽的密钥非常有用,但重用密钥会增加隐私风险。
Java文档android.security.identity.CredentialDataRequest.Builder.setAllowUsingExhaustedKeys(boolean)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。