Langage

KeyStoreSpi.EngineGetEntry(String, KeyStore+IProtectionParameter) Méthode

Définition

Obtient un KeyStore.Entry alias spécifié avec le paramètre de protection spécifié.

[Android.Runtime.Register("engineGetEntry", "(Ljava/lang/String;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Entry;", "GetEngineGetEntry_Ljava_lang_String_Ljava_security_KeyStore_ProtectionParameter_Handler")]
public virtual Java.Security.KeyStore.IEntry? EngineGetEntry(string? alias, Java.Security.KeyStore.IProtectionParameter? protParam);
[<Android.Runtime.Register("engineGetEntry", "(Ljava/lang/String;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Entry;", "GetEngineGetEntry_Ljava_lang_String_Ljava_security_KeyStore_ProtectionParameter_Handler")>]
abstract member EngineGetEntry : string * Java.Security.KeyStore.IProtectionParameter -> Java.Security.KeyStore.IEntry
override this.EngineGetEntry : string * Java.Security.KeyStore.IProtectionParameter -> Java.Security.KeyStore.IEntry

Paramètres

alias
String

obtenir l’alias KeyStore.Entry pour cet alias

protParam
KeyStore.IProtectionParameter

utilisé ProtectionParameter pour protéger le Entry, qui peut être null

Retours

pour KeyStore.Entry l’alias spécifié, ou null s’il n’existe aucune entrée de ce type

Attributs

Exceptions

si l’algorithme requis n’est pas disponible.

si l’entrée ne peut pas être récupérée.

si cette opération échoue

Remarques

Java documentation pour java.security.KeyStoreSpi.engineGetEntry(java.lang.String, java.security.ProtectionParameter).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à