Indy 9
PasswordCallback
Unit: IdSSLOpenSSL
Performs authentication notifications for an SSL context.
function PasswordCallback(buf: PChar; size: Integer; rwflag: Integer; userdata: Pointer): Integer; cdecl;
Unit
IdSSLOpenSSL
Parameters
buf: PChar
password from the callback.
size: Integer
number of bytes in the password.
rwflag: Integer
read write flag.
userdata: Pointer
SSL context for the callback.
Return Value
Integer - Length of the password.
Description
PasswordCallback is an Integer function that allows an SSL context to authentication callback notifications for the client or server SSL context specified in userdata. buf will contain the result of the authentication process.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.