次の方法で共有


HandshakeCompletedEvent.PeerPrincipal プロパティ

定義

セッションの定義の一環として確立されたピアの ID を返します。

public virtual 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 を返します。

属性

例外

ピアの ID が検証されていない場合は 。

注釈

セッションの定義の一環として確立されたピアの ID を返します。

1\.5 で追加されました。

の Java ドキュメント javax.net.ssl.HandshakeCompletedEvent.getPeerPrincipal()

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象