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

Method CredentialVault

app/src/MQTT/CredentialVault.cpp:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 * @brief Configures SimpleCrypt with the per-machine key and HMAC integrity.
27 */
28MQTT::CredentialVault::CredentialVault()
29{
30 m_simpleCrypt.setKey(Licensing::MachineID::instance().machineSpecificKey());
31 m_simpleCrypt.setIntegrityProtectionMode(Licensing::SimpleCrypt::ProtectionHash);
32}
33
34//--------------------------------------------------------------------------------------------------
35// Queries

Callers

nothing calls this directly

Calls 3

machineSpecificKeyMethod · 0.80
setKeyMethod · 0.45

Tested by

no test coverage detected