pub struct AsymmetricKeyAlgorithmProvider(/* private fields */);
Implementations§
§impl AsymmetricKeyAlgorithmProvider
impl AsymmetricKeyAlgorithmProvider
pub fn AlgorithmName(&self) -> Result<HSTRING>
pub fn CreateKeyPair(&self, keysize: u32) -> Result<CryptographicKey>
pub fn ImportDefaultPrivateKeyBlob<P0>(
&self,
keyblob: P0
) -> Result<CryptographicKey>where
P0: IntoParam<IBuffer>,
pub fn ImportKeyPairWithBlobType<P0>(
&self,
keyblob: P0,
blobtype: CryptographicPrivateKeyBlobType
) -> Result<CryptographicKey>where
P0: IntoParam<IBuffer>,
pub fn ImportDefaultPublicKeyBlob<P0>(
&self,
keyblob: P0
) -> Result<CryptographicKey>where
P0: IntoParam<IBuffer>,
pub fn ImportPublicKeyWithBlobType<P0>(
&self,
keyblob: P0,
blobtype: CryptographicPublicKeyBlobType
) -> Result<CryptographicKey>where
P0: IntoParam<IBuffer>,
pub fn CreateKeyPairWithCurveName( &self, curvename: &HSTRING ) -> Result<CryptographicKey>
pub fn CreateKeyPairWithCurveParameters( &self, parameters: &[u8] ) -> Result<CryptographicKey>
pub fn OpenAlgorithm( algorithm: &HSTRING ) -> Result<AsymmetricKeyAlgorithmProvider>
Trait Implementations§
§impl Clone for AsymmetricKeyAlgorithmProvider
impl Clone for AsymmetricKeyAlgorithmProvider
§fn clone(&self) -> AsymmetricKeyAlgorithmProvider
fn clone(&self) -> AsymmetricKeyAlgorithmProvider
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for AsymmetricKeyAlgorithmProvider
impl Debug for AsymmetricKeyAlgorithmProvider
§impl From<&AsymmetricKeyAlgorithmProvider> for &IInspectable
impl From<&AsymmetricKeyAlgorithmProvider> for &IInspectable
§fn from(value: &AsymmetricKeyAlgorithmProvider) -> Self
fn from(value: &AsymmetricKeyAlgorithmProvider) -> Self
Converts to this type from the input type.
§impl From<&AsymmetricKeyAlgorithmProvider> for &IUnknown
impl From<&AsymmetricKeyAlgorithmProvider> for &IUnknown
§fn from(value: &AsymmetricKeyAlgorithmProvider) -> Self
fn from(value: &AsymmetricKeyAlgorithmProvider) -> Self
Converts to this type from the input type.
§impl From<AsymmetricKeyAlgorithmProvider> for IInspectable
impl From<AsymmetricKeyAlgorithmProvider> for IInspectable
§fn from(value: AsymmetricKeyAlgorithmProvider) -> Self
fn from(value: AsymmetricKeyAlgorithmProvider) -> Self
Converts to this type from the input type.
§impl From<AsymmetricKeyAlgorithmProvider> for IUnknown
impl From<AsymmetricKeyAlgorithmProvider> for IUnknown
§fn from(value: AsymmetricKeyAlgorithmProvider) -> Self
fn from(value: AsymmetricKeyAlgorithmProvider) -> Self
Converts to this type from the input type.
§impl Interface for AsymmetricKeyAlgorithmProvider
impl Interface for AsymmetricKeyAlgorithmProvider
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for AsymmetricKeyAlgorithmProvider
impl PartialEq for AsymmetricKeyAlgorithmProvider
§fn eq(&self, other: &AsymmetricKeyAlgorithmProvider) -> bool
fn eq(&self, other: &AsymmetricKeyAlgorithmProvider) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AsymmetricKeyAlgorithmProvider
impl Send for AsymmetricKeyAlgorithmProvider
impl StructuralPartialEq for AsymmetricKeyAlgorithmProvider
impl Sync for AsymmetricKeyAlgorithmProvider
Auto Trait Implementations§
impl RefUnwindSafe for AsymmetricKeyAlgorithmProvider
impl Unpin for AsymmetricKeyAlgorithmProvider
impl UnwindSafe for AsymmetricKeyAlgorithmProvider
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