Expand description
Lower level protocol methods. Use these if the higher-level Portal interface is too abstract.
Structs§
- Connect
Message - Information to correlate connections on the relay
- Encrypted
Message - All encrypted messages must have associated state data (nonce, tag)
- Metadata
- Metadata about the transfer to be exchanged between peers after key derivation (encrypted)
- Nonce
Sequence - An abstraction around a nonce sequence. Safely ensures there is no nonce re-use during a session with a single key.
- Portal
Confirmation - A data format exchanged by each peer to confirm that they have each derived the same key
- Portal
KeyExchange - A data format exchanged by each peer to derive the shared session key
- Protocol
- Lower-level abstraction around the protocol. Use this directly if you’d like more control than what the higher-level Portal interface provides
- Transfer
Info - Contains the metadata for all files that will be sent during a particular transfer
- Transfer
Info Builder - Builder for TransferInfo
Enums§
- Direction
- An enum to describe the direction of each file transfer participant (i.e Sender/Receiver)
- Portal
Message - The wrapped message type for every exchanged message