MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / SupportsEncryptionType

Method SupportsEncryptionType

libi2pd_client/I2CP.cpp:110–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 5

ConnectMethod · 0.45
TestTunnelsMethod · 0.45
CreateOutboundTunnelMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestTunnelsMethod · 0.36