|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SSLSocketBuilderMBean
| Method Summary | |
|---|---|
void |
create()
create the service, do expensive operations etc |
javax.net.ServerSocketFactory |
createSSLServerSocketFactory()
Will create a SSLServerSocketFactory. |
javax.net.SocketFactory |
createSSLSocketFactory()
Will create a SSLSocketFactory. |
void |
destroy()
destroy the service, tear down |
java.lang.String |
getKeyManagementAlgorithm()
The algorithm for the key manager factory. |
java.lang.String |
getKeyStoreType()
The type to be used for the key store. |
java.lang.String |
getSecureSocketProtocol()
The protocol for the SSLContext. |
boolean |
getUseSSLServerSocketFactory()
Return whether SSLServerSocketFactory.getDefault() will be used or not. |
boolean |
getUseSSLSocketFactory()
Return whether SSLSocketFactory.getDefault() will be used or not. |
void |
setKeyManagementAlgorithm(java.lang.String keyManagementAlgorithm)
The algorithm for the key manager factory. |
void |
setKeyPassword(java.lang.String passphrase)
Sets the password to use for the keys within the key store. |
void |
setKeyStorePassword(java.lang.String passphrase)
Sets the password to use for the key store. |
void |
setKeyStoreType(java.lang.String keyStoreType)
The type to be used for the key store. |
void |
setKeyStoreURL(java.lang.String storeURL)
This is the url string to the key store to use. |
void |
setSecureSocketProtocol(java.lang.String secureSocketProtocol)
The protocol for the SSLContext. |
void |
setTrustStoreURL(java.lang.String storeURL)
This is the url string to the trust store to use. |
void |
setUseSSLServerSocketFactory(boolean shouldUse)
Will indicate if should use the SSLServerSocketFactory.getDefault() for getting the ServerSocketFactory to use (when calling createSSLServerSocketFactory()). |
void |
setUseSSLSocketFactory(boolean shouldUse)
Will indicate if should use the SSLSocketFactory.getDefault() for getting the SocketFactory to use (when calling createSSLSocketFactory()). |
void |
start()
start the service, create is already called |
void |
stop()
stop the service |
| Method Detail |
|---|
void create()
throws java.lang.Exception
java.lang.Exception
void start()
throws java.lang.Exception
java.lang.Exceptionvoid stop()
void destroy()
void setUseSSLServerSocketFactory(boolean shouldUse)
shouldUse - boolean getUseSSLServerSocketFactory()
void setUseSSLSocketFactory(boolean shouldUse)
shouldUse - boolean getUseSSLSocketFactory()
java.lang.String getSecureSocketProtocol()
void setSecureSocketProtocol(java.lang.String secureSocketProtocol)
java.lang.String getKeyManagementAlgorithm()
void setKeyManagementAlgorithm(java.lang.String keyManagementAlgorithm)
java.lang.String getKeyStoreType()
void setKeyStoreType(java.lang.String keyStoreType)
void setKeyStorePassword(java.lang.String passphrase)
passphrase - void setKeyPassword(java.lang.String passphrase)
passphrase -
javax.net.ServerSocketFactory createSSLServerSocketFactory()
throws java.io.IOException,
java.security.NoSuchAlgorithmException,
java.security.KeyStoreException,
java.security.cert.CertificateException,
java.security.UnrecoverableKeyException,
java.security.KeyManagementException
java.io.IOException
java.security.NoSuchAlgorithmException
java.security.KeyStoreException
java.security.cert.CertificateException
java.security.UnrecoverableKeyException
java.security.KeyManagementException
javax.net.SocketFactory createSSLSocketFactory()
throws java.io.IOException,
java.security.NoSuchAlgorithmException,
java.security.KeyStoreException,
java.security.cert.CertificateException,
java.security.KeyManagementException
java.io.IOException
java.security.NoSuchAlgorithmException
java.security.KeyStoreException
java.security.cert.CertificateException
java.security.KeyManagementException
void setKeyStoreURL(java.lang.String storeURL)
throws java.io.IOException
storeURL -
java.io.IOException
void setTrustStoreURL(java.lang.String storeURL)
throws java.io.IOException
storeURL -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||