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
-
Method Summary
Modifier and TypeMethodDescriptionstatic SSLContext
Creates anSSLContext
for a client.static SSLContext
Creates anSSLContext
for a server.
-
Constructor Details
-
TestSslUtil
public TestSslUtil()
-
-
Method Details
-
createServerSslContext
Creates anSSLContext
for a server.- Returns:
- the SSL context
- Throws:
Exception
- if an error occurs creating the SSL context
-
createClientSslContext
Creates anSSLContext
for a client.- Returns:
- the SSL context
- Throws:
Exception
- if an error occurs creating the SSL context
-