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

Method setAsymmetric

src/remote/remote.cpp:1791–1806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1789}
1790
1791void InternalCryptKey::setAsymmetric(CheckStatusWrapper* status, const char* type,
1792 unsigned encryptKeyLength, const void* encryptKey, unsigned decryptKeyLength,
1793 const void* decryptKey)
1794{
1795 try
1796 {
1797 if (type)
1798 keyName = type;
1799 encrypt.set(encryptKeyLength, encryptKey);
1800 decrypt.set(decryptKeyLength, decryptKey);
1801 }
1802 catch (const Exception& ex)
1803 {
1804 ex.stuffException(status);
1805 }
1806}
1807
1808const void* InternalCryptKey::getEncryptKey(unsigned* length)
1809{

Callers

nothing calls this directly

Calls 2

setMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected