Struct win_crypto_ng::asymmetric::Dh
source · 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 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