StatusRequest Event
Requests a certificate status from the application.
Syntax
public open class DefaultOcspserverEventListener : OcspserverEventListener { ... public override fun statusRequest(e: OcspserverStatusRequestEvent) {} ... } public class OcspserverStatusRequestEvent { val connectionId: Long val hashAlgorithm: String? val issuerNameHash: ByteArray? val issuerKeyHash: ByteArray? val certificateSerial: ByteArray? var certStatus: Int var reason: Int var revocationTime: String? var thisUpdate: String? var nextUpdate: String? }
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.