SecureBlackbox 2020 Qt Edition

Questions / Feedback?

SignatureValidated Event

Marks the completion of the signature validation routine.

Syntax

class MailReaderSignatureValidatedEventParams {
public:
  const QString &IssuerRDN();
  const QByteArray &SerialNumber();
  const QByteArray &SubjectKeyID();
  int ValidationResult();
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void SignatureValidated(MailReaderSignatureValidatedEventParams *e);
// Or, subclass MailReader and override this emitter function. virtual int FireSignatureValidated(MailReaderSignatureValidatedEventParams *e) {...}

Remarks

This event is fired upon the completion of the signature validation routine, and reports the respective validation result.

Use the IssuerRDN, SerialNumber, and/or SubjectKeyID parameters to identify the signing certificate.

ValidationResult is set to 0 if the validation has been successful, or to a non-zero value in case of a validation failure.

svtValid0The signature is valid

svtUnknown1Signature validity is unknown

svtCorrupted2The signature is corrupted

svtSignerNotFound3Failed to acquire the signing certificate. The signature cannot be validated.

svtFailure4General failure

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Qt Edition - Version 20.0 [Build 8154]