StatusRequest Event
Requests a certificate status from the application.
Syntax
class OCSPServerStatusRequestEventParams { public: qint64 ConnectionId(); const QString &HashAlgorithm(); const QByteArray &IssuerNameHash(); const QByteArray &IssuerKeyHash(); const QByteArray &CertificateSerial(); int CertStatus(); void SetCertStatus(int iCertStatus); int Reason(); void SetReason(int iReason); const QString &RevocationTime(); void SetRevocationTime(const QString &qsRevocationTime); const QString &ThisUpdate(); void SetThisUpdate(const QString &qsThisUpdate); const QString &NextUpdate(); void SetNextUpdate(const QString &qsNextUpdate); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void StatusRequest(OCSPServerStatusRequestEventParams *e);
// Or, subclass OCSPServer and override this emitter function. virtual int FireStatusRequest(OCSPServerStatusRequestEventParams *e) {...}
Remarks
Subscribe to this event to provide, alter, or inspect certificate statuses produced by the OCSP server.
ConnectionId returns the unique identifier of the client making the request. IssuerNameHash and IssuerKeyHash specify the message digests of the certificate issuer's name and public key obtained with the use of HashAlgorithm. CertificateSerial specifies the serial number of the checked certificate.
Use the by-ref parameters CertStatus, Reason, RevocationTime, ThisUpdate, and NextUpdate to check or alter the status details of the requested certificate.