Package io.jenkins.plugins.neuvector
Class BouncyCastleTrustStrategy
java.lang.Object
io.jenkins.plugins.neuvector.BouncyCastleTrustStrategy
- All Implemented Interfaces:
org.apache.http.conn.ssl.TrustStrategy,org.apache.http.ssl.TrustStrategy
public class BouncyCastleTrustStrategy
extends Object
implements org.apache.http.conn.ssl.TrustStrategy
A trust strategy that accepts self-signed certificates as trusted. Verification of all other
certificates is done by the trust manager configured in the SSL context.
- Since:
- 4.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.http.conn.ssl.TrustSelfSignedStrategy -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
public static final org.apache.http.conn.ssl.TrustSelfSignedStrategy INSTANCE
-
-
Constructor Details
-
BouncyCastleTrustStrategy
-
-
Method Details
-
isTrusted
- Specified by:
isTrustedin interfaceorg.apache.http.ssl.TrustStrategy- Throws:
CertificateException
-