Package org.xipki.scep.message
Class CertificateValidator.CollectionCertificateValidator
- java.lang.Object
-
- org.xipki.scep.message.CertificateValidator.CollectionCertificateValidator
-
- All Implemented Interfaces:
CertificateValidator
- Enclosing interface:
- CertificateValidator
public static class CertificateValidator.CollectionCertificateValidator extends java.lang.Object implements CertificateValidator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.xipki.scep.message.CertificateValidator
CertificateValidator.CollectionCertificateValidator, CertificateValidator.TrustAllCertValidator
-
-
Constructor Summary
Constructors Constructor Description CollectionCertificateValidator(java.util.Collection<org.xipki.security.X509Cert> certs)CollectionCertificateValidator(org.xipki.security.X509Cert cert)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleantrustCertificate(org.xipki.security.X509Cert signerCert, org.xipki.security.X509Cert[] otherCerts)Whether the target certificate can be trusted.
-
-
-
Method Detail
-
trustCertificate
public boolean trustCertificate(org.xipki.security.X509Cert signerCert, org.xipki.security.X509Cert[] otherCerts)Description copied from interface:CertificateValidatorWhether the target certificate can be trusted.- Specified by:
trustCertificatein interfaceCertificateValidator- Parameters:
signerCert- The certificate to be verified. Must not benull.otherCerts- Additional certificate that may be used. Could benull.- Returns:
- whether the target certificate is trusted.
-
-