| Access | Constructor and Description |
|---|---|
| pack-priv | BouncyCastleAlpnSslEngine(SSLEngine engine, JdkApplicationProtocolNegotiator applicationNegotiator, boolean isServer)
Deprecated
as a consequence of
JdkApplicationProtocolNegotiator being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public String | getApplicationProtocol()
Overrides io. |
| public String | getHandshakeApplicationProtocol()
Overrides io. |
| public BiFunction | getHandshakeApplicationProtocolSelector()
Overrides io. |
| public void | setHandshakeApplicationProtocolSelector(BiFunction<SSLEngine, List<String>, String>
the callback function, or null to disable the callback
functionality. selector)Overrides io. |
| BouncyCastleAlpnSslEngine | back to summary |
|---|---|
| pack-priv BouncyCastleAlpnSslEngine(SSLEngine engine, JdkApplicationProtocolNegotiator applicationNegotiator, boolean isServer)
Deprecated as a consequence of | |
| getApplicationProtocol | back to summary |
|---|---|
| public String getApplicationProtocol() Overrides io. Doc from javax. Returns the most recent application protocol value negotiated for this connection. If supported by the underlying SSL/TLS/DTLS implementation, application name negotiation mechanisms such as RFC 7301 , the Application-Layer Protocol Negotiation (ALPN), can negotiate application-level values between peers. | |
| getHandshakeApplicationProtocol | back to summary |
|---|---|
| public String getHandshakeApplicationProtocol() Overrides io. Doc from javax. Returns the application protocol value negotiated on a SSL/TLS handshake currently in progress.
Like | |
| getHandshakeApplicationProtocolSelector | back to summary |
|---|---|
| public BiFunction Overrides io. Doc from javax. Retrieves the callback function that selects an application protocol
value during a SSL/TLS/DTLS handshake.
See | |
| setHandshakeApplicationProtocolSelector | back to summary |
|---|---|
| public void setHandshakeApplicationProtocolSelector(BiFunction<SSLEngine, List<String>, String> selector) Overrides io. Doc from javax. Registers a callback function that selects an application protocol
value for a SSL/TLS/DTLS handshake.
The function overrides any values supplied using
For example, the following call registers a callback function that examines the TLS handshake parameters and selects an application protocol name:
| |