SecureBlackbox 2020 C++ Edition

Questions / Feedback?

TLSCertValidate Event

This event is fired upon receipt of the TLS server's certificate, allowing the user to control its acceptance.

Syntax

ANSI (Cross Platform)
virtual int FireTLSCertValidate(ASiCVerifierTLSCertValidateEventParams *e);
typedef struct {
const char *ServerHostname;
const char *ServerIP;
int Accept; int reserved; } ASiCVerifierTLSCertValidateEventParams; Unicode (Windows) virtual INT FireTLSCertValidate(ASiCVerifierTLSCertValidateEventParams *e);
typedef struct {
LPCWSTR ServerHostname;
LPCWSTR ServerIP;
BOOL Accept; INT reserved; } ASiCVerifierTLSCertValidateEventParams;
- (void)onTLSCertValidate:(NSString*)serverHostname :(NSString*)serverIP :(int*)accept;
#define EID_ASICVERIFIER_TLSCERTVALIDATE 15

virtual INT SECUREBLACKBOX_CALL FireTLSCertValidate(LPSTR &lpszServerHostname, LPSTR &lpszServerIP, BOOL &bAccept);

Remarks

This event is fired during a TLS handshake. Use TLSServerChain property to access the certificate chain. In general case, components may contact a number of TLS endpoints during their work, depending on their configuration.

Accept is assigned in accordance with the outcome of the internal validation check performed by the component, and can be adjusted if needed.

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