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