Struct windows::Win32::Security::Cryptography::Certificates::ICertServerPolicy
pub struct ICertServerPolicy(/* private fields */);
Implementations§
§impl ICertServerPolicy
impl ICertServerPolicy
pub unsafe fn SetContext(&self, context: i32) -> Result<()>
pub unsafe fn GetRequestProperty<P0>(
&self,
strpropertyname: P0,
propertytype: i32
) -> Result<VARIANT>where
P0: IntoParam<BSTR>,
pub unsafe fn GetRequestAttribute<P0>(
&self,
strattributename: P0
) -> Result<BSTR>where
P0: IntoParam<BSTR>,
pub unsafe fn GetCertificateProperty<P0>(
&self,
strpropertyname: P0,
propertytype: CERT_PROPERTY_TYPE
) -> Result<VARIANT>where
P0: IntoParam<BSTR>,
pub unsafe fn SetCertificateProperty<P0>(
&self,
strpropertyname: P0,
propertytype: i32,
pvarpropertyvalue: *const VARIANT
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn GetCertificateExtension<P0>(
&self,
strextensionname: P0,
type: CERT_PROPERTY_TYPE
) -> Result<VARIANT>where
P0: IntoParam<BSTR>,
pub unsafe fn GetCertificateExtensionFlags(&self) -> Result<i32>
pub unsafe fn SetCertificateExtension<P0>(
&self,
strextensionname: P0,
type: i32,
extflags: i32,
pvarvalue: *const VARIANT
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn EnumerateExtensionsSetup(&self, flags: i32) -> Result<()>
pub unsafe fn EnumerateExtensions(&self) -> Result<BSTR>
pub unsafe fn EnumerateExtensionsClose(&self) -> Result<()>
pub unsafe fn EnumerateAttributesSetup(&self, flags: i32) -> Result<()>
pub unsafe fn EnumerateAttributes(&self) -> Result<BSTR>
pub unsafe fn EnumerateAttributesClose(&self) -> Result<()>
Trait Implementations§
§impl Clone for ICertServerPolicy
impl Clone for ICertServerPolicy
§fn clone(&self) -> ICertServerPolicy
fn clone(&self) -> ICertServerPolicy
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 ICertServerPolicy
impl Debug for ICertServerPolicy
§impl From<&ICertServerPolicy> for &IDispatch
impl From<&ICertServerPolicy> for &IDispatch
§fn from(value: &ICertServerPolicy) -> Self
fn from(value: &ICertServerPolicy) -> Self
Converts to this type from the input type.
§impl From<&ICertServerPolicy> for &IUnknown
impl From<&ICertServerPolicy> for &IUnknown
§fn from(value: &ICertServerPolicy) -> Self
fn from(value: &ICertServerPolicy) -> Self
Converts to this type from the input type.
§impl From<ICertServerPolicy> for IDispatch
impl From<ICertServerPolicy> for IDispatch
§fn from(value: ICertServerPolicy) -> Self
fn from(value: ICertServerPolicy) -> Self
Converts to this type from the input type.
§impl From<ICertServerPolicy> for IUnknown
impl From<ICertServerPolicy> for IUnknown
§fn from(value: ICertServerPolicy) -> Self
fn from(value: ICertServerPolicy) -> Self
Converts to this type from the input type.
§impl Interface for ICertServerPolicy
impl Interface for ICertServerPolicy
§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 ICertServerPolicy
impl PartialEq for ICertServerPolicy
§fn eq(&self, other: &ICertServerPolicy) -> bool
fn eq(&self, other: &ICertServerPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ICertServerPolicy
impl StructuralPartialEq for ICertServerPolicy
Auto Trait Implementations§
impl RefUnwindSafe for ICertServerPolicy
impl !Send for ICertServerPolicy
impl !Sync for ICertServerPolicy
impl Unpin for ICertServerPolicy
impl UnwindSafe for ICertServerPolicy
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