Skip to main content

Alerts Properties

The overall configuration of alerts can be set using alerts profiles. Profiles support the following values:

  • DEFAULT - the default DSS alerts configuration that is used when no other profile is specified
  • STRICT - a strict alerts profile that enforces all alerts to be treated as errors with raised exceptions
  • RELAXED - a relaxed alerts profile that treats all alerts as warnings in log only
  • IGNORE - an ignore alerts profile that ignores all alerts without any logging or exceptions
PropertyDescriptionDefault ValueMandatoryMetadata Support
ALERTS_PROFILESets the alerts profile to be used during signing.DEFAULTNOYES

Specific alerts behavior can be further overridden using the following values:

  • INHERIT - inherit the behavior from the alerts profile
  • ERROR - treat the alert as an error and raise an exception
  • WARN - treat the alert as a warning and log it
  • IGNORE - ignore the alert without any logging or exceptions

The following alerts can be configured:

PropertyDescriptionDefault ValueMandatoryMetadata Support
ALERTS_EXPIREDCERTIFICATEDefines a behavior on a signature creation or augmentation with an expired signing-certificate or its related POE(s).ERRORNOYES
ALERTS_REVOKEDCERTIFICATEDefines a behavior if a revoked certificate is present.ERRORNOYES
ALERTS_INVALIDSIGNATUREDefines a behavior on augmentation of a cryptographically invalid signature.ERRORNOYES
ALERTS_INVALIDTIMESTAMPDefines a behavior if an invalid timestamp is found.ERRORNOYES
ALERTS_NOTYETVALIDCERTIFICATEDefines a behavior on a signature creation or augmentation with a not yet valid signing-certificate.ERRORNOYES
ALERTS_MISSINGREVOCATIONDATADefines a behavior in case of missing revocation data.ERRORNOYES
ALERTS_NOREVOCATIONAFTERBESTSIGNATURETIMEDefines a behavior in case if there is no valid revocation data with thisUpdate time after the best signature time.WARNNOYES
ALERTS_UNCOVEREDPOEDefines a behavior if a TSU certificate chain is not covered with a revocation data (timestamp generation time > CRL/OCSP production time).WARNNOYES
ALERTS_HIGHERSIGNATURELEVELDefines a behavior on a signature creation or augmentation within a document containing signatures of a higher level.ERRORNOYES
ALERTS_SIGNATUREWITHOUTCERTIFICATESDefines a behavior on augmentation of a signature without certificates in its B-level.ERRORNOYES
ALERTS_SELFSIGNEDCERTIFICATECHAINSDefines a behavior on augmentation of a signature built only with self-signed certificate chains.ERRORNOYES