pub struct SecKeyExchangeParameters { /* private fields */ }Expand description
Typed wrapper for the SecKeyKeyExchangeParameter* dictionary accepted by LAPrivateKey::exchange_keys_with_public_key.
Implementations§
Source§impl SecKeyExchangeParameters
impl SecKeyExchangeParameters
Sourcepub const fn with_requested_size(requested_size: usize) -> Self
pub const fn with_requested_size(requested_size: usize) -> Self
Create a dictionary that requests a derived key of the supplied length.
Sourcepub const fn requested_size(self, requested_size: usize) -> Self
pub const fn requested_size(self, requested_size: usize) -> Self
Override the requested derived-key length.
Attach additional shared info for algorithms that support KDF context data.
Clear any previously configured shared info.
Trait Implementations§
Source§impl Clone for SecKeyExchangeParameters
impl Clone for SecKeyExchangeParameters
Source§fn clone(&self) -> SecKeyExchangeParameters
fn clone(&self) -> SecKeyExchangeParameters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SecKeyExchangeParameters
impl Debug for SecKeyExchangeParameters
Source§impl Default for SecKeyExchangeParameters
impl Default for SecKeyExchangeParameters
Source§fn default() -> SecKeyExchangeParameters
fn default() -> SecKeyExchangeParameters
Returns the “default value” for a type. Read more
Source§impl PartialEq for SecKeyExchangeParameters
impl PartialEq for SecKeyExchangeParameters
Source§fn eq(&self, other: &SecKeyExchangeParameters) -> bool
fn eq(&self, other: &SecKeyExchangeParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SecKeyExchangeParameters
impl StructuralPartialEq for SecKeyExchangeParameters
Auto Trait Implementations§
impl Freeze for SecKeyExchangeParameters
impl RefUnwindSafe for SecKeyExchangeParameters
impl Send for SecKeyExchangeParameters
impl Sync for SecKeyExchangeParameters
impl Unpin for SecKeyExchangeParameters
impl UnsafeUnpin for SecKeyExchangeParameters
impl UnwindSafe for SecKeyExchangeParameters
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