| 108 | } |
| 109 | |
| 110 | bool I2CPDestination::SupportsEncryptionType (i2p::data::CryptoKeyType keyType) const |
| 111 | { |
| 112 | #if __cplusplus >= 202002L // C++20 |
| 113 | return m_EncryptionKeys.contains (keyType); |
| 114 | #else |
| 115 | return m_EncryptionKeys.count (keyType) > 0; |
| 116 | #endif |
| 117 | } |
| 118 | |
| 119 | i2p::data::CryptoKeyType I2CPDestination::GetPreferredCryptoType () const |
| 120 | { |
no outgoing calls