SecureBlackbox 2020 C++ Edition

Questions / Feedback?

PasswordChangeRequest Event

Signals that the server requests a password change.

Syntax

ANSI (Cross Platform)
virtual int FirePasswordChangeRequest(SFTPClientPasswordChangeRequestEventParams *e);
typedef struct {
const char *Prompt;
char *NewPassword;
int Cancel; int reserved; } SFTPClientPasswordChangeRequestEventParams; Unicode (Windows) virtual INT FirePasswordChangeRequest(SFTPClientPasswordChangeRequestEventParams *e);
typedef struct {
LPCWSTR Prompt;
LPWSTR NewPassword;
BOOL Cancel; INT reserved; } SFTPClientPasswordChangeRequestEventParams;
- (void)onPasswordChangeRequest:(NSString*)prompt :(NSString**)newPassword :(int*)cancel;
#define EID_SFTPCLIENT_PASSWORDCHANGEREQUEST 13

virtual INT SECUREBLACKBOX_CALL FirePasswordChangeRequest(LPSTR &lpszPrompt, LPSTR &lpszNewPassword, BOOL &bCancel);

Remarks

The class fires this event to pass the password change request from the server to the application. This event is fired during the SSH handshake.

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