TimestampFound Event
Signifies the start of a timestamp validation routine.
Syntax
public open class DefaultOfficeverifierEventListener : OfficeverifierEventListener { ... public override fun timestampFound(e: OfficeverifierTimestampFoundEvent) {} ... } public class OfficeverifierTimestampFoundEvent { val issuerRDN: String? val serialNumber: ByteArray? val subjectKeyID: ByteArray? val certFound: Boolean var validateTimestamp: Boolean var validateChain: Boolean }
Remarks
This event fires for every timestamp identified during signature processing, and reports the details about the signer's certificate via its IssuerRDN, SerialNumber, and SubjectKeyID parameters.
The CertFound is set to True if the component has found the needed certificate in one of the known locations, and to False otherwise, in which case you must provide it manually via KnownCertificates property.
Just like with signature validation, timestamp validation consists of two independent stages: cryptographic signature validation and chain validation. Separate validation results are reported for each, with SignatureValidationResult and ChainValidationResult properties respectively.
Use the ValidateSignature and ValidateChain parameters to tell the verifier which stages to include in the validation.