ExtendedSSLSession.GetPeerCertificateChain Method

Definition

Returns the identity of the peer which was identified as part of defining the session.

[Android.Runtime.Register("getPeerCertificateChain", "()[Ljavax/security/cert/X509Certificate;", "GetGetPeerCertificateChainHandler")]
public abstract Javax.Security.Cert.X509Certificate[]? GetPeerCertificateChain ();
[<Android.Runtime.Register("getPeerCertificateChain", "()[Ljavax/security/cert/X509Certificate;", "GetGetPeerCertificateChainHandler")>]
abstract member GetPeerCertificateChain : unit -> Javax.Security.Cert.X509Certificate[]

Returns

X509Certificate[]

an ordered array of peer X.509 certificates, with the peer's own certificate first followed by any certificate authorities. (The certificates are in the original JSSE certificate javax.security.cert.X509Certificate format.)

Implements

Attributes

Remarks

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

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