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

Method useOnlyOwnKeys

examples/dbcrypt/CryptKeyHolder.cpp:124–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 }
123
124 FB_BOOLEAN useOnlyOwnKeys(CheckStatusWrapper* status)
125 {
126 IConfigEntry* e = getEntry(status, "OnlyOwnKey");
127 if (!e)
128 return FB_TRUE; // safe default
129
130 FB_BOOLEAN rc = e->getBoolValue();
131 e->release();
132 return rc;
133 }
134
135private:
136 class CallbackInterface : public ICryptKeyCallbackImpl<CallbackInterface, CheckStatusWrapper>

Callers

nothing calls this directly

Calls 2

getBoolValueMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected