Dela via


X509ExtendedKeyManager.GetCertificateChain(String) Method

Definition

Returns the certificate chain associated with the given alias.

[Android.Runtime.Register("getCertificateChain", "(Ljava/lang/String;)[Ljava/security/cert/X509Certificate;", "GetGetCertificateChain_Ljava_lang_String_Handler")]
public abstract Java.Security.Cert.X509Certificate[]? GetCertificateChain (string? alias);
[<Android.Runtime.Register("getCertificateChain", "(Ljava/lang/String;)[Ljava/security/cert/X509Certificate;", "GetGetCertificateChain_Ljava_lang_String_Handler")>]
abstract member GetCertificateChain : string -> Java.Security.Cert.X509Certificate[]

Parameters

alias
String

the alias name

Returns

the certificate chain (ordered with the user's certificate first and the root certificate authority last), or null if the alias can't be found.

Implements

Attributes

Remarks

Returns the certificate chain associated with the given alias.

Java documentation for javax.net.ssl.X509KeyManager.getCertificateChain(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to