Enum aries_askar::StoreKeyMethod
source ·
[−]pub enum StoreKeyMethod {
DeriveKey(KdfMethod),
RawKey,
Unprotected,
}
Expand description
Supported methods for generating or referencing a new store key
Variants
DeriveKey(KdfMethod)
Derive a new wrapping key using a key derivation function
RawKey
Wrap using an externally-managed raw key
Unprotected
No wrapping key in effect
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StoreKeyMethod
impl Send for StoreKeyMethod
impl Sync for StoreKeyMethod
impl Unpin for StoreKeyMethod
impl UnwindSafe for StoreKeyMethod
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.