onStatusRequest (event)
Requests a certificate status from the application.
Syntax
- (void)onStatusRequest:(long long)connectionId :(NSString*)hashAlgorithm :(NSData*)issuerNameHash :(NSData*)issuerKeyHash :(NSData*)certificateSerial :(int*)certStatus :(int*)reason :(NSString**)revocationTime :(NSString**)thisUpdate :(NSString**)nextUpdate;
func onStatusRequest(_ connectionId: Int64, _ hashAlgorithm: String, _ issuerNameHash: Data, _ issuerKeyHash: Data, _ certificateSerial: Data, _ certStatus: inout Int32, _ reason: inout Int32, _ revocationTime: inout NSString?, _ thisUpdate: inout NSString?, _ nextUpdate: inout NSString?)
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.