ExtendedSSLSession.GetLocalCertificates Method

Definition

Returns the certificate(s) that were sent to the peer during handshaking.

[Android.Runtime.Register("getLocalCertificates", "()[Ljava/security/cert/Certificate;", "GetGetLocalCertificatesHandler")]
public abstract Java.Security.Cert.Certificate[]? GetLocalCertificates ();
[<Android.Runtime.Register("getLocalCertificates", "()[Ljava/security/cert/Certificate;", "GetGetLocalCertificatesHandler")>]
abstract member GetLocalCertificates : unit -> Java.Security.Cert.Certificate[]

Returns

Certificate[]

an ordered array of certificates, with the local certificate first followed by any certificate authorities. If no certificates were sent, then null is returned.

Implements

Attributes

Remarks

Java documentation for javax.net.ssl.SSLSession.getLocalCertificates().

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