Package org.apache.cxf.transport.https
Class SSLUtils
- java.lang.Object
-
- org.apache.cxf.transport.https.SSLUtils
-
public final class SSLUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
getHostnameVerifier
public static HostnameVerifier getHostnameVerifier(TLSClientParameters tlsClientParameters)
-
getSSLContextInitParameters
public static SSLContextInitParameters getSSLContextInitParameters(TLSParameterBase parameters) throws GeneralSecurityException
- Throws:
GeneralSecurityException
-
getSSLContext
public static SSLContext getSSLContext(TLSParameterBase parameters) throws GeneralSecurityException
- 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
public static SSLEngine createServerSSLEngine(TLSServerParameters parameters) throws Exception
- Throws:
Exception
-
createClientSSLEngine
public static SSLEngine createClientSSLEngine(TLSClientParameters parameters) throws Exception
- Throws:
Exception
-
-