|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SSLConfiguration
This interface represents an SSL Configuration. Users can call ClientSecurityConfigurationFactory.getSSLConfiguration() to get an instance of SSLConfiguration.
An SSL configuration contains the following properties:
Users are not recommended to implement this interface in case more methods are added in future releases.
ClientSecurityConfiguration.setSSLConfiguration(SSLConfiguration)
Method Summary | |
---|---|
boolean |
equals(SSLConfiguration config)
Checks two SSLConfiguration objects for equality. |
String |
getAlias()
Gets the SSL alias name for this SSL configuration. |
String |
getCertReqSubjectDN()
Gets the required subject DN in the peer certificate for this SSL configuration. |
String |
getContextProvider()
Gets the JSSE context provider for this SSL configuration. |
String |
getKeyStore()
Gets the key store file path name for this SSL configuration. |
String |
getKeyStorePassword()
Gets the password of the key store for this SSL configuration. |
String |
getKeyStoreType()
Gets the type of the key store for this SSL configuration. |
String |
getProtocol()
Gets the SSL protocol for this SSL configuration. |
String |
getTrustStore()
Gets the trust store file path name for this SSL configuration. |
String |
getTrustStorePassword()
Gets the password of the trust store for this SSL configuration. |
String |
getTrustStoreType()
Gets the type of the trust store for this SSL configuration. |
void |
setAlias(String alias)
Sets the SSL alias name for this SSL configuration. |
void |
setCertReqSubjectDN(String subjectDN)
Sets the required subject DN in the peer certificate for this SSL configuration. |
void |
setContextProvider(String contextProvider)
Sets the JSSE context provider for this SSL configuration. |
void |
setKeyStore(String keyStore)
Sets the key store file path name for this SSL configuration. |
void |
setKeyStorePassword(String keyStorePassword)
Sets the password of the key store for this SSL configuration. |
void |
setKeyStoreType(String keyStoreType)
Sets the type of key store for this SSL configuration. |
void |
setProtocol(String protocol)
Sets the SSL protocol for this SSL configuration. |
void |
setTrustStore(String trustStore)
Sets the trust store file path name for this SSL configuration. |
void |
setTrustStorePassword(String trustStorePassword)
Sets the password of the trust store for this SSL configuration. |
void |
setTrustStoreType(String trustStoreType)
Sets the type of the trust store for this SSL configuration. |
Method Detail |
---|
String getAlias()
setAlias(String)
method of this interface or null
if
setAlias
was not previously called for this object.setAlias(String)
void setAlias(String alias)
alias
- the SSL alias nameString getProtocol()
setProtocol(String)
method of this interface or null
if
setProtocol
was not previously called for this object.setProtocol(String)
void setProtocol(String protocol)
An SSL protocol can be SSL, TLS, SSLv2, SSLv3, etc., depending on which JDK is being used.
protocol
- the SSL protocolString getContextProvider()
setContextProvider(String)
method of
this interface or null
if setContextProvider
was not
previously called for this object.setContextProvider(String)
void setContextProvider(String contextProvider)
A JSSE context provider can be SunJSSE, IBMJSSE2, IBMJSSE, etc., depending on which JDK is being used.
contextProvider
- the SSL context providerString getKeyStore()
setKeyStore(String)
method of
this interface or null
if setKeyStore
was not
previously called for this object.setKeyStore(String)
void setKeyStore(String keyStore)
A keystore maintains the private key of an entity, as well as its corresponding public key certificates.
keyStore
- the file path name of a keystore file
IllegalArgumentException
- if keyStore is null
or a zero length StringsetKeyStorePassword(String)
,
setKeyStoreType(String)
String getKeyStorePassword()
setKeyStorePassword(String)
method of
this interface or null
if setKeyStorePassword
was not
previously called for this object.setKeyStorePassword(String)
void setKeyStorePassword(String keyStorePassword)
keyStorePassword
- the password to access the keystoresetKeyStore(String)
,
setKeyStoreType(String)
String getKeyStoreType()
setKeyStoreType(String)
method of
this interface or null
if setKeyStoreType
was not
previously called for this object.setKeyStoreType(String)
void setKeyStoreType(String keyStoreType)
A key store type can be JKS, JCEK, etc.
keyStoreType
- the type of the keystoresetKeyStore(String)
,
setKeyStorePassword(String)
String getTrustStore()
setTrustStore(String)
method of
this interface or null
if setTrustStore
was not
previously called for this object.setTrustStore(String)
void setTrustStore(String trustStore)
A truststore contains certificates for the signers that are trusted in the environment where the truststore is used.
trustStore
- the file path name to a trust store
IllegalArgumentException
- if trustStore is null
or a zero length StringsetTrustStorePassword(String)
,
setTrustStoreType(String)
String getTrustStorePassword()
setTrustStorePassword(String)
method of
this interface or null
if setTrustStorePassword
was not
previously called for this object.setTrustStorePassword(String)
void setTrustStorePassword(String trustStorePassword)
trustStorePassword
- the password to access the trust storesetTrustStore(String)
,
setTrustStoreType(String)
String getTrustStoreType()
setTrustStoreType(String)
method of
this interface or null
if setTrustStoreType
was not
previously called for this object.setTrustStoreType(String)
void setTrustStoreType(String trustStoreType)
A trust store type can be JKS, JCEK, etc.
trustStoreType
- the type of the trust storesetTrustStore(String)
,
setTrustStorePassword(String)
String getCertReqSubjectDN()
setCertReqSubjectDN(String)
method of
this interface or null
if setCertReqSubjectDN
was not
previously called for this object.void setCertReqSubjectDN(String subjectDN)
A connection will be opened only if the peer certficate's subject DN matches this value. Otherwise, the connection will be closed.
subjectDN
- the required subject DN in the peer certificateboolean equals(SSLConfiguration config)
config
- the SSLConfiguration object we are testing for equality
with this object.
true
if both SSLConfiguration objects are equivalent.
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |