语言

KeyProtection.IsUserAuthenticationValidWhileOnBody 属性

定义

当 true 从用户的正文中删除设备时,是否将取消授权密钥。

public bool IsUserAuthenticationValidWhileOnBody { [Android.Runtime.Register("isUserAuthenticationValidWhileOnBody", "()Z", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("isUserAuthenticationValidWhileOnBody", "()Z", "", ApiSince=24)>]
member this.IsUserAuthenticationValidWhileOnBody : bool

属性值

特性

注解

当 true 从用户的正文中删除设备时,是否将取消授权密钥。 此选项对没有身份验证有效期的密钥没有影响,如果设备缺少人体传感器,则不起作用。

授权仅适用于密钥和私钥操作。 公钥操作不受限制。

Java文档android.security.keystore.KeyProtection.isUserAuthenticationValidWhileOnBody()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于