On 13-4-2018 17:10, Dimitry Sibiryakov wrote:
13.04.2018 17:01, Mark Rotteveel wrote:
Let me rephrase: exactly what causes Firebird to perform a callback to
the client, and what must a KeyHolderPlugin do to make sure no
callback is performed.
Firebird calls client callback when key holder in keyCallback() calls
the callback received in parameters.
If the holder don't call the callback - no callback is performed.
Code example:
int KeyHolderSample::keyCallback(CheckStatusWrapper* status,
ICryptKeyCallback* callback)
{
// Here Firebird will send callback request to client
// Comment this line out to disable client callback
return callback->callback(0, NULL, sizeof(Buffer), Buffer);
}
Thanks!
--
Mark Rotteveel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel