SSLUtil.ProtocolInfo
Constructor and Description |
---|
OpenSSLUtil(SSLHostConfig sslHostConfig,
SSLHostConfigCertificate certificate) |
Modifier and Type | Method and Description |
---|---|
void |
configureSessionContext(SSLSessionContext sslSessionContext) |
SSLContext |
createSSLContext(List<String> negotiableProtocols) |
String[] |
getEnableableCiphers(SSLContext context)
Determines the SSL cipher suites that can be enabled, based on the
configuration of the endpoint and the ciphers supported by the SSL
implementation.
|
String[] |
getEnableableProtocols(SSLContext context)
Determines the SSL protocol variants that can be enabled, based on the
configuration of the endpoint and the ciphers supported by the SSL
implementation.
|
KeyManager[] |
getKeyManagers() |
TrustManager[] |
getTrustManagers() |
public OpenSSLUtil(SSLHostConfig sslHostConfig, SSLHostConfigCertificate certificate)
public SSLContext createSSLContext(List<String> negotiableProtocols) throws Exception
createSSLContext
in interface SSLUtil
Exception
public KeyManager[] getKeyManagers() throws Exception
getKeyManagers
in interface SSLUtil
Exception
public TrustManager[] getTrustManagers() throws Exception
getTrustManagers
in interface SSLUtil
Exception
public void configureSessionContext(SSLSessionContext sslSessionContext)
configureSessionContext
in interface SSLUtil
public String[] getEnableableCiphers(SSLContext context)
SSLUtil
getEnableableCiphers
in interface SSLUtil
context
- An initialized context to obtain the supported ciphers from.public String[] getEnableableProtocols(SSLContext context)
SSLUtil
getEnableableProtocols
in interface SSLUtil
context
- An initialized context to obtain the supported protocols from.Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.