|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.iplanet.trustbase.xurl.HttpsConfiguration
HttpsConfiguration is a static initialiser class - it must be initialised before
any HTTPS/SSL transactions can take place within the CSCEngine. It is initialised
by creating an instance and then the store and certificates you want the SSL Session
to use.
For Example a typical initialisation would be
HttpsConfiguration httpConfig = HttpsConfiguration.getInstance (); httpConfig.setTokenKeyStore ( tokenKeyStore ); * httpConfig.setClientCertAlias ( "Server-Cert" ); * httpConfig.setServerCertAlias ( null );
Method Summary | |
com.iplanet.trustbase.security.store.ssl.SSLClientCertSelector |
getClientCertSelector()
Gets The Client Cert Selector used by the SSL Context. |
static HttpsConfiguration |
getInstance()
Gets An instance of HttpsConfiguration. |
java.lang.String |
getServerCertAlias()
Gets The Server Cert Alias to use when conducting transactions as a server. |
TokenKeyStore |
getTokenKeyStore()
Gets The TokenKeyStore associated with this SSL Configuration. |
void |
setClientCert(java.security.cert.X509Certificate clientCert)
Sets the client cert selector to be the issuerName and SerialNumber of the Certificate provided. |
void |
setClientCertAlias(java.lang.String clientAlias)
Sets the client Cert Selector to be used by the SSL Context. |
void |
setClientCertSelector(com.iplanet.trustbase.security.store.ssl.SSLClientCertSelector clientCertSelector)
A Convenience method to set the client Cert selector using a certificate name. |
void |
setServerCertAlias(java.lang.String alias)
Sets the server certificate alias. |
void |
setTokenKeyStore(TokenKeyStore store)
Sets the TokenKeyStore associated with this SSL Configuration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static HttpsConfiguration getInstance()
public TokenKeyStore getTokenKeyStore()
public com.iplanet.trustbase.security.store.ssl.SSLClientCertSelector getClientCertSelector()
public java.lang.String getServerCertAlias()
public void setTokenKeyStore(TokenKeyStore store)
public void setClientCertAlias(java.lang.String clientAlias)
public void setClientCert(java.security.cert.X509Certificate clientCert)
public void setClientCertSelector(com.iplanet.trustbase.security.store.ssl.SSLClientCertSelector clientCertSelector)
public void setServerCertAlias(java.lang.String alias)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |