Struct lock_keeper::crypto::OpaqueSessionKey
source · pub struct OpaqueSessionKey(EncryptionKey);
Expand description
A session key is produced as shared output for client and server from OPAQUE.
This key should not be stored or saved beyond the lifetime of a single authentication session. It should not be passed out to the local calling application.
Tuple Fields§
§0: EncryptionKey
Implementations§
Trait Implementations§
source§impl Clone for OpaqueSessionKey
impl Clone for OpaqueSessionKey
source§fn clone(&self) -> OpaqueSessionKey
fn clone(&self) -> OpaqueSessionKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OpaqueSessionKey
impl Debug for OpaqueSessionKey
source§impl Drop for OpaqueSessionKey
impl Drop for OpaqueSessionKey
source§impl PartialEq for OpaqueSessionKey
impl PartialEq for OpaqueSessionKey
source§fn eq(&self, other: &OpaqueSessionKey) -> bool
fn eq(&self, other: &OpaqueSessionKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for OpaqueSessionKey
impl TryFrom<GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for OpaqueSessionKey
source§impl Zeroize for OpaqueSessionKey
impl Zeroize for OpaqueSessionKey
impl Eq for OpaqueSessionKey
impl StructuralPartialEq for OpaqueSessionKey
Auto Trait Implementations§
impl Freeze for OpaqueSessionKey
impl RefUnwindSafe for OpaqueSessionKey
impl Send for OpaqueSessionKey
impl Sync for OpaqueSessionKey
impl Unpin for OpaqueSessionKey
impl UnwindSafe for OpaqueSessionKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request