SecureBlackbox 2020 C++ Edition

Questions / Feedback?

BeforeOpenStorage Event

Informs about imminent access to the certificate storage.

Syntax

ANSI (Cross Platform)
virtual int FireBeforeOpenStorage(DCAuthWebServerBeforeOpenStorageEventParams *e);
typedef struct {
int64 ConnectionId;
char *StorageId;
char *SigningCertificate;
char *CertificatePassword; int reserved; } DCAuthWebServerBeforeOpenStorageEventParams; Unicode (Windows) virtual INT FireBeforeOpenStorage(DCAuthWebServerBeforeOpenStorageEventParams *e);
typedef struct {
LONG64 ConnectionId;
LPWSTR StorageId;
LPWSTR SigningCertificate;
LPWSTR CertificatePassword; INT reserved; } DCAuthWebServerBeforeOpenStorageEventParams;
- (void)onBeforeOpenStorage:(long long)connectionId :(NSString**)storageId :(NSString**)signingCertificate :(NSString**)certificatePassword;
#define EID_DCAUTHWEBSERVER_BEFOREOPENSTORAGE 3

virtual INT SECUREBLACKBOX_CALL FireBeforeOpenStorage(LONG64 &lConnectionId, LPSTR &lpszStorageId, LPSTR &lpszSigningCertificate, LPSTR &lpszCertificatePassword);

Remarks

This event is fired to inform the application that the configured certificate is about to be accessed for the purpose of signing. The location of the certificate is taken from SigningCertificate and StorageId properties. The application may alter these parameters in this event handler to specify a different certificate, if required.

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