| org.apache.servicemix.jbi.security.keystore.KeystoreManager
All known Subclasses: org.apache.servicemix.jbi.security.keystore.impl.BaseKeystoreManager,
KeystoreManager | public interface KeystoreManager (Code) | | Based on http://svn.apache.org/repos/asf/geronimo/trunk/modules/management/
src/java/org/apache/geronimo/management/geronimo/KeystoreManager.java
|
Method Summary | |
SSLSocketFactory | createSSLFactory(String provider, String protocol, String algorithm, String keyStore, String keyAlias, String trustStore) Gets a SocketFactory using one Keystore to access the private key
and another to provide the list of trusted certificate authorities.
Parameters: provider - The SSL provider to use, or null for the default Parameters: protocol - The SSL protocol to use Parameters: algorithm - The SSL algorithm to use Parameters: keyStore - The key keystore name as provided by listKeystores. | SSLServerSocketFactory | createSSLServerFactory(String provider, String protocol, String algorithm, String keyStore, String keyAlias, String trustStore) Gets a ServerSocketFactory using one Keystore to access the private key
and another to provide the list of trusted certificate authorities.
Parameters: provider - Parameters: protocol - The SSL protocol to use Parameters: algorithm - The SSL algorithm to use Parameters: keyStore - The key keystore name as provided by listKeystores. | KeystoreInstance | getKeystore(String name) |
createSSLFactory | SSLSocketFactory createSSLFactory(String provider, String protocol, String algorithm, String keyStore, String keyAlias, String trustStore) throws GeneralSecurityException(Code) | | Gets a SocketFactory using one Keystore to access the private key
and another to provide the list of trusted certificate authorities.
Parameters: provider - The SSL provider to use, or null for the default Parameters: protocol - The SSL protocol to use Parameters: algorithm - The SSL algorithm to use Parameters: keyStore - The key keystore name as provided by listKeystores. TheKeystoreInstance for this keystore must be unlocked. Parameters: keyAlias - The name of the private key in the keystore. TheKeystoreInstance for this keystore must have unlockedthis key. Parameters: trustStore - The trust keystore name as provided by listKeystores.The KeystoreInstance for this keystore must haveunlocked this key. Parameters: loader - The class loader used to resolve factory classes. throws: KeystoreIsLocked - Occurs when the requested key keystore cannotbe used because it has not been unlocked. throws: KeyIsLocked - Occurs when the requested private key in the keykeystore cannot be used because it has not beenunlocked. throws: GeneralSecurityException - |
createSSLServerFactory | SSLServerSocketFactory createSSLServerFactory(String provider, String protocol, String algorithm, String keyStore, String keyAlias, String trustStore) throws GeneralSecurityException(Code) | | Gets a ServerSocketFactory using one Keystore to access the private key
and another to provide the list of trusted certificate authorities.
Parameters: provider - Parameters: protocol - The SSL protocol to use Parameters: algorithm - The SSL algorithm to use Parameters: keyStore - The key keystore name as provided by listKeystores. TheKeystoreInstance for this keystore must be unlocked. Parameters: keyAlias - The name of the private key in the keystore. TheKeystoreInstance for this keystore must have unlockedthis key. Parameters: trustStore - The trust keystore name as provided by listKeystores.The KeystoreInstance for this keystore must haveunlocked this key. Parameters: loader - The class loader used to resolve factory classes. throws: KeystoreIsLocked - Occurs when the requested key keystore cannotbe used because it has not been unlocked. throws: KeyIsLocked - Occurs when the requested private key in the keykeystore cannot be used because it has not beenunlocked. |
|
|