java.lang.Object
javax.net.ssl.X509ExtendedTrustManager
nl.altindag.ssl.trustmanager.DummyX509ExtendedTrustManager
- All Implemented Interfaces:
TrustManager,X509TrustManager
NOTE:
Please don't use this class directly as it is part of the internal API. Class name and methods can be changed any time.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final X509Certificate[]private static final X509ExtendedTrustManagerprivate static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] certificates, String authType) voidcheckClientTrusted(X509Certificate[] certificates, String authType, Socket socket) voidcheckClientTrusted(X509Certificate[] certificates, String authType, SSLEngine sslEngine) voidcheckServerTrusted(X509Certificate[] certificates, String authType) voidcheckServerTrusted(X509Certificate[] certificates, String authType, Socket socket) voidcheckServerTrusted(X509Certificate[] certificates, String authType, SSLEngine sslEngine) static X509ExtendedTrustManager
-
Field Details
-
INSTANCE
-
EMPTY_CERTIFICATES
-
MISSING_IMPLEMENTATION
- See Also:
-
-
Constructor Details
-
DummyX509ExtendedTrustManager
private DummyX509ExtendedTrustManager()
-
-
Method Details
-
getInstance
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certificates, String authType) throws CertificateException - Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certificates, String authType, Socket socket) throws CertificateException - Specified by:
checkClientTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certificates, String authType, SSLEngine sslEngine) throws CertificateException - Specified by:
checkClientTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates, String authType) throws CertificateException - Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates, String authType, Socket socket) throws CertificateException - Specified by:
checkServerTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates, String authType, SSLEngine sslEngine) throws CertificateException - Specified by:
checkServerTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
getAcceptedIssuers
-