Class RelaxedTrustStrategy
java.lang.Object
org.apache.maven.wagon.shared.http.RelaxedTrustStrategy
- All Implemented Interfaces:
org.apache.http.conn.ssl.TrustStrategy
,org.apache.http.ssl.TrustStrategy
Relaxed X509 certificate trust manager: can ignore invalid certificate date.
- Since:
- 2.0
- Author:
- Olivier Lamy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isTrusted
(X509Certificate[] certificates, String authType)
-
Constructor Details
-
RelaxedTrustStrategy
public RelaxedTrustStrategy(boolean ignoreSSLValidityDates)
-
-
Method Details
-
isTrusted
public boolean isTrusted(X509Certificate[] certificates, String authType) throws CertificateException - Specified by:
isTrusted
in interfaceorg.apache.http.ssl.TrustStrategy
- Throws:
CertificateException
-