CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace crypto {
class KeyPair; }
27 namespace ionet {
class PacketSocket; }
28 namespace utils {
class FileSize; }
31 namespace catapult {
namespace ionet {
35 std::shared_ptr<PacketSocket>
Secure(
36 const std::shared_ptr<PacketSocket>&
pSocket,
38 const crypto::KeyPair& sourceKeyPair,
40 utils::FileSize maxPacketDataSize);
std::shared_ptr< PacketIo > m_pIo
Definition: SecurePacketSocketDecorator.cpp:80
std::shared_ptr< PacketSocket > Secure(const std::shared_ptr< PacketSocket > &pSocket, ConnectionSecurityMode securityMode, const crypto::KeyPair &sourceKeyPair, const Key &remoteKey, utils::FileSize maxPacketDataSize)
Definition: SecurePacketSocketDecorator.cpp:85
Key m_remoteKey
Definition: SecurePacketSocketDecorator.cpp:78
ConnectionSecurityMode
Possible connection security modes.
Definition: ConnectionSecurityMode.h:36
uint32_t bytes32() const
Returns the number of bytes as a uint32_t.
Definition: FileSize.h:72
Represents a pair of private key with associated public key.
Definition: KeyPair.h:33
const crypto::KeyPair & m_sourceKeyPair
Definition: SecurePacketSocketDecorator.cpp:77
std::shared_ptr< BatchPacketReader > CreateSecureSignedBatchPacketReader(const std::shared_ptr< BatchPacketReader > &pReader, const Key &remoteKey)
Definition: SecureSignedPacketIo.cpp:162
Represents a file size.
Definition: FileSize.h:29
std::shared_ptr< PacketIo > CreateSecureSignedPacketIo(const std::shared_ptr< PacketIo > &pIo, const crypto::KeyPair &sourceKeyPair, const Key &remoteKey, uint32_t maxSignedPacketDataSize)
Definition: SecureSignedPacketIo.cpp:131
std::shared_ptr< PacketSocket > m_pSocket
Definition: SecurePacketSocketDecorator.cpp:76
SocketPointer pSocket
Definition: PacketWriters.cpp:46
Definition: AddressExtractionExtension.cpp:28
uint32_t m_maxPacketDataSize
Definition: SecurePacketSocketDecorator.cpp:79
std::shared_ptr< BatchPacketReader > m_pReader
Definition: SecurePacketSocketDecorator.cpp:81
utils::ByteArray< Key_Size, Key_tag > Key
Definition: src/catapult/types.h:41