Class BinaryCertChainValidator

java.lang.Object
eu.emi.security.authn.x509.helpers.BinaryCertChainValidator
All Implemented Interfaces:
X509CertChainValidator, X509CertChainValidatorExt

public class BinaryCertChainValidator extends Object implements X509CertChainValidatorExt
A simplistic X509CertChainValidator implementation which always fails or accepts certificates, basing on the constructor argument. Useful for tests and insecure setups (e.g. SSL client that wants SSL encryption but do not use SSL authentication).
Author:
K. Benedyczak
  • Constructor Details

    • BinaryCertChainValidator

      public BinaryCertChainValidator(boolean acceptAll)
      Parameters:
      acceptAll - if true then all validations will succeed. If false all will fail.
  • Method Details