public class KeystoreSSLConfig extends Object implements SSLConfig, Serializable
| Constructor and Description |
|---|
KeystoreSSLConfig(File pfxFile,
String password) |
KeystoreSSLConfig(KeyStore keystore,
String keystorePassword) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
SSLContext |
getSSLContext()
Get the SSL Context out of the keystore.
|
int |
hashCode() |
String |
toString() |
public KeystoreSSLConfig(KeyStore keystore, String keystorePassword)
keystore - a KeyStorekeystorePassword - key passwordpublic KeystoreSSLConfig(File pfxFile, String password) throws KeyStoreException, IOException, CertificateException, NoSuchAlgorithmException
pfxFile - a PKCS12 filepassword - Password for the keystoreKeyStoreExceptionIOExceptionCertificateExceptionNoSuchAlgorithmExceptionpublic SSLContext getSSLContext() throws KeyManagementException, UnrecoverableKeyException, NoSuchAlgorithmException, KeyStoreException
getSSLContext in interface SSLConfigKeyManagementExceptionUnrecoverableKeyExceptionNoSuchAlgorithmExceptionKeyStoreExceptionCopyright © 2017. All Rights Reserved.