SecureBlackbox 2020 C++ Edition

Questions / Feedback?

PrivateKeyNeeded Event

Asks the application for the client's private key.

Syntax

ANSI (Cross Platform)
virtual int FirePrivateKeyNeeded(SFTPClientPrivateKeyNeededEventParams *e);
typedef struct {
int Skip; int reserved; } SFTPClientPrivateKeyNeededEventParams; Unicode (Windows) virtual INT FirePrivateKeyNeeded(SFTPClientPrivateKeyNeededEventParams *e);
typedef struct {
BOOL Skip; INT reserved; } SFTPClientPrivateKeyNeededEventParams;
- (void)onPrivateKeyNeeded:(int*)skip;
#define EID_SFTPCLIENT_PRIVATEKEYNEEDED 14

virtual INT SECUREBLACKBOX_CALL FirePrivateKeyNeeded(BOOL &bSkip);

Remarks

The class fires this event if the public key provided in Key was accepted by the server, but no private key is available for it.

Use this event handler to attach the private key to your Key. The component will pick the key up and continue the authentication.

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