语言

SecureCacheResponse.PeerPrincipal 属性

定义

获取服务器的原则。

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

属性值

服务器的主体。 返回基于 X509 的密码套件的结束实体证书的 X500Principal,以及 Kerberos 密码套件的 KerberosPrincipal。

特性

例外

如果对等方未验证,则为

注解

返回在检索网络资源的原始连接期间定义会话时建立的服务器主体。

Java参考java.net.SecureCacheResponse.getPeerPrincipal。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于