Package org.xipki.scep.client
Class CaCertValidator.CachingCertificateValidator
- java.lang.Object
-
- org.xipki.scep.client.CaCertValidator.CachingCertificateValidator
-
- All Implemented Interfaces:
CaCertValidator
- Enclosing interface:
- CaCertValidator
public static final class CaCertValidator.CachingCertificateValidator extends java.lang.Object implements CaCertValidator
CA certificate validator with caching certificates.
-
-
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 CachingCertificateValidator(CaCertValidator delegate)
-
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
-
CachingCertificateValidator
public CachingCertificateValidator(CaCertValidator delegate)
-
-
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.
-
-