Interface ValidationAlerter
- All Known Implementing Classes:
SignatureValidationAlerter
public interface ValidationAlerter
This class used
eu.europa.esig.dss.spi.validation.ValidationContext
to perform validation and
executes alerts based on the validation result.-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method verifies if all POE (timestamp tokens) are covered by a revocation data.void
This method verifies if all processed certificates have a revocation data.void
This method verifies whether for all signature's certificate chain certificates there is a fresh revocation data, after the earliest available timestamp token production time.void
This method verifies recursively whether none of the signature's certificate chain certificates are revoked.void
This method verifies whether all signatures added to the ValidationContext are not yet expired.void
This method verifies if all processed timestamps are valid and intact.void
assertCertificateNotRevoked
(CertificateToken certificateToken) This method verifies if the certificate is not revoked.
-
Method Details
-
assertAllRequiredRevocationDataPresent
void assertAllRequiredRevocationDataPresent()This method verifies if all processed certificates have a revocation data. The behavior of the method is configured withCertificateVerifier.setAlertOnMissingRevocationData(eu.europa.esig.dss.alert.StatusAlert)
-
assertAllPOECoveredByRevocationData
void assertAllPOECoveredByRevocationData()This method verifies if all POE (timestamp tokens) are covered by a revocation data. The behavior of the method is configured withCertificateVerifier.setAlertOnUncoveredPOE(eu.europa.esig.dss.alert.StatusAlert)
-
assertAllTimestampsValid
void assertAllTimestampsValid()This method verifies if all processed timestamps are valid and intact. The behavior of the method is configured withCertificateVerifier.setAlertOnInvalidTimestamp(eu.europa.esig.dss.alert.StatusAlert)
-
assertCertificateNotRevoked
This method verifies if the certificate is not revoked. The behavior of the method is configured withCertificateVerifier.setAlertOnRevokedCertificate(eu.europa.esig.dss.alert.StatusAlert)
- Parameters:
certificateToken
-CertificateToken
certificate to be checked
-
assertAllSignatureCertificatesNotRevoked
void assertAllSignatureCertificatesNotRevoked()This method verifies recursively whether none of the signature's certificate chain certificates are revoked. The behavior of the method is configured withCertificateVerifier.setAlertOnRevokedCertificate(eu.europa.esig.dss.alert.StatusAlert)
-
assertAllSignatureCertificateHaveFreshRevocationData
void assertAllSignatureCertificateHaveFreshRevocationData()This method verifies whether for all signature's certificate chain certificates there is a fresh revocation data, after the earliest available timestamp token production time. The behavior of the method is configured withCertificateVerifier.setAlertOnNoRevocationAfterBestSignatureTime(eu.europa.esig.dss.alert.StatusAlert)
-
assertAllSignaturesNotExpired
void assertAllSignaturesNotExpired()This method verifies whether all signatures added to the ValidationContext are not yet expired. The behavior of the method is configured withCertificateVerifier.setAlertOnExpiredCertificate(eu.europa.esig.dss.alert.StatusAlert)
-