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

Method setSymmetric

src/remote/remote.cpp:1775–1789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1773
1774
1775void InternalCryptKey::setSymmetric(CheckStatusWrapper* status, const char* type,
1776 unsigned keyLength, const void* key)
1777{
1778 try
1779 {
1780 if (type)
1781 keyName = type;
1782 encrypt.set(keyLength, key);
1783 decrypt.clear();
1784 }
1785 catch (const Exception& ex)
1786 {
1787 ex.stuffException(status);
1788 }
1789}
1790
1791void InternalCryptKey::setAsymmetric(CheckStatusWrapper* status, const char* type,
1792 unsigned encryptKeyLength, const void* encryptKey, unsigned decryptKeyLength,

Callers 4

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

Calls 3

setMethod · 0.45
clearMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected