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 booleanisTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)booleanisTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, java.net.Socket socket)booleanisTrusted(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:
isTrustedin interfaceTrustStrategy- Specified by:
isTrustedin 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:
isTrustedin interfaceTrustStrategy
-
isTrusted
public boolean isTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, javax.net.ssl.SSLEngine engine)- Specified by:
isTrustedin interfaceTrustStrategy
-
-