Class CertificateValidator.TrustAllCertValidator

    • Constructor Detail

      • TrustAllCertValidator

        public TrustAllCertValidator()
    • Method Detail

      • trustCertificate

        public boolean trustCertificate​(org.xipki.security.X509Cert target,
                                        org.xipki.security.X509Cert[] otherCerts)
        Description copied from interface: CertificateValidator
        Whether the target certificate can be trusted.
        Specified by:
        trustCertificate in interface CertificateValidator
        Parameters:
        target - The certificate to be verified. Must not be null.
        otherCerts - Additional certificate that may be used. Could be null.
        Returns:
        whether the target certificate is trusted.