Struct secure_session::session::ChaCha20Poly1305SessionManager [] [src]

pub struct ChaCha20Poly1305SessionManager<V: Serialize + DeserializeOwned> { /* fields omitted */ }

Uses the ChaCha20Poly1305 AEAD to provide signed, encrypted sessions.

Methods

impl<V: Serialize + DeserializeOwned> ChaCha20Poly1305SessionManager<V>
[src]

[src]

Using a saved key, generate a ChaCha20Poly1305SessionManager.

Trait Implementations

impl<V: Serialize + DeserializeOwned + Send + Sync> SessionManager<V> for ChaCha20Poly1305SessionManager<V>
[src]

[src]

Given a slice of bytes perform the following options to convert it into a Session: Read more

[src]

Given a session perform the following options to convert a Session into bytes: Read more

[src]

Whether or not the sessions are encrypted: true