Javax.Net.Ssl.HttpsURLConnection.PeerPrincipal Property
Returns the Principal identifying the peer.

Syntax

[get: Android.Runtime.Register("getPeerPrincipal", "()Ljava/security/Principal;", "GetGetPeerPrincipalHandler")]
public virtual Java.Security.IPrincipal PeerPrincipal { get; }

Value

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

Returns the Principal identifying the peer.

[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