Package org.xipki.scep.client
Class CaCertValidator.PreprovisionedHashCaCertValidator
- java.lang.Object
-
- org.xipki.scep.client.CaCertValidator.PreprovisionedHashCaCertValidator
-
- All Implemented Interfaces:
CaCertValidator
- Enclosing interface:
- CaCertValidator
public static final class CaCertValidator.PreprovisionedHashCaCertValidator extends Object implements CaCertValidator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.xipki.scep.client.CaCertValidator
CaCertValidator.CachingCertificateValidator, CaCertValidator.PreprovisionedCaCertValidator, CaCertValidator.PreprovisionedHashCaCertValidator
-
-
Constructor Summary
Constructors Constructor Description PreprovisionedHashCaCertValidator(org.xipki.security.HashAlgo hashAlgo, Set<byte[]> hashValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisTrusted(org.xipki.security.X509Cert cert)Whether the certificate can be trusted.
-
-
-
Constructor Detail
-
PreprovisionedHashCaCertValidator
public PreprovisionedHashCaCertValidator(org.xipki.security.HashAlgo hashAlgo, Set<byte[]> hashValues)
-
-
Method Detail
-
isTrusted
public boolean isTrusted(org.xipki.security.X509Cert cert)
Description copied from interface:CaCertValidatorWhether the certificate can be trusted.- Specified by:
isTrustedin interfaceCaCertValidator- Parameters:
cert- Target certificate.- Returns:
- whether the certificate is trusted.
-
-