KeyStore.GetEntry(String, KeyStore+IProtectionParameter) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
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.