IdentityCredential.SetAllowUsingExhaustedKeys(Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置是否允许使用使用计数的身份验证密钥(如果没有其他密钥可用)。
[Android.Runtime.Register("setAllowUsingExhaustedKeys", "(Z)V", "GetSetAllowUsingExhaustedKeys_ZHandler", ApiSince=30)]
public abstract void SetAllowUsingExhaustedKeys(bool allowUsingExhaustedKeys);
[<Android.Runtime.Register("setAllowUsingExhaustedKeys", "(Z)V", "GetSetAllowUsingExhaustedKeys_ZHandler", ApiSince=30)>]
abstract member SetAllowUsingExhaustedKeys : bool -> unit
参数
- allowUsingExhaustedKeys
- Boolean
如果其他密钥不可用,是否允许使用使用计数的身份验证密钥。
- 属性
注解
设置是否允许使用使用计数的身份验证密钥(如果没有其他密钥可用)。 必须在调用之前调用 #getEntries(byte[], Map, byte[], byte[])此项。
默认情况下,此值设置为 true。
此成员已弃用。 改用 PresentationSession。
Java文档android.security.identity.IdentityCredential.setAllowUsingExhaustedKeys(boolean)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。