pub struct Ikm(/* private fields */);Expand description
An hkdf.ikm: imported input keying material for HKDF, minted by
hkdf::import_ikm. Never readable back through the API under any
grant; the grants recorded at import are copied onto every
DeriveInput built on it (via hkdf_sha2::prepare and friends).
Implementations§
Source§impl Ikm
impl Ikm
Sourcepub fn can_derive_bits(&self) -> bool
pub fn can_derive_bits(&self) -> bool
Whether inputs built on this material may yield raw bits. See
DeriveOptions::derive_bits.
Sourcepub fn can_derive_key(&self) -> bool
pub fn can_derive_key(&self) -> bool
Whether inputs built on this material may mint keys. See
DeriveOptions::derive_key.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Ikm
impl RefUnwindSafe for Ikm
impl Send for Ikm
impl Sync for Ikm
impl Unpin for Ikm
impl UnsafeUnpin for Ikm
impl UnwindSafe for Ikm
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