Javax.Net.Ssl.HttpsURLConnection.GetServerCertificates Method
Return the list of certificates identifying the peer during the handshake.

Syntax

[Android.Runtime.Register("getServerCertificates", "()[Ljava/security/cert/Certificate;", "GetGetServerCertificatesHandler")]
public abstract Java.Security.Cert.Certificate[] GetServerCertificates ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Javax.Net.Ssl.SSLPeerUnverifiedExceptionif the identity of the peer has not been verified..
Java.Lang.IllegalStateExceptionif no connection has been established yet.

Remarks

Return the list of certificates identifying the peer during the handshake.

[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