KeyInfo.SecurityLevel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the security level that the key is protected by.
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
Property Value
- Attributes
Remarks
Returns the security level that the key is protected by. KeyProperties.SecurityLevelEnum.TRUSTED_ENVIRONMENT
and KeyProperties.SecurityLevelEnum.STRONGBOX
indicate that the key material resides in secure hardware. Key material of such keys is available in plaintext only inside the secure hardware and is not exposed outside of it.
See KeyProperties
.SecurityLevelEnum
constants.
Java documentation for android.security.keystore.KeyInfo.getSecurityLevel()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.