| 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) { |
nothing calls this directly
no outgoing calls
no test coverage detected