pub struct HKDFParams { /* private fields */ }Expand description
Struct representing HKDF parameters.
CDDL:
HKDFParams = [0, Salt, HashType]Implementations§
Trait Implementations§
Source§impl Clone for HKDFParams
impl Clone for HKDFParams
Source§fn clone(&self) -> HKDFParams
fn clone(&self) -> HKDFParams
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HKDFParams
impl Debug for HKDFParams
Source§impl Default for HKDFParams
impl Default for HKDFParams
Source§impl Display for HKDFParams
impl Display for HKDFParams
Source§impl From<HKDFParams> for CBOR
impl From<HKDFParams> for CBOR
Source§fn from(val: HKDFParams) -> Self
fn from(val: HKDFParams) -> Self
Converts to this type from the input type.
Source§impl KeyDerivation for HKDFParams
impl KeyDerivation for HKDFParams
const INDEX: usize = 0usize
fn lock( &mut self, content_key: &SymmetricKey, secret: impl AsRef<[u8]>, ) -> Result<EncryptedMessage>
fn unlock( &self, encrypted_message: &EncryptedMessage, secret: impl AsRef<[u8]>, ) -> Result<SymmetricKey>
Source§impl PartialEq for HKDFParams
impl PartialEq for HKDFParams
Source§impl TryFrom<CBOR> for HKDFParams
impl TryFrom<CBOR> for HKDFParams
impl Eq for HKDFParams
impl StructuralPartialEq for HKDFParams
Auto Trait Implementations§
impl Freeze for HKDFParams
impl RefUnwindSafe for HKDFParams
impl Send for HKDFParams
impl Sync for HKDFParams
impl Unpin for HKDFParams
impl UnwindSafe for HKDFParams
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§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> CBORDecodable for T
impl<T> CBORDecodable for T
Source§impl<T> CBOREncodable for T
impl<T> CBOREncodable for T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)