KeyChainManager.GetCertificateChain 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.
Retourne la chaîne de certificats du certificat délimité donné.
[Android.Runtime.Register("getCertificateChain", "(Ljava/lang/String;I)Ljava/util/List;", "", ApiSince=37)]
public System.Collections.Generic.IList<Java.Security.Cert.X509Certificate> GetCertificateChain(string alias, Android.Security.KeyChainManagerKeyPairScope scope);
[<Android.Runtime.Register("getCertificateChain", "(Ljava/lang/String;I)Ljava/util/List;", "", ApiSince=37)>]
member this.GetCertificateChain : string * Android.Security.KeyChainManagerKeyPairScope -> System.Collections.Generic.IList<Java.Security.Cert.X509Certificate>
Paramètres
- alias
- String
Alias de la chaîne de certificats souhaitée.
Étendue à rechercher (#KEYPAIR_SCOPE_USER ou #KEYPAIR_SCOPE_DEVICE).
Retours
Liste des X509Certificates représentant la chaîne ou une liste vide si aucun certificat n’existe pour l’alias/étendue donné ou si l’accès à la clé n’est pas accordé.
- Attributs