Class TestSslUtil
java.lang.Object
org.jboss.resteasy.bootstrap.test.TestSslUtil
This is only meant for use in tests and should not be used outside of tests.
- Author:
- James R. Perkins
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SSLContextCreates anSSLContextfor a client.static SSLContextCreates anSSLContextfor a server.
-
Constructor Details
-
TestSslUtil
public TestSslUtil()
-
-
Method Details
-
createServerSslContext
Creates anSSLContextfor a server.- Returns:
- the SSL context
- Throws:
Exception- if an error occurs creating the SSL context
-
createClientSslContext
Creates anSSLContextfor a client.- Returns:
- the SSL context
- Throws:
Exception- if an error occurs creating the SSL context
-