Package org.apache.cxf.transport.https
Class SSLUtils
java.lang.Object
org.apache.cxf.transport.https.SSLUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic KeyManager[]configureKeyManagersWithCertAlias(TLSParameterBase tlsParameters, KeyManager[] keyManagers) static SSLEnginecreateClientSSLEngine(TLSClientParameters parameters) static SSLEnginecreateServerSSLEngine(TLSServerParameters parameters) static HostnameVerifiergetHostnameVerifier(TLSClientParameters tlsClientParameters) static SSLContextgetSSLContext(TLSParameterBase parameters) static SSLContextgetSSLContext(TLSParameterBase parameters, boolean addHNV) static SSLContextInitParametersgetSSLContextInitParameters(TLSParameterBase parameters)
-
Method Details
-
getHostnameVerifier
-
getSSLContextInitParameters
public static SSLContextInitParameters getSSLContextInitParameters(TLSParameterBase parameters) throws GeneralSecurityException - Throws:
GeneralSecurityException
-
getSSLContext
- Throws:
GeneralSecurityException
-
getSSLContext
public static SSLContext getSSLContext(TLSParameterBase parameters, boolean addHNV) throws GeneralSecurityException - Throws:
GeneralSecurityException
-
configureKeyManagersWithCertAlias
public static KeyManager[] configureKeyManagersWithCertAlias(TLSParameterBase tlsParameters, KeyManager[] keyManagers) throws GeneralSecurityException - Throws:
GeneralSecurityException
-
createServerSSLEngine
- Throws:
Exception
-
createClientSSLEngine
- Throws:
Exception
-