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