public class DateValidityChecker extends java.lang.Object implements CertificateChecker
Constructor and Description |
---|
DateValidityChecker() |
Modifier and Type | Method and Description |
---|---|
void |
invoke(java.security.cert.X509Certificate cert,
GSIConstants.CertificateType certType)
Method that checks the time validity.
|
public void invoke(java.security.cert.X509Certificate cert, GSIConstants.CertificateType certType) throws java.security.cert.CertPathValidatorException
invoke
in interface CertificateChecker
cert
- The certificate to validate.certType
- The type of certificate to validate.java.security.cert.CertPathValidatorException
- If certificate has expired or is not yet valid.Copyright © 2012. All Rights Reserved.