Dil

SecureCacheResponse.PeerPrincipal Property

Definition

Gets the server's principle.

public abstract Java.Security.IPrincipal? PeerPrincipal { [Android.Runtime.Register("getPeerPrincipal", "()Ljava/security/Principal;", "GetGetPeerPrincipalHandler")] get; }
[<get: Android.Runtime.Register("getPeerPrincipal", "()Ljava/security/Principal;", "GetGetPeerPrincipalHandler")>]
member this.PeerPrincipal : Java.Security.IPrincipal

Property Value

the server's principal. Returns an X500Principal of the end-entity certificate for X509-based cipher suites, and KerberosPrincipal for Kerberos cipher suites.

Attributes

Exceptions

if the peer is unverified.

Remarks

Returns the server's principal which was established as part of defining the session during the original connection that retrieved the network resource.

Java reference for java.net.SecureCacheResponse.getPeerPrincipal.

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