SecureBlackbox 2020 C++ Edition

Questions / Feedback?

StoreCertificate Event

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

Syntax

ANSI (Cross Platform)
virtual int FireStoreCertificate(ASiCVerifierStoreCertificateEventParams *e);
typedef struct {
const char *Cert; int lenCert;
char *URI; int reserved; } ASiCVerifierStoreCertificateEventParams; Unicode (Windows) virtual INT FireStoreCertificate(ASiCVerifierStoreCertificateEventParams *e);
typedef struct {
LPCSTR Cert; INT lenCert;
LPWSTR URI; INT reserved; } ASiCVerifierStoreCertificateEventParams;
- (void)onStoreCertificate:(NSData*)cert :(NSString**)URI;
#define EID_ASICVERIFIER_STORECERTIFICATE 10

virtual INT SECUREBLACKBOX_CALL FireStoreCertificate(LPSTR &lpCert, INT &lenCert, LPSTR &lpszURI);

Remarks

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

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