|
||||||||||
| 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(java.lang.String keystorePath,
java.lang.String keystorePassword,
java.lang.String certType)
Create a factory instance |
|
| Method Summary | |
|---|---|
javax.net.ssl.SSLContext |
buildClientContext()
Creates a SSLContext factory appropriate for use with a client |
javax.net.ssl.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(java.lang.String keystorePath,
java.lang.String keystorePassword,
java.lang.String certType)
keystorePath - path to the Java keystore filekeystorePassword - password for the Java keystorecertType - certificate type| Method Detail |
|---|
public javax.net.ssl.SSLContext buildServerContext()
throws java.security.GeneralSecurityException,
java.io.IOException
java.security.GeneralSecurityException
java.io.IOException
public javax.net.ssl.SSLContext buildClientContext()
throws java.security.GeneralSecurityException,
java.io.IOException
java.security.GeneralSecurityException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||