public class DynamicX509TrustManager extends Object implements X509TrustManager
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] x509Certificates,
String s) |
void |
checkServerTrusted(X509Certificate[] x509Certificates,
String s)
Checks the validity of passed x509Certificate certificate chain
|
X509Certificate[] |
getAcceptedIssuers() |
static DynamicX509TrustManager |
getInstance() |
public static DynamicX509TrustManager getInstance() throws Exception
Exception
public void checkClientTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException
checkClientTrusted
in interface X509TrustManager
CertificateException
public void checkServerTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException
checkServerTrusted
in interface X509TrustManager
x509Certificates
- s
- CertificateException
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface X509TrustManager
Copyright © 2019 WSO2. All rights reserved.