public class ClientTrustManagerFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CA_CERT_PATH |
static String |
CERT_REQUIRED_KEY |
Constructor and Description |
---|
ClientTrustManagerFactory() |
Modifier and Type | Method and Description |
---|---|
protected X509Certificate[] |
getAcceptedIssuers() |
TrustManager[] |
getManager(VHostItem vHost) |
TrustManager[] |
getManager(XMPPIOService<Object> serv) |
boolean |
isActive() |
boolean |
isTlsNeedClientAuthEnabled(VHostItem vhost) |
boolean |
isTlsWantClientAuthEnabled(VHostItem vhost) |
protected TrustManager[] |
loadTrustedCert(String caCertFile) |
void |
setProperties(Map<String,Object> props) |
public static final String CA_CERT_PATH
public static final String CERT_REQUIRED_KEY
protected X509Certificate[] getAcceptedIssuers()
public TrustManager[] getManager(VHostItem vHost)
public TrustManager[] getManager(XMPPIOService<Object> serv)
public boolean isActive()
public boolean isTlsNeedClientAuthEnabled(VHostItem vhost)
public boolean isTlsWantClientAuthEnabled(VHostItem vhost)
protected TrustManager[] loadTrustedCert(String caCertFile)
Copyright © 2018 "Tigase, Inc.". All rights reserved.