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.X509TrustManager
public boolean isServerTrusted(X509Certificate[] chain)
isServerTrusted
in interface com.sun.net.ssl.X509TrustManager
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface com.sun.net.ssl.X509TrustManager
private boolean test(boolean firstTest, X509Certificate[] chain)