MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / KeyVault

Method KeyVault

app/src/AI/KeyVault.cpp:41–45  ·  view source on GitHub ↗

* @brief Configures SimpleCrypt with a per-machine key and HMAC integrity. */

Source from the content-addressed store, hash-verified

39 * @brief Configures SimpleCrypt with a per-machine key and HMAC integrity.
40 */
41AI::KeyVault::KeyVault()
42{
43 m_simpleCrypt.setKey(Licensing::MachineID::instance().machineSpecificKey());
44 m_simpleCrypt.setIntegrityProtectionMode(Licensing::SimpleCrypt::ProtectionHash);
45}
46
47//--------------------------------------------------------------------------------------------------
48// Queries

Callers

nothing calls this directly

Calls 3

machineSpecificKeyMethod · 0.80
setKeyMethod · 0.45

Tested by

no test coverage detected