| Modifier and Type | Class and Description |
|---|---|
| private class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | appliesTo(SSLEngine
the SSLEngine to check sslEngine)Overrides default org. Tests if this processor can be applied to the given SSLEngine. |
| public void | configure(SSLEngine
the SSLEngine to configure sslEngine, Connection the Connection to configure connection)Overrides default org. Configures the given SSLEngine and the given Connection for ALPN. |
| public void |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| ConscryptServerALPNProcessor | back to summary |
|---|---|
| public ConscryptServerALPNProcessor() | |
| appliesTo | back to summary |
|---|---|
| public boolean appliesTo(SSLEngine sslEngine) Overrides default org. Doc from org. Tests if this processor can be applied to the given SSLEngine. | |
| configure | back to summary |
|---|---|
| public void configure(SSLEngine sslEngine, Connection connection) Overrides default org. Doc from org. Configures the given SSLEngine and the given Connection for ALPN.
| |
| init | back to summary |
|---|---|
| public void init() Overrides default org. Doc from org. Initializes this ALPNProcessor
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ALPNServerConnection |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | handshakeFailed(SslHandshakeListener.
the event object carrying information about the TLS handshake event event,the failure that caused the TLS handshake to fail failure)Overrides default org. Callback method invoked when the TLS handshake fails. |
| public void | handshakeSucceeded(SslHandshakeListener.
the event object carrying information about the TLS handshake event eventOverrides default org. Callback method invoked when the TLS handshake succeeds. |
| public String | selectApplicationProtocol(SSLEngine
the server-side engine engine, List<String> The list of client-supplied protocols protocols)Implements abstract org. Selects the appropriate ALPN protocol. |
| public String | selectApplicationProtocol(SSLSocket
the server-side socket socket, List<String> The list of client-supplied protocols protocols)Implements abstract org. Selects the appropriate ALPN protocol. |
| alpnConnection | back to summary |
|---|---|
| private final ALPNServerConnection alpnConnection | |
| ALPNCallback | back to summary |
|---|---|
| private ALPNCallback(ALPNServerConnection connection) | |
| handshakeFailed | back to summary |
|---|---|
| public void handshakeFailed(SslHandshakeListener. Overrides default org. Doc from org. Callback method invoked when the TLS handshake fails.
| |
| handshakeSucceeded | back to summary |
|---|---|
| public void handshakeSucceeded(SslHandshakeListener. Overrides default org. Doc from org. Callback method invoked when the TLS handshake succeeds.
| |
| selectApplicationProtocol | back to summary |
|---|---|
| public String selectApplicationProtocol(SSLEngine engine, List<String> protocols) Implements abstract org. Doc from org. Selects the appropriate ALPN protocol.
| |
| selectApplicationProtocol | back to summary |
|---|---|
| public String selectApplicationProtocol(SSLSocket socket, List<String> protocols) Implements abstract org. Doc from org. Selects the appropriate ALPN protocol.
| |