KnownKeyReceived Event
This event is fired when a known SSH key is received from the server.
Syntax
ANSI (Cross Platform) virtual int FireKnownKeyReceived(SSHClientKnownKeyReceivedEventParams *e);
typedef struct {
int Algorithm;
int Bits;
const char *FingerprintSHA256; int reserved; } SSHClientKnownKeyReceivedEventParams; Unicode (Windows) virtual INT FireKnownKeyReceived(SSHClientKnownKeyReceivedEventParams *e);
typedef struct {
INT Algorithm;
INT Bits;
LPCWSTR FingerprintSHA256; INT reserved; } SSHClientKnownKeyReceivedEventParams;
- (void)onKnownKeyReceived:(int)algorithm :(int)bits :(NSString*)fingerprintSHA256;
#define EID_SSHCLIENT_KNOWNKEYRECEIVED 13 virtual INT SECUREBLACKBOX_CALL FireKnownKeyReceived(INT &iAlgorithm, INT &iBits, LPSTR &lpszFingerprintSHA256);
Remarks
This event allows to check the fingerprint of the key received from the server, in case the key is in the list of known keys. Algorithm and Bits specify the key algorithm and the number of bits. FingerprintSHA256 contains the key's fingerprint.