语言

KeyInfo.IsUnlockedDeviceRequired 属性

定义

如果 true 仅当设备解锁时,才授权使用密钥,则返回。

public virtual bool IsUnlockedDeviceRequired { [Android.Runtime.Register("isUnlockedDeviceRequired", "()Z", "GetIsUnlockedDeviceRequiredHandler", ApiSince=36)] get; }
[<get: Android.Runtime.Register("isUnlockedDeviceRequired", "()Z", "GetIsUnlockedDeviceRequiredHandler", ApiSince=36)>]
member this.IsUnlockedDeviceRequired : bool

属性值

特性

注解

如果 true 仅当设备解锁时,才授权使用密钥,则返回。

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

Java文档android.security.keystore.KeyInfo.isUnlockedDeviceRequired()。

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

适用于