public class Java13TrustManagerWrapper extends Object implements com.sun.net.ssl.X509TrustManager
| Modifier and Type | Field and Description |
|---|---|
private SSL |
ssl |
private TrustChain |
trustChain |
private com.sun.net.ssl.X509TrustManager |
trustManager |
| Constructor and Description |
|---|
Java13TrustManagerWrapper(com.sun.net.ssl.X509TrustManager m,
TrustChain tc,
SSL h) |
| Modifier and Type | Method and Description |
|---|---|
X509Certificate[] |
getAcceptedIssuers() |
boolean |
isClientTrusted(X509Certificate[] chain) |
boolean |
isServerTrusted(X509Certificate[] chain) |
private boolean |
test(boolean firstTest,
X509Certificate[] chain) |
private final com.sun.net.ssl.X509TrustManager trustManager
private final TrustChain trustChain
public Java13TrustManagerWrapper(com.sun.net.ssl.X509TrustManager m, TrustChain tc, SSL h)
public boolean isClientTrusted(X509Certificate[] chain)
isClientTrusted in interface com.sun.net.ssl.X509TrustManagerpublic boolean isServerTrusted(X509Certificate[] chain)
isServerTrusted in interface com.sun.net.ssl.X509TrustManagerpublic X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface com.sun.net.ssl.X509TrustManagerprivate boolean test(boolean firstTest, X509Certificate[] chain)