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

Method newKey

src/remote/remote.cpp:1475–1494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1473}
1474
1475ICryptKey* SrvAuthBlock::newKey(CheckStatusWrapper* status)
1476{
1477 status->init();
1478 try
1479 {
1480 InternalCryptKey* k = FB_NEW InternalCryptKey;
1481
1482 k->keyName = pluginName.c_str();
1483 WIRECRYPT_DEBUG(fprintf(stderr, "Srv: newkey %s\n", k->keyName.c_str());)
1484 port->port_crypt_keys.push(k);
1485 newKeys.push(k);
1486
1487 return k;
1488 }
1489 catch (const Exception& ex)
1490 {
1491 ex.stuffException(status);
1492 }
1493 return NULL;
1494}
1495
1496void rem_port::versionInfo(string& version) const
1497{

Callers 4

authenticateMethod · 0.45
authenticateMethod · 0.45
authenticateMethod · 0.45
authenticateMethod · 0.45

Calls 4

initMethod · 0.45
c_strMethod · 0.45
pushMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected