| Modifier and Type | Field and Description |
|---|---|
| private final HostnameVerifier | |
| private static final Logger | |
| private final SSLBufferMode | |
| private final SSLContext | |
| private final String[] | |
| private final String[] | |
| private final TlsSessionValidator |
| Access | Constructor and Description |
|---|---|
| pack-priv | AbstractClientTlsStrategy(final SSLContext sslContext, final String[] supportedProtocols, final String[] supportedCipherSuites, final SSLBufferMode sslBufferManagement, final HostnameVerifier hostnameVerifier)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract void | |
| pack-priv abstract TlsDetails | |
| protected void | |
| public boolean | upgrade(final TransportSecurityLayer
the session layer tlsSession, final HttpHost the name of the opposite endpoint when given or host, final SocketAddress null otherwise.the address of the local endpoint. localAddress, final SocketAddress the address of the remote endpoint. remoteAddress, final Object arbitrary object passes to the TLS session initialization code. attachment, final Timeout the timeout to use while performing the TLS handshake; may be handshakeTimeout)null.Implements org. |
| public void | upgrade(final TransportSecurityLayer
the session layer tlsSession, final NamedEndpoint the name of the opposite endpoint when applicable or endpoint, final Object null otherwise.arbitrary object passes to the TLS session initialization code. attachment, final Timeout the timeout to use while performing the TLS handshake; may be handshakeTimeout, final FutureCallback<TransportSecurityLayer> null.Operation result callback. callback)Overrides default org. |
| protected void |
| hostnameVerifier | back to summary |
|---|---|
| private final HostnameVerifier hostnameVerifier | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| sslBufferManagement | back to summary |
|---|---|
| private final SSLBufferMode sslBufferManagement | |
| sslContext | back to summary |
|---|---|
| private final SSLContext sslContext | |
| supportedCipherSuites | back to summary |
|---|---|
| private final String[] supportedCipherSuites | |
| supportedProtocols | back to summary |
|---|---|
| private final String[] supportedProtocols | |
| tlsSessionValidator | back to summary |
|---|---|
| private final TlsSessionValidator tlsSessionValidator | |
| AbstractClientTlsStrategy | back to summary |
|---|---|
| pack-priv AbstractClientTlsStrategy(final SSLContext sslContext, final String[] supportedProtocols, final String[] supportedCipherSuites, final SSLBufferMode sslBufferManagement, final HostnameVerifier hostnameVerifier) | |
| applyParameters | back to summary |
|---|---|
| pack-priv abstract void applyParameters(SSLEngine sslEngine, SSLParameters sslParameters, String[] appProtocols) | |
| createTlsDetails | back to summary |
|---|---|
| pack-priv abstract TlsDetails createTlsDetails(SSLEngine sslEngine) | |
| initializeEngine | back to summary |
|---|---|
| protected void initializeEngine(final SSLEngine sslEngine) | |
| upgrade | back to summary |
|---|---|
| public boolean upgrade(final TransportSecurityLayer tlsSession, final HttpHost host, final SocketAddress localAddress, final SocketAddress remoteAddress, final Object attachment, final Timeout handshakeTimeout) Implements org. Doc from org. Secures current session layer with TLS.
| |
| upgrade | back to summary |
|---|---|
| public void upgrade(final TransportSecurityLayer tlsSession, final NamedEndpoint endpoint, final Object attachment, final Timeout handshakeTimeout, final FutureCallback<TransportSecurityLayer> callback) Overrides default org. Doc from org. Secures current session layer with TLS.
| |
| verifySession | back to summary |
|---|---|
| protected void verifySession(final String hostname, final SSLSession sslsession) throws SSLException | |