MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / newKey

Method newKey

src/remote/client/interface.cpp:10375–10394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10373}
10374
10375ICryptKey* ClntAuthBlock::newKey(CheckStatusWrapper* status)
10376{
10377 status->init();
10378 try
10379 {
10380 InternalCryptKey* k = FB_NEW InternalCryptKey;
10381
10382 fb_assert(plugins.hasData());
10383 k->keyName = plugins.name();
10384 WIRECRYPT_DEBUG(fprintf(stderr, "Cli: newkey %s\n", k->keyName.c_str());)
10385 cryptKeys.add(k);
10386
10387 return k;
10388 }
10389 catch (const Exception& ex)
10390 {
10391 ex.stuffException(status);
10392 }
10393 return NULL;
10394}
10395
10396void ClntAuthBlock::tryNewKeys(rem_port* port)
10397{

Callers

nothing calls this directly

Calls 6

initMethod · 0.45
hasDataMethod · 0.45
nameMethod · 0.45
addMethod · 0.45
c_strMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected