public interface SSLUtil
SSLImplementation
s to create the
necessary JSSE implementation objects for TLS connections created via the
JSSE API.Modifier and Type | Interface and Description |
---|---|
static interface |
SSLUtil.ProtocolInfo
Optional interface that can be implemented by
SSLEngine s to indicate that they support ALPN and
can provided the protocol agreed with the client. |
Modifier and Type | Method and Description |
---|---|
void |
configureSessionContext(SSLSessionContext sslSessionContext) |
SSLContext |
createSSLContext(List<String> negotiableProtocols) |
String[] |
getEnabledCiphers()
The set of enabled ciphers is the intersection of the implemented ciphers
and the configured ciphers.
|
String[] |
getEnabledProtocols()
The set of enabled protocols is the intersection of the implemented
protocols and the configured protocols.
|
KeyManager[] |
getKeyManagers() |
TrustManager[] |
getTrustManagers() |
SSLContext createSSLContext(List<String> negotiableProtocols) throws Exception
Exception
KeyManager[] getKeyManagers() throws Exception
Exception
TrustManager[] getTrustManagers() throws Exception
Exception
void configureSessionContext(SSLSessionContext sslSessionContext)
String[] getEnabledProtocols() throws IllegalArgumentException
IllegalArgumentException
- If there is no intersection between the
implemented and configured protocolsString[] getEnabledCiphers() throws IllegalArgumentException
The ciphers used during the TLS handshake may be further restricted by
the getEnabledProtocols()
and the certificates.
IllegalArgumentException
- If there is no intersection between the
implemented and configured ciphersCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.