Class TrustSelfSignedStrategy
- java.lang.Object
-
- com.github.tomakehurst.wiremock.http.ssl.TrustSelfSignedStrategy
-
- All Implemented Interfaces:
TrustStrategy
,org.apache.hc.core5.ssl.TrustStrategy
public class TrustSelfSignedStrategy extends java.lang.Object implements org.apache.hc.core5.ssl.TrustStrategy, TrustStrategy
-
-
Constructor Summary
Constructors Constructor Description TrustSelfSignedStrategy()
-
Method Summary
All Methods Instance Methods Concrete 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
public boolean isTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
- Specified by:
isTrusted
in interfaceTrustStrategy
- Specified by:
isTrusted
in interfaceorg.apache.hc.core5.ssl.TrustStrategy
-
isTrusted
public boolean isTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, java.net.Socket socket)
- Specified by:
isTrusted
in interfaceTrustStrategy
-
isTrusted
public boolean isTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, javax.net.ssl.SSLEngine engine)
- Specified by:
isTrusted
in interfaceTrustStrategy
-
-