#ifndef TGCALLS_SIGNALING_ENCRYPTION_H #define TGCALLS_SIGNALING_ENCRYPTION_H #include "Instance.h" #include "EncryptedConnection.h" namespace tgcalls { class SignalingEncryption { public: SignalingEncryption(EncryptionKey const &encryptionKey); ~SignalingEncryption(); absl::optional encryptOutgoing(std::vector const &data); absl::optional decryptIncoming(std::vector const &data); private: std::unique_ptr _connection; }; } // namespace tgcalls #endif