KeyInfo.SecurityLevel 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回密钥受到保护的安全级别。
public virtual int SecurityLevel { [Android.Runtime.Register("getSecurityLevel", "()I", "GetGetSecurityLevelHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getSecurityLevel", "()I", "GetGetSecurityLevelHandler", ApiSince=31)>]
member this.SecurityLevel : int
属性值
值为下列值之一:KeyProperties.SECURITY_LEVEL_UNKNOWN;KeyProperties.SECURITY_LEVEL_UNKNOWN_SECURE;KeyProperties.SECURITY_LEVEL_SOFTWARE;KeyProperties.SECURITY_LEVEL_TRUSTED_ENVIRONMENT;KeyProperties.SECURITY_LEVEL_STRONGBOX
- 特性
注解
返回密钥受到保护的安全级别。
KeyProperties.SecurityLevelEnum.TRUSTED_ENVIRONMENT 并 KeyProperties.SecurityLevelEnum.STRONGBOX 指示密钥材料驻留在安全硬件中。 此类密钥的密钥材料仅在安全硬件内部提供,并且不会在安全硬件外部公开。
请参阅 KeyProperties。
SecurityLevelEnum 常量。
Java文档android.security.keystore.KeyInfo.getSecurityLevel()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。