Package org.minidns.dane.java7
Class DaneExtendedTrustManager
- java.lang.Object
-
- javax.net.ssl.X509ExtendedTrustManager
-
- org.minidns.dane.java7.DaneExtendedTrustManager
-
- All Implemented Interfaces:
TrustManager
,X509TrustManager
public class DaneExtendedTrustManager extends X509ExtendedTrustManager
-
-
Constructor Summary
Constructors Constructor Description DaneExtendedTrustManager()
DaneExtendedTrustManager(X509TrustManager base)
DaneExtendedTrustManager(DaneVerifier verifier, X509TrustManager base)
DaneExtendedTrustManager(DnssecClient client)
DaneExtendedTrustManager(DnssecClient client, X509TrustManager base)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkClientTrusted(X509Certificate[] chain, String authType)
void
checkClientTrusted(X509Certificate[] chain, String authType, Socket socket)
void
checkClientTrusted(X509Certificate[] chain, String authType, SSLEngine engine)
void
checkServerTrusted(X509Certificate[] chain, String authType)
void
checkServerTrusted(X509Certificate[] chain, String authType, Socket socket)
void
checkServerTrusted(X509Certificate[] chain, String authType, SSLEngine engine)
X509Certificate[]
getAcceptedIssuers()
static void
inject()
static void
inject(DaneExtendedTrustManager trustManager)
-
-
-
Constructor Detail
-
DaneExtendedTrustManager
public DaneExtendedTrustManager()
-
DaneExtendedTrustManager
public DaneExtendedTrustManager(DnssecClient client)
-
DaneExtendedTrustManager
public DaneExtendedTrustManager(X509TrustManager base)
-
DaneExtendedTrustManager
public DaneExtendedTrustManager(DnssecClient client, X509TrustManager base)
-
DaneExtendedTrustManager
public DaneExtendedTrustManager(DaneVerifier verifier, X509TrustManager base)
-
-
Method Detail
-
inject
public static void inject()
-
inject
public static void inject(DaneExtendedTrustManager trustManager)
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType, Socket socket) throws CertificateException
- Specified by:
checkClientTrusted
in classX509ExtendedTrustManager
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType, Socket socket) throws CertificateException
- Specified by:
checkServerTrusted
in classX509ExtendedTrustManager
- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType, SSLEngine engine) throws CertificateException
- Specified by:
checkClientTrusted
in classX509ExtendedTrustManager
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType, SSLEngine engine) throws CertificateException
- Specified by:
checkServerTrusted
in classX509ExtendedTrustManager
- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
- Throws:
CertificateException
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
-
-