SSLUtil
JSSEUtil
, OpenSSLUtil
public abstract class SSLUtilBase extends java.lang.Object implements SSLUtil
SSLUtil
implementations.SSLUtil.ProtocolInfo
Modifier and Type | Field | Description |
---|---|---|
protected SSLHostConfigCertificate |
certificate |
|
protected SSLHostConfig |
sslHostConfig |
Modifier | Constructor | Description |
---|---|---|
protected |
SSLUtilBase(SSLHostConfigCertificate certificate) |
|
protected |
SSLUtilBase(SSLHostConfigCertificate certificate,
boolean warnTls13) |
Modifier and Type | Method | Description |
---|---|---|
void |
configureSessionContext(javax.net.ssl.SSLSessionContext sslSessionContext) |
|
SSLContext |
createSSLContext(java.util.List<java.lang.String> negotiableProtocols) |
|
protected abstract SSLContext |
createSSLContextInternal(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.
|
protected abstract java.util.Set<java.lang.String> |
getImplementedCiphers() |
|
protected abstract java.util.Set<java.lang.String> |
getImplementedProtocols() |
|
javax.net.ssl.KeyManager[] |
getKeyManagers() |
|
protected abstract Log |
getLog() |
|
javax.net.ssl.TrustManager[] |
getTrustManagers() |
|
protected abstract boolean |
isTls13RenegAuthAvailable() |
protected final SSLHostConfig sslHostConfig
protected final SSLHostConfigCertificate certificate
protected SSLUtilBase(SSLHostConfigCertificate certificate)
protected SSLUtilBase(SSLHostConfigCertificate certificate, boolean warnTls13)
public final SSLContext createSSLContext(java.util.List<java.lang.String> negotiableProtocols) throws java.lang.Exception
createSSLContext
in interface SSLUtil
java.lang.Exception
public void configureSessionContext(javax.net.ssl.SSLSessionContext sslSessionContext)
configureSessionContext
in interface SSLUtil
public javax.net.ssl.KeyManager[] getKeyManagers() throws java.lang.Exception
getKeyManagers
in interface SSLUtil
java.lang.Exception
public java.lang.String[] getEnabledProtocols()
SSLUtil
getEnabledProtocols
in interface SSLUtil
public java.lang.String[] getEnabledCiphers()
SSLUtil
The ciphers used during the TLS handshake may be further restricted by
the SSLUtil.getEnabledProtocols()
and the certificates.
getEnabledCiphers
in interface SSLUtil
public javax.net.ssl.TrustManager[] getTrustManagers() throws java.lang.Exception
getTrustManagers
in interface SSLUtil
java.lang.Exception
protected abstract java.util.Set<java.lang.String> getImplementedProtocols()
protected abstract java.util.Set<java.lang.String> getImplementedCiphers()
protected abstract Log getLog()
protected abstract boolean isTls13RenegAuthAvailable()
protected abstract SSLContext createSSLContextInternal(java.util.List<java.lang.String> negotiableProtocols) throws java.lang.Exception
java.lang.Exception
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.