Package org.xipki.scep.message
Interface CertificateValidator
-
- All Known Implementing Classes:
CertificateValidator.CollectionCertificateValidator,CertificateValidator.TrustAllCertValidator
public interface CertificateValidatorCertificate validator.- Author:
- Lijun Liao (xipki)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCertificateValidator.CollectionCertificateValidatorstatic classCertificateValidator.TrustAllCertValidator
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleantrustCertificate(org.xipki.security.X509Cert target, org.xipki.security.X509Cert[] otherCerts)Whether the target certificate can be trusted.
-
-
-
Method Detail
-
trustCertificate
boolean trustCertificate(org.xipki.security.X509Cert target, org.xipki.security.X509Cert[] otherCerts)Whether the target certificate can be trusted.- Parameters:
target- The certificate to be verified. Must not benull.otherCerts- Additional certificate that may be used. Could benull.- Returns:
- whether the target certificate is trusted.
-
-