public class HotSwappableX509ExtendedTrustManager extends X509ExtendedTrustManager
TrustManagerUtils
which provides the same functionality
while it has a stable API because it is part of the public API.Constructor and Description |
---|
HotSwappableX509ExtendedTrustManager(X509ExtendedTrustManager trustManager) |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType) |
void |
checkClientTrusted(X509Certificate[] chain,
String authType,
Socket socket) |
void |
checkClientTrusted(X509Certificate[] chain,
String authType,
SSLEngine sslEngine) |
void |
checkServerTrusted(X509Certificate[] chain,
String authType) |
void |
checkServerTrusted(X509Certificate[] chain,
String authType,
Socket socket) |
void |
checkServerTrusted(X509Certificate[] chain,
String authType,
SSLEngine sslEngine) |
X509Certificate[] |
getAcceptedIssuers() |
void |
setTrustManager(X509ExtendedTrustManager trustManager) |
public HotSwappableX509ExtendedTrustManager(X509ExtendedTrustManager trustManager)
public void checkClientTrusted(X509Certificate[] chain, String authType, Socket socket) throws CertificateException
checkClientTrusted
in class X509ExtendedTrustManager
CertificateException
public void checkClientTrusted(X509Certificate[] chain, String authType, SSLEngine sslEngine) throws CertificateException
checkClientTrusted
in class X509ExtendedTrustManager
CertificateException
public void checkServerTrusted(X509Certificate[] chain, String authType, Socket socket) throws CertificateException
checkServerTrusted
in class X509ExtendedTrustManager
CertificateException
public void checkServerTrusted(X509Certificate[] chain, String authType, SSLEngine sslEngine) throws CertificateException
checkServerTrusted
in class X509ExtendedTrustManager
CertificateException
public void setTrustManager(X509ExtendedTrustManager trustManager)
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
CertificateException
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
CertificateException
public X509Certificate[] getAcceptedIssuers()
Copyright © 2021. All rights reserved.