Språk

SecureCacheResponse.LocalPrincipal Property

Definition

Gets the local principle that the original connection sent to the server.

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

Property Value

the principal sent to the server. Returns an X500Principal of the end-entity certificate for X509-based cipher suites, and KerberosPrincipal for Kerberos cipher suites. If no principal was sent, then null is returned.

Attributes

Remarks

Returns the principal that was sent to the server during handshaking in the original connection that retrieved the network resource.

Java reference for java.net.SecureCacheResponse.getLocalPrincipal.

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