SecureBlackbox 2020 C++ Edition

Questions / Feedback?

KnownKeyReceived Event

Signals that the server has introduced itself with a known key.

Syntax

ANSI (Cross Platform)
virtual int FireKnownKeyReceived(SFTPClientKnownKeyReceivedEventParams *e);
typedef struct {
const char *Algorithm;
int Bits;
const char *FingerprintSHA256; int reserved; } SFTPClientKnownKeyReceivedEventParams; Unicode (Windows) virtual INT FireKnownKeyReceived(SFTPClientKnownKeyReceivedEventParams *e);
typedef struct {
LPCWSTR Algorithm;
INT Bits;
LPCWSTR FingerprintSHA256; INT reserved; } SFTPClientKnownKeyReceivedEventParams;
- (void)onKnownKeyReceived:(NSString*)algorithm :(int)bits :(NSString*)fingerprintSHA256;
#define EID_SFTPCLIENT_KNOWNKEYRECEIVED 10

virtual INT SECUREBLACKBOX_CALL FireKnownKeyReceived(LPSTR &lpszAlgorithm, INT &iBits, LPSTR &lpszFingerprintSHA256);

Remarks

The class fires this event to tell the application that the server has introduced itself with a known key from TrustedKeysFile. The details of the key are provided.

Use ServerKey to access more key details.

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