Struct secure_session::session::AesGcmSessionManager
[−]
[src]
pub struct AesGcmSessionManager<V: Serialize + DeserializeOwned> { /* fields omitted */ }
Uses the AES-GCM AEAD to provide signed, encrypted sessions.
Methods
impl<V: Serialize + DeserializeOwned> AesGcmSessionManager<V>[src]
Trait Implementations
impl<V: Serialize + DeserializeOwned + Send + Sync> SessionManager<V> for AesGcmSessionManager<V>[src]
fn deserialize(&self, bytes: &[u8]) -> Result<Session<V>, SessionError>[src]
Given a slice of bytes perform the following options to convert it into a Session: Read more
fn serialize(&self, session: &Session<V>) -> Result<Vec<u8>, SessionError>[src]
Given a session perform the following options to convert a Session into bytes: Read more
fn is_encrypted(&self) -> bool[src]
Whether or not the sessions are encrypted: true