public interface SSLUtil
Modifier and Type | Method and Description |
---|---|
void |
configureSessionContext(SSLSessionContext sslSessionContext) |
SSLContext |
createSSLContext() |
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() |
SSLContext createSSLContext() throws Exception
Exception
KeyManager[] getKeyManagers() throws Exception
Exception
TrustManager[] getTrustManagers() throws Exception
Exception
void configureSessionContext(SSLSessionContext sslSessionContext)
String[] getEnableableCiphers(SSLContext context)
context
- An initialized context to obtain the supported ciphers from.String[] getEnableableProtocols(SSLContext context)
context
- An initialized context to obtain the supported protocols from.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.