|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.ssl.SSLContextFactory
public class SSLContextFactory
Factory used to create SSLContexts. SSL needs to be configured before this will work.
Constructor Summary | |
---|---|
SSLContextFactory(String trustStorePath,
String trustStorePassword,
String trustStoreCertType)
|
|
SSLContextFactory(String trustStorePath,
String trustStorePassword,
String trustStoreCertType,
KeyManager customKeyManager)
|
|
SSLContextFactory(String trustStorePath,
String trustStorePassword,
String trustStoreCertType,
String keyStorePath,
String keyStorePassword,
String keyStoreCertType)
Create a factory instance |
Method Summary | |
---|---|
SSLContext |
buildClientContext()
Creates a SSLContext factory appropriate for use with a client |
SSLContext |
buildServerContext()
Builds a SSLContext appropriate for use with a server |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSLContextFactory(String trustStorePath, String trustStorePassword, String trustStoreCertType)
public SSLContextFactory(String trustStorePath, String trustStorePassword, String trustStoreCertType, String keyStorePath, String keyStorePassword, String keyStoreCertType)
keystorePath
- path to the Java keystore filekeystorePassword
- password for the Java keystorecertType
- certificate typepublic SSLContextFactory(String trustStorePath, String trustStorePassword, String trustStoreCertType, KeyManager customKeyManager)
Method Detail |
---|
public SSLContext buildServerContext() throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
public SSLContext buildClientContext() throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |