Package org.xipki.scep.message
Class CertificateValidator.TrustAllCertValidator
- java.lang.Object
-
- org.xipki.scep.message.CertificateValidator.TrustAllCertValidator
-
- All Implemented Interfaces:
CertificateValidator
- Enclosing interface:
- CertificateValidator
public static class CertificateValidator.TrustAllCertValidator 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 TrustAllCertValidator()
-
Method Summary
All Methods Instance Methods Concrete 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
public boolean trustCertificate(org.xipki.security.X509Cert target, org.xipki.security.X509Cert[] otherCerts)Description copied from interface:CertificateValidatorWhether the target certificate can be trusted.- Specified by:
trustCertificatein interfaceCertificateValidator- 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.
-
-