Class CaCertValidator.PreprovisionedHashCaCertValidator

    • Constructor Detail

      • PreprovisionedHashCaCertValidator

        public PreprovisionedHashCaCertValidator​(org.xipki.security.HashAlgo hashAlgo,
                                                 java.util.Set<byte[]> hashValues)
    • Method Detail

      • isTrusted

        public boolean isTrusted​(org.xipki.security.X509Cert cert)
        Description copied from interface: CaCertValidator
        Whether the certificate can be trusted.
        Specified by:
        isTrusted in interface CaCertValidator
        Parameters:
        cert - Target certificate.
        Returns:
        whether the certificate is trusted.