Javax.Net.Ssl.ISSLSession.GetPeerCertificateChain Method
Returns the list of certificates the peer used to identify itself during the handshake.

Syntax

[Android.Runtime.Register("getPeerCertificateChain", "()[Ljavax/security/cert/X509Certificate;", "GetGetPeerCertificateChainHandler:Javax.Net.Ssl.ISSLSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Javax.Security.Cert.X509Certificate[] GetPeerCertificateChain ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Javax.Net.Ssl.SSLPeerUnverifiedExceptionif the identity of the peer is not verified.

Remarks

Returns the list of certificates the peer used to identify itself during the handshake.

Note: this method exists for compatility reasons, use ISSLSession.GetPeerCertificates instead.

[Android Documentation]

Requirements

Namespace: Javax.Net.Ssl
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1