public class CelleryTrustManager extends Object implements X509TrustManager
| Modifier and Type | Field and Description |
|---|---|
static String |
TRUST_CERTS_DEFAULT_LOCATION |
static String |
TRUST_CERTS_LOCATION_ENV |
String |
trustCertsLocation |
| Constructor and Description |
|---|
CelleryTrustManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] x509Certificates,
String s) |
void |
checkServerTrusted(X509Certificate[] x509Certificates,
String s) |
X509Certificate[] |
getAcceptedIssuers() |
public static final String TRUST_CERTS_DEFAULT_LOCATION
public static final String TRUST_CERTS_LOCATION_ENV
public String trustCertsLocation
public CelleryTrustManager()
throws CelleryCellSTSException
CelleryCellSTSExceptionpublic void checkClientTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException
checkClientTrusted in interface X509TrustManagerCertificateExceptionpublic void checkServerTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException
checkServerTrusted in interface X509TrustManagerCertificateExceptionpublic X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerCopyright © 2019 WSO2. All rights reserved.