Class BasicValidityPathChecker
java.lang.Object
se.swedenconnect.sigval.cert.validity.impl.BasicValidityPathChecker
- All Implemented Interfaces:
ValidityPathChecker
Checker of the path supporting the validity token (CRL or OCSP response)
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidverifyValidityStatusTrustPath(ValidationStatus validityStatus) Verify the trust path used to verify the validity data used to check the revocation status of an X.509 certificatevoidverifyValidityStatusTrustPath(ValidationStatus validityStatus, boolean singleThreaded)
-
Constructor Details
-
BasicValidityPathChecker
Constructor- Parameters:
crlCache- CRL cache
-
-
Method Details
-
verifyValidityStatusTrustPath
Verify the trust path used to verify the validity data used to check the revocation status of an X.509 certificate- Specified by:
verifyValidityStatusTrustPathin interfaceValidityPathChecker- Parameters:
validityStatus- result of certificate validity check- Throws:
RuntimeException- this exception must be thrown in all cases where trust in the validation result can't be verified
-
verifyValidityStatusTrustPath
public void verifyValidityStatusTrustPath(ValidationStatus validityStatus, boolean singleThreaded) throws RuntimeException - Throws:
RuntimeException
-