Lenguaje

KeyInfo.SecurityLevel Propiedad

Definición

Devuelve el nivel de seguridad por el que está protegida la clave.

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

Valor de propiedad

El valor es uno de los siguientes: KeyProperties.SECURITY_LEVEL_UNKNOWN; KeyProperties.SECURITY_LEVEL_UNKNOWN_SECURE; KeyProperties.SECURITY_LEVEL_SOFTWARE; KeyProperties.SECURITY_LEVEL_TRUSTED_ENVIRONMENT; KeyProperties.SECURITY_LEVEL_STRONGBOX

Atributos

Comentarios

Devuelve el nivel de seguridad por el que está protegida la clave. KeyProperties.SecurityLevelEnum.TRUSTED_ENVIRONMENT e KeyProperties.SecurityLevelEnum.STRONGBOX indican que el material clave reside en hardware seguro. El material clave de estas claves solo está disponible en texto no cifrado dentro del hardware seguro y no se expone fuera de ella.

Consulte KeyProperties. SecurityLevelEnum constantes.

Java documentación para android.security.keystore.KeyInfo.getSecurityLevel().

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a