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 Details

    • INSTANCE

      public static final org.apache.http.conn.ssl.TrustSelfSignedStrategy INSTANCE
  • Constructor Details

    • BouncyCastleTrustStrategy

      public BouncyCastleTrustStrategy(String userCert)
  • Method Details