|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SSLSecurityWrapper
This interface defines the methods needed to contain SSL security options like private key, client certificate, etc. In context of this project different security options may be needed for either the IdP or the WSP.
| Method Summary | |
|---|---|
org.apache.http.conn.ssl.SSLSocketFactory |
getSSLSocketFactory()
Get an instance of SSL socket factory based on the supplied credentials. |
void |
setSSLClientKeystore(String ks,
String pass)
Set the credentials for client TSL certificate authentication |
void |
setSSLClientPrivateKeyAndCert(String pkFile,
String certFile)
Set the credentials for client TSL certificate authentication. |
void |
setSSLServerPublicKeys(String encodedKeys)
Set the public keys of server to trust. |
void |
setSSLTrustStore(String ks,
String pass)
Set the KeyStore of server certificates to trust. |
| Method Detail |
|---|
void setSSLClientPrivateKeyAndCert(String pkFile,
String certFile)
pkFile - - name of the file containing the private keycertFile - - name of the file containing the certificate
void setSSLClientKeystore(String ks,
String pass)
ks - File name of a Java KeyStore containing the private key and certificatepass - Password for the Java KeyStore
void setSSLTrustStore(String ks,
String pass)
ks - Java KeyStore containing certificates to trustpass - Password of the KeyStorevoid setSSLServerPublicKeys(String encodedKeys)
encodedKeys - Base64-encoded public key(s)org.apache.http.conn.ssl.SSLSocketFactory getSSLSocketFactory()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||