SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

StatusRequest Event

Requests a certificate status from the application.

Syntax

ocspserver.on('StatusRequest', [callback])

Callback

The 'callback' is called when the 'StatusRequest' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.connectionId
e.hashAlgorithm
e.issuerNameHash (buffer)
e.issuerKeyHash (buffer)
e.certificateSerial (buffer)
e.certStatus
e.reason
e.revocationTime
e.thisUpdate
e.nextUpdate

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.

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