Interface TrustStrategy
-
- All Known Implementing Classes:
TrustEverythingStrategy
,TrustSelfSignedStrategy
,TrustSpecificHostsStrategy
public interface TrustStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
boolean
isTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, java.net.Socket socket)
boolean
isTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, javax.net.ssl.SSLEngine engine)
-
-
-
Method Detail
-
isTrusted
boolean isTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
-
isTrusted
boolean isTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, java.net.Socket socket)
-
isTrusted
boolean isTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, javax.net.ssl.SSLEngine engine)
-
-