|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.extras.io.PEMSSLContextContainer
public class PEMSSLContextContainer
Class description
| Field Summary | |
|---|---|
protected static Logger |
log
|
static String |
PEM_PRIVATE_PWD_KEY
Field description |
static String |
PEM_PRIVATE_PWD_VAL
Field description |
| Fields inherited from interface tigase.io.SSLContextContainerIfc |
|---|
ALLOW_INVALID_CERTS_KEY, ALLOW_INVALID_CERTS_VAL, ALLOW_SELF_SIGNED_CERTS_KEY, ALLOW_SELF_SIGNED_CERTS_VAL, CERT_ALIAS_KEY, CERT_SAVE_TO_DISK_KEY, DEFAULT_DOMAIN_CERT_KEY, DEFAULT_DOMAIN_CERT_VAL, JKS_KEYSTORE_FILE_KEY, JKS_KEYSTORE_FILE_VAL, JKS_KEYSTORE_PWD_KEY, JKS_KEYSTORE_PWD_VAL, PEM_CERTIFICATE_KEY, SERVER_CERTS_LOCATION_KEY, SERVER_CERTS_LOCATION_VAL, SSL_CONTAINER_CLASS_KEY, SSL_CONTAINER_CLASS_VAL, TRUSTED_CERTS_DIR_KEY, TRUSTED_CERTS_DIR_VAL, TRUSTSTORE_FILE_KEY, TRUSTSTORE_FILE_VAL, TRUSTSTORE_PWD_KEY, TRUSTSTORE_PWD_VAL |
| Constructor Summary | |
|---|---|
PEMSSLContextContainer()
Constructs ... |
|
| Method Summary | |
|---|---|
void |
addCertificates(Map<String,String> params)
|
SSLContext |
getSSLContext(String protocol,
String hostname)
|
KeyStore |
getTrustStore()
Method description |
void |
init(Map<String,Object> params)
|
static void |
main(String[] args)
Method description |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Logger log
public static final String PEM_PRIVATE_PWD_KEY
public static final String PEM_PRIVATE_PWD_VAL
| Constructor Detail |
|---|
public PEMSSLContextContainer()
| Method Detail |
|---|
public static void main(String[] args)
throws Exception
args -
Exceptionpublic void addCertificates(Map<String,String> params)
addCertificates in interface tigase.io.SSLContextContainerIfcparams -
public SSLContext getSSLContext(String protocol,
String hostname)
getSSLContext in interface tigase.io.SSLContextContainerIfcprotocol - hostname -
public KeyStore getTrustStore()
getTrustStore in interface tigase.io.SSLContextContainerIfcpublic void init(Map<String,Object> params)
init in interface tigase.io.SSLContextContainerIfcparams -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||