com.ibm.wsspi.ssl
Interface KeyManagerExtendedInfo
-
public interface KeyManagerExtendedInfo
KeyManager Extended Info Interface. This interface is extended by custom Key Managers which need information about the current SSL configuration to make decisions about whether to change the key information.
- Since:
- WAS 6.1
- Version:
- 1.0
- See Also:
com.ibm.websphere.ssl.JSSEHelper
-
-
Method Summary
Methods Modifier and Type Method and Description void
setCustomProperties(java.util.Properties customProperties)
Method called by WebSphere Application Server runtime to set the custom properties configured for the custom KeyManager.void
setDefaultX509KeyManager(javax.net.ssl.X509KeyManager defaultX509KeyManager)
Method called by WebSphere Application Server runtime to set the default X509KeyManager created by the IbmX509 KeyManagerFactory using the KeyStore information present in this SSL configuration.void
setKeyStore(java.security.KeyStore keyStore)
Method called by WebSphere Application Server runtime to set the SSL KeyStore used for this connection.void
setKeyStoreClientAlias(java.lang.String clientAlias)
Method called by WebSphere Application Server runtime to set the SSL KeyStore certificate alias configured for use by client configurations.void
setKeyStoreServerAlias(java.lang.String serverAlias)
Method called by WebSphere Application Server runtime to set the SSL KeyStore certificate alias configured for use by server configurations.void
setSSLConfig(java.util.Properties config)
Method called by WebSphere Application Server runtime to set the SSL configuration properties being used for this connection.
-
-
-
Method Detail
-
setCustomProperties
void setCustomProperties(java.util.Properties customProperties)
Method called by WebSphere Application Server runtime to set the custom properties configured for the custom KeyManager.- Parameters:
java.util.Properties
- - contains the custom properties configured.
-
setSSLConfig
void setSSLConfig(java.util.Properties config)
Method called by WebSphere Application Server runtime to set the SSL configuration properties being used for this connection.- Parameters:
java.util.Properties
- - contains a property for the SSL configuration.
-
setDefaultX509KeyManager
void setDefaultX509KeyManager(javax.net.ssl.X509KeyManager defaultX509KeyManager)
Method called by WebSphere Application Server runtime to set the default X509KeyManager created by the IbmX509 KeyManagerFactory using the KeyStore information present in this SSL configuration. This allows some delegation to the default IbmX509 KeyManager to occur.- Parameters:
javax.net.ssl.KeyManager
- defaultX509KeyManager - default IbmX509 key manager for delegation
-
setKeyStore
void setKeyStore(java.security.KeyStore keyStore)
Method called by WebSphere Application Server runtime to set the SSL KeyStore used for this connection.- Parameters:
java.security.KeyStore
- - the KeyStore currently configured
-
setKeyStoreServerAlias
void setKeyStoreServerAlias(java.lang.String serverAlias)
Method called by WebSphere Application Server runtime to set the SSL KeyStore certificate alias configured for use by server configurations. This method is only called when the alias is configured using the com.ibm.ssl.keyStoreServerAlias property.- Parameters:
String
- - the KeyStore server certificate alias currently configured
-
setKeyStoreClientAlias
void setKeyStoreClientAlias(java.lang.String clientAlias)
Method called by WebSphere Application Server runtime to set the SSL KeyStore certificate alias configured for use by client configurations. This method is only called when the alias is configured using the com.ibm.ssl.keyStoreClientAlias property.- Parameters:
String
- - the KeyStore client certificate alias currently configured
-
-