Share via


IX509KeyManager.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:Javax.Net.Ssl.IX509KeyManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Security.Cert.X509Certificate[]? GetCertificateChain (string? alias);
[<Android.Runtime.Register("getCertificateChain", "(Ljava/lang/String;)[Ljava/security/cert/X509Certificate;", "GetGetCertificateChain_Ljava_lang_String_Handler:Javax.Net.Ssl.IX509KeyManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
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.

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