SecureBlackbox 2020 C++ Edition

Questions / Feedback?

StoreOCSPResponse Event

This event is fired when a OCSP Response should be stored along with a signature.

Syntax

ANSI (Cross Platform)
virtual int FireStoreOCSPResponse(OfficeVerifierStoreOCSPResponseEventParams *e);
typedef struct {
const char *OCSPResponse; int lenOCSPResponse;
char *URI; int reserved; } OfficeVerifierStoreOCSPResponseEventParams; Unicode (Windows) virtual INT FireStoreOCSPResponse(OfficeVerifierStoreOCSPResponseEventParams *e);
typedef struct {
LPCSTR OCSPResponse; INT lenOCSPResponse;
LPWSTR URI; INT reserved; } OfficeVerifierStoreOCSPResponseEventParams;
- (void)onStoreOCSPResponse:(NSData*)OCSPResponse :(NSString**)URI;
#define EID_OFFICEVERIFIER_STOREOCSPRESPONSE 11

virtual INT SECUREBLACKBOX_CALL FireStoreOCSPResponse(LPSTR &lpOCSPResponse, INT &lenOCSPResponse, LPSTR &lpszURI);

Remarks

This event could occur if you are verifying XAdES-C form or higher. OCSPResponse parameter contains an OCSP Response in binary form that should be stored along with a signature, and the user should provide the URI of the stored OCSP Response.

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