CertificateChecker
public class DateValidityChecker extends Object implements CertificateChecker
Constructor | Description |
---|---|
DateValidityChecker() |
Modifier and Type | Method | 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 © 2018. All rights reserved.