public interface KeystoreManager
Based on http://svn.apache.org/repos/asf/geronimo/trunk/modules/management/ src/java/org/apache/geronimo/management/geronimo/KeystoreManager.java
| Modifier and Type | Interface and Description |
|---|---|
static class |
KeystoreManager.Proxy |
| Modifier and Type | Method and Description |
|---|---|
javax.net.ssl.SSLContext |
createSSLContext(java.lang.String provider,
java.lang.String protocol,
java.lang.String algorithm,
java.lang.String keyStore,
java.lang.String keyAlias,
java.lang.String trustStore)
Gets a SSLContext using one Keystore to access the private key
and another to provide the list of trusted certificate authorities.
|
javax.net.ssl.SSLSocketFactory |
createSSLFactory(java.lang.String provider,
java.lang.String protocol,
java.lang.String algorithm,
java.lang.String keyStore,
java.lang.String keyAlias,
java.lang.String trustStore)
Gets a SocketFactory using one Keystore to access the private key
and another to provide the list of trusted certificate authorities.
|
javax.net.ssl.SSLServerSocketFactory |
createSSLServerFactory(java.lang.String provider,
java.lang.String protocol,
java.lang.String algorithm,
java.lang.String keyStore,
java.lang.String keyAlias,
java.lang.String trustStore)
Gets a ServerSocketFactory using one Keystore to access the private key
and another to provide the list of trusted certificate authorities.
|
KeystoreInstance |
getKeystore(java.lang.String name) |
KeystoreInstance getKeystore(java.lang.String name)
javax.net.ssl.SSLContext createSSLContext(java.lang.String provider,
java.lang.String protocol,
java.lang.String algorithm,
java.lang.String keyStore,
java.lang.String keyAlias,
java.lang.String trustStore)
throws java.security.GeneralSecurityException
Gets a SSLContext using one Keystore to access the private key and another to provide the list of trusted certificate authorities.
provider - protocol - The SSL protocol to usealgorithm - The SSL algorithm to usekeyStore - The key keystore name as provided by listKeystores. The
KeystoreInstance for this keystore must be unlocked.keyAlias - The name of the private key in the keystore. The
KeystoreInstance for this keystore must have unlocked
this key.trustStore - The trust keystore name as provided by listKeystores.
The KeystoreInstance for this keystore must have
unlocked this key.KeystoreIsLocked - Occurs when the requested key keystore cannot
be used because it has not been unlocked.KeyIsLocked - Occurs when the requested private key in the key
keystore cannot be used because it has not been
unlocked.java.security.GeneralSecurityExceptionjavax.net.ssl.SSLServerSocketFactory createSSLServerFactory(java.lang.String provider,
java.lang.String protocol,
java.lang.String algorithm,
java.lang.String keyStore,
java.lang.String keyAlias,
java.lang.String trustStore)
throws java.security.GeneralSecurityException
Gets a ServerSocketFactory using one Keystore to access the private key and another to provide the list of trusted certificate authorities.
provider - protocol - The SSL protocol to usealgorithm - The SSL algorithm to usekeyStore - The key keystore name as provided by listKeystores. The
KeystoreInstance for this keystore must be unlocked.keyAlias - The name of the private key in the keystore. The
KeystoreInstance for this keystore must have unlocked
this key.trustStore - The trust keystore name as provided by listKeystores.
The KeystoreInstance for this keystore must have
unlocked this key.KeystoreIsLocked - Occurs when the requested key keystore cannot
be used because it has not been unlocked.KeyIsLocked - Occurs when the requested private key in the key
keystore cannot be used because it has not been
unlocked.java.security.GeneralSecurityExceptionjavax.net.ssl.SSLSocketFactory createSSLFactory(java.lang.String provider,
java.lang.String protocol,
java.lang.String algorithm,
java.lang.String keyStore,
java.lang.String keyAlias,
java.lang.String trustStore)
throws java.security.GeneralSecurityException
Gets a SocketFactory using one Keystore to access the private key and another to provide the list of trusted certificate authorities.
provider - The SSL provider to use, or null for the defaultprotocol - The SSL protocol to usealgorithm - The SSL algorithm to usekeyStore - The key keystore name as provided by listKeystores. The
KeystoreInstance for this keystore must be unlocked.keyAlias - The name of the private key in the keystore. The
KeystoreInstance for this keystore must have unlocked
this key.trustStore - The trust keystore name as provided by listKeystores.
The KeystoreInstance for this keystore must have
unlocked this key.KeystoreIsLocked - Occurs when the requested key keystore cannot
be used because it has not been unlocked.KeyIsLocked - Occurs when the requested private key in the key
keystore cannot be used because it has not been
unlocked.java.security.GeneralSecurityExceptionCopyright © 2005-2014 FuseSource. All Rights Reserved.