Enum kanidm_lib_crypto::DbPasswordV1
source · pub enum DbPasswordV1 {
TPM_ARGON2ID {
m: u32,
t: u32,
p: u32,
v: u32,
s: Base64UrlSafeData,
k: Base64UrlSafeData,
},
ARGON2ID {
m: u32,
t: u32,
p: u32,
v: u32,
s: Base64UrlSafeData,
k: Base64UrlSafeData,
},
PBKDF2(usize, Vec<u8>, Vec<u8>),
PBKDF2_SHA1(usize, Vec<u8>, Vec<u8>),
PBKDF2_SHA512(usize, Vec<u8>, Vec<u8>),
SHA1(Vec<u8>),
SSHA1(Vec<u8>, Vec<u8>),
SHA256(Vec<u8>),
SSHA256(Vec<u8>, Vec<u8>),
SHA512(Vec<u8>),
SSHA512(Vec<u8>, Vec<u8>),
NT_MD4(Vec<u8>),
}
Variants§
TPM_ARGON2ID
ARGON2ID
PBKDF2(usize, Vec<u8>, Vec<u8>)
PBKDF2_SHA1(usize, Vec<u8>, Vec<u8>)
PBKDF2_SHA512(usize, Vec<u8>, Vec<u8>)
SHA1(Vec<u8>)
SSHA1(Vec<u8>, Vec<u8>)
SHA256(Vec<u8>)
SSHA256(Vec<u8>, Vec<u8>)
SHA512(Vec<u8>)
SSHA512(Vec<u8>, Vec<u8>)
NT_MD4(Vec<u8>)
Trait Implementations§
source§impl Clone for DbPasswordV1
impl Clone for DbPasswordV1
source§fn clone(&self) -> DbPasswordV1
fn clone(&self) -> DbPasswordV1
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 DbPasswordV1
impl Debug for DbPasswordV1
source§impl<'de> Deserialize<'de> for DbPasswordV1
impl<'de> Deserialize<'de> for DbPasswordV1
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for DbPasswordV1
impl PartialEq for DbPasswordV1
source§impl Serialize for DbPasswordV1
impl Serialize for DbPasswordV1
source§impl TryFrom<DbPasswordV1> for Password
impl TryFrom<DbPasswordV1> for Password
impl Eq for DbPasswordV1
impl StructuralPartialEq for DbPasswordV1
Auto Trait Implementations§
impl Freeze for DbPasswordV1
impl RefUnwindSafe for DbPasswordV1
impl Send for DbPasswordV1
impl Sync for DbPasswordV1
impl Unpin for DbPasswordV1
impl UnwindSafe for DbPasswordV1
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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.