语言

KeyGenParameterSpec.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.KeyGenParameterSpec.isUserAuthenticationValidWhileOnBody()。

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

适用于