Struct windows::Win32::Security::Cryptography::Certificates::IX509ExtensionKeyUsage
pub struct IX509ExtensionKeyUsage(/* private fields */);
Implementations§
§impl IX509ExtensionKeyUsage
impl IX509ExtensionKeyUsage
pub unsafe fn Initialize<P0, P1>( &self, pobjectid: P0, encoding: EncodingType, strencodeddata: P1 ) -> Result<()>
pub unsafe fn ObjectId(&self) -> Result<IObjectId>
pub unsafe fn get_RawData(&self, encoding: EncodingType) -> Result<BSTR>
pub unsafe fn Critical(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetCritical<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn InitializeEncode( &self, usageflags: X509KeyUsageFlags ) -> Result<()>
pub unsafe fn InitializeDecode<P0>(
&self,
encoding: EncodingType,
strencodeddata: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn KeyUsage(&self) -> Result<X509KeyUsageFlags>
Trait Implementations§
§impl Clone for IX509ExtensionKeyUsage
impl Clone for IX509ExtensionKeyUsage
§fn clone(&self) -> IX509ExtensionKeyUsage
fn clone(&self) -> IX509ExtensionKeyUsage
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 IX509ExtensionKeyUsage
impl Debug for IX509ExtensionKeyUsage
§impl From<&IX509ExtensionKeyUsage> for &IDispatch
impl From<&IX509ExtensionKeyUsage> for &IDispatch
§fn from(value: &IX509ExtensionKeyUsage) -> Self
fn from(value: &IX509ExtensionKeyUsage) -> Self
Converts to this type from the input type.
§impl From<&IX509ExtensionKeyUsage> for &IUnknown
impl From<&IX509ExtensionKeyUsage> for &IUnknown
§fn from(value: &IX509ExtensionKeyUsage) -> Self
fn from(value: &IX509ExtensionKeyUsage) -> Self
Converts to this type from the input type.
§impl From<&IX509ExtensionKeyUsage> for &IX509Extension
impl From<&IX509ExtensionKeyUsage> for &IX509Extension
§fn from(value: &IX509ExtensionKeyUsage) -> Self
fn from(value: &IX509ExtensionKeyUsage) -> Self
Converts to this type from the input type.
§impl From<IX509ExtensionKeyUsage> for IDispatch
impl From<IX509ExtensionKeyUsage> for IDispatch
§fn from(value: IX509ExtensionKeyUsage) -> Self
fn from(value: IX509ExtensionKeyUsage) -> Self
Converts to this type from the input type.
§impl From<IX509ExtensionKeyUsage> for IUnknown
impl From<IX509ExtensionKeyUsage> for IUnknown
§fn from(value: IX509ExtensionKeyUsage) -> Self
fn from(value: IX509ExtensionKeyUsage) -> Self
Converts to this type from the input type.
§impl From<IX509ExtensionKeyUsage> for IX509Extension
impl From<IX509ExtensionKeyUsage> for IX509Extension
§fn from(value: IX509ExtensionKeyUsage) -> Self
fn from(value: IX509ExtensionKeyUsage) -> Self
Converts to this type from the input type.
§impl Interface for IX509ExtensionKeyUsage
impl Interface for IX509ExtensionKeyUsage
§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 IX509ExtensionKeyUsage
impl PartialEq for IX509ExtensionKeyUsage
§fn eq(&self, other: &IX509ExtensionKeyUsage) -> bool
fn eq(&self, other: &IX509ExtensionKeyUsage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IX509ExtensionKeyUsage
impl StructuralPartialEq for IX509ExtensionKeyUsage
Auto Trait Implementations§
impl RefUnwindSafe for IX509ExtensionKeyUsage
impl !Send for IX509ExtensionKeyUsage
impl !Sync for IX509ExtensionKeyUsage
impl Unpin for IX509ExtensionKeyUsage
impl UnwindSafe for IX509ExtensionKeyUsage
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