Idioma

KeyInfo.SecurityLevel Propriedade

Definição

Retorna o nível de segurança pelo qual a chave está protegida.

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 da propriedade

O valor é um dos seguintes: KeyProperties.SECURITY_LEVEL_UNKNOWN; KeyProperties.SECURITY_LEVEL_UNKNOWN_SECURE; KeyProperties.SECURITY_LEVEL_SOFTWARE; KeyProperties.SECURITY_LEVEL_TRUSTED_ENVIRONMENT; KeyProperties.SECURITY_LEVEL_STRONGBOX

Atributos

Comentários

Retorna o nível de segurança pelo qual a chave está protegida. KeyProperties.SecurityLevelEnum.TRUSTED_ENVIRONMENT e KeyProperties.SecurityLevelEnum.STRONGBOX indique que o material da chave reside em hardware seguro. O material de chave dessas chaves está disponível em texto sem formatação somente dentro do hardware seguro e não é exposto fora dele.

Consulte KeyProperties. SecurityLevelEnum constantes.

Java documentação para android.security.keystore.KeyInfo.getSecurityLevel().

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a