다음을 통해 공유


SSLEngine.ApplicationProtocol Property

Definition

Returns the most recent application protocol value negotiated for this connection.

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

Property Value

null if it has not yet been determined if application protocols might be used for this connection, 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 most recent application protocol value negotiated for this connection.

If supported by the underlying SSL/TLS implementation, application name negotiation mechanisms such as RFC 7301 , the Application-Layer Protocol Negotiation (ALPN), can negotiate application-level values between peers.

Added in 9.

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

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