Crate ockam_channel[][src]

Secure channel types and traits of the Ockam library.

This crate contains the secure channel types of the Ockam library and is intended for use by other crates that provide features and add-ons to the main Ockam library.

The main Ockam crate re-exports types defined in this crate.

Structs

SecureChannel

SecureChannel is an abstraction responsible for sending messages (usually over the network) in encrypted and authenticated way. SecureChannel always has two ends: initiator and responder.

SecureChannelInfo

SecureChannel info returned from start_initiator_channel Auth hash can be used for further authentication of the channel and tying it up cryptographically to some source of Trust. (e.g. Entities)

SecureChannelListener

SecureChannelListener listens for messages from SecureChannel initiators and creates responder SecureChannels

Enums

SecureChannelError

Types of errors that may occur constructing a secure channel.

SecureChannelListenerMessage

SecureChannelListener message wrapper.

SecureChannelMessage

A message in the secure channel protocol.