다음을 통해 공유


SSLEngine.HandshakeApplicationProtocol Property

Definition

Returns the application protocol value negotiated on a SSL/TLS handshake currently in progress.

public virtual string? HandshakeApplicationProtocol { [Android.Runtime.Register("getHandshakeApplicationProtocol", "()Ljava/lang/String;", "GetGetHandshakeApplicationProtocolHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getHandshakeApplicationProtocol", "()Ljava/lang/String;", "GetGetHandshakeApplicationProtocolHandler", ApiSince=29)>]
member this.HandshakeApplicationProtocol : string

Property Value

null if it has not yet been determined if application protocols might be used for this handshake, an empty String if application protocols values will not be used, or a non-empty application protocol String if a value was successfully negotiated.

Attributes

Remarks

Returns the application protocol value negotiated on a SSL/TLS handshake currently in progress.

Like #getHandshakeSession(), a connection may be in the middle of a handshake. The application protocol may or may not yet be available.

Added in 9.

Java documentation for javax.net.ssl.SSLEngine.getHandshakeApplicationProtocol().

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