Langage

KeyStore.GetEntry(String, KeyStore+IProtectionParameter) Méthode

Définition

Obtient un magasin de Entry clés pour l’alias spécifié avec le paramètre de protection spécifié.

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

Paramètres

alias
String

obtenir le magasin de Entry clés pour cet alias

protParam
KeyStore.IProtectionParameter

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

Retours

le magasin de Entry clés pour 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.

s’il KeyStore n’est pas initialisé.

si alias c’est null.

Remarques

Java documentation pour java.security.KeyStore.getEntry(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 à