public interface SSLUtil
SSLImplementations 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
SSLEngines to indicate that they support ALPN and
can provided the protocol agreed with the client. |
| Modifier and Type | Method and Description |
|---|---|
void |
configureSessionContext(javax.net.ssl.SSLSessionContext sslSessionContext) |
SSLContext |
createSSLContext(java.util.List<java.lang.String> negotiableProtocols) |
java.lang.String[] |
getEnabledCiphers()
The set of enabled ciphers is the intersection of the implemented ciphers
and the configured ciphers.
|
java.lang.String[] |
getEnabledProtocols()
The set of enabled protocols is the intersection of the implemented
protocols and the configured protocols.
|
javax.net.ssl.KeyManager[] |
getKeyManagers() |
javax.net.ssl.TrustManager[] |
getTrustManagers() |
SSLContext createSSLContext(java.util.List<java.lang.String> negotiableProtocols) throws java.lang.Exception
java.lang.Exceptionjavax.net.ssl.KeyManager[] getKeyManagers()
throws java.lang.Exception
java.lang.Exceptionjavax.net.ssl.TrustManager[] getTrustManagers()
throws java.lang.Exception
java.lang.Exceptionvoid configureSessionContext(javax.net.ssl.SSLSessionContext sslSessionContext)
java.lang.String[] getEnabledProtocols()
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException - If there is no intersection between the
implemented and configured protocolsjava.lang.String[] getEnabledCiphers()
throws java.lang.IllegalArgumentException
The ciphers used during the TLS handshake may be further restricted by
the getEnabledProtocols() and the certificates.
java.lang.IllegalArgumentException - If there is no intersection between the
implemented and configured ciphersCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.