MCPcopy Create free account
hub / github.com/blizzard4591/openMittsu / FullCryptoBox

Method FullCryptoBox

src/crypto/FullCryptoBox.cpp:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8 namespace crypto {
9
10 FullCryptoBox::FullCryptoBox(openmittsu::dataproviders::KeyRegistry const& keyRegistry)
11 : BasicCryptoBox(keyRegistry.getClientLongTermKeyPair(), keyRegistry.getServerLongTermPublicKey()), m_keyRegistry(keyRegistry), m_clientShortTermKey(openmittsu::crypto::KeyPair::randomKey()), m_serverShortTermKey(), m_clientNonceGenerator(), m_serverNonceGenerator() {
12 // Intentionally left empty.
13 }
14
15 /*FullCryptoBox::FullCryptoBox(FullCryptoBox&& other)
16 : BasicCryptoBox(other), m_keyRegistry(std::movcother.m_keyRegistry), m_clientShortTermKey(other.m_clientShortTermKey), m_serverShortTermKey(other.m_serverShortTermKey), m_clientNonceGenerator(other.m_clientNonceGenerator), m_serverNonceGenerator(other.m_serverNonceGenerator) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected