pub struct Dh;
Expand description
Marker type representing the DH (Diffie-Hellman) algorithm.
Trait Implementations§
Source§impl<'a> Import<'a, Dh, Private> for AsymmetricKey<Dh, Private>
impl<'a> Import<'a, Dh, Private> for AsymmetricKey<Dh, Private>
type Blob = &'a Blob<DhKeyPrivateBlob>
fn import( algo: A, provider: &AsymmetricAlgorithm, blob: Self::Blob, ) -> Result<AsymmetricKey<A, P>>
Source§impl<'a> Import<'a, Dh, Public> for AsymmetricKey<Dh, Public>
impl<'a> Import<'a, Dh, Public> for AsymmetricKey<Dh, Public>
type Blob = &'a Blob<DhKeyPublicBlob>
fn import( algo: A, provider: &AsymmetricAlgorithm, blob: Self::Blob, ) -> Result<AsymmetricKey<A, P>>
impl NeedsKeySize for Dh
Auto Trait Implementations§
impl Freeze for Dh
impl RefUnwindSafe for Dh
impl Send for Dh
impl Sync for Dh
impl Unpin for Dh
impl UnwindSafe for Dh
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