Struct windows::Win32::Security::Cryptography::Certificates::IX509EndorsementKey
pub struct IX509EndorsementKey(/* private fields */);
Implementations§
§impl IX509EndorsementKey
impl IX509EndorsementKey
pub unsafe fn ProviderName(&self) -> Result<BSTR>
pub unsafe fn SetProviderName<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Length(&self) -> Result<i32>
pub unsafe fn Opened(&self) -> Result<VARIANT_BOOL>
pub unsafe fn AddCertificate<P0>(
&self,
encoding: EncodingType,
strcertificate: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn RemoveCertificate<P0>(
&self,
encoding: EncodingType,
strcertificate: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn GetCertificateByIndex<P0>(
&self,
manufactureronly: P0,
dwindex: i32,
encoding: EncodingType
) -> Result<BSTR>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn GetCertificateCount<P0>(
&self,
manufactureronly: P0
) -> Result<i32>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn ExportPublicKey(&self) -> Result<IX509PublicKey>
pub unsafe fn Open(&self) -> Result<()>
pub unsafe fn Close(&self) -> Result<()>
Trait Implementations§
§impl Clone for IX509EndorsementKey
impl Clone for IX509EndorsementKey
§fn clone(&self) -> IX509EndorsementKey
fn clone(&self) -> IX509EndorsementKey
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 IX509EndorsementKey
impl Debug for IX509EndorsementKey
§impl From<&IX509EndorsementKey> for &IDispatch
impl From<&IX509EndorsementKey> for &IDispatch
§fn from(value: &IX509EndorsementKey) -> Self
fn from(value: &IX509EndorsementKey) -> Self
Converts to this type from the input type.
§impl From<&IX509EndorsementKey> for &IUnknown
impl From<&IX509EndorsementKey> for &IUnknown
§fn from(value: &IX509EndorsementKey) -> Self
fn from(value: &IX509EndorsementKey) -> Self
Converts to this type from the input type.
§impl From<IX509EndorsementKey> for IDispatch
impl From<IX509EndorsementKey> for IDispatch
§fn from(value: IX509EndorsementKey) -> Self
fn from(value: IX509EndorsementKey) -> Self
Converts to this type from the input type.
§impl From<IX509EndorsementKey> for IUnknown
impl From<IX509EndorsementKey> for IUnknown
§fn from(value: IX509EndorsementKey) -> Self
fn from(value: IX509EndorsementKey) -> Self
Converts to this type from the input type.
§impl Interface for IX509EndorsementKey
impl Interface for IX509EndorsementKey
§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 IX509EndorsementKey
impl PartialEq for IX509EndorsementKey
§fn eq(&self, other: &IX509EndorsementKey) -> bool
fn eq(&self, other: &IX509EndorsementKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IX509EndorsementKey
impl StructuralPartialEq for IX509EndorsementKey
Auto Trait Implementations§
impl RefUnwindSafe for IX509EndorsementKey
impl !Send for IX509EndorsementKey
impl !Sync for IX509EndorsementKey
impl Unpin for IX509EndorsementKey
impl UnwindSafe for IX509EndorsementKey
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