Struct windows::Win32::Security::Cryptography::ICertSrvSetup
pub struct ICertSrvSetup(/* private fields */);
Implementations§
§impl ICertSrvSetup
impl ICertSrvSetup
pub unsafe fn CAErrorId(&self) -> Result<i32>
pub unsafe fn CAErrorString(&self) -> Result<BSTR>
pub unsafe fn InitializeDefaults<P0, P1>(
&self,
bserver: P0,
bclient: P1
) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
P1: IntoParam<VARIANT_BOOL>,
pub unsafe fn GetCASetupProperty( &self, propertyid: CASetupProperty ) -> Result<VARIANT>
pub unsafe fn SetCASetupProperty( &self, propertyid: CASetupProperty, ppropertyvalue: *const VARIANT ) -> Result<()>
pub unsafe fn IsPropertyEditable( &self, propertyid: CASetupProperty ) -> Result<VARIANT_BOOL>
pub unsafe fn GetSupportedCATypes(&self) -> Result<VARIANT>
pub unsafe fn GetProviderNameList(&self) -> Result<VARIANT>
pub unsafe fn GetKeyLengthList<P0>(
&self,
bstrprovidername: P0
) -> Result<VARIANT>where
P0: IntoParam<BSTR>,
pub unsafe fn GetHashAlgorithmList<P0>(
&self,
bstrprovidername: P0
) -> Result<VARIANT>where
P0: IntoParam<BSTR>,
pub unsafe fn GetPrivateKeyContainerList<P0>(
&self,
bstrprovidername: P0
) -> Result<VARIANT>where
P0: IntoParam<BSTR>,
pub unsafe fn GetExistingCACertificates( &self ) -> Result<ICertSrvSetupKeyInformationCollection>
pub unsafe fn CAImportPFX<P0, P1, P2>( &self, bstrfilename: P0, bstrpasswd: P1, boverwriteexistingkey: P2 ) -> Result<ICertSrvSetupKeyInformation>
pub unsafe fn SetCADistinguishedName<P0, P1, P2, P3>(
&self,
bstrcadn: P0,
bignoreunicode: P1,
boverwriteexistingkey: P2,
boverwriteexistingcainds: P3
) -> Result<()>where
P0: IntoParam<BSTR>,
P1: IntoParam<VARIANT_BOOL>,
P2: IntoParam<VARIANT_BOOL>,
P3: IntoParam<VARIANT_BOOL>,
pub unsafe fn SetDatabaseInformation<P0, P1, P2, P3>( &self, bstrdbdirectory: P0, bstrlogdirectory: P1, bstrsharedfolder: P2, bforceoverwrite: P3 ) -> Result<()>
pub unsafe fn SetParentCAInformation<P0>(
&self,
bstrcaconfiguration: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn SetWebCAInformation<P0>(
&self,
bstrcaconfiguration: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Install(&self) -> Result<()>
pub unsafe fn PreUnInstall<P0>(&self, bclientonly: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn PostUnInstall(&self) -> Result<()>
Trait Implementations§
§impl Clone for ICertSrvSetup
impl Clone for ICertSrvSetup
§fn clone(&self) -> ICertSrvSetup
fn clone(&self) -> ICertSrvSetup
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 ICertSrvSetup
impl Debug for ICertSrvSetup
§impl From<&ICertSrvSetup> for &IDispatch
impl From<&ICertSrvSetup> for &IDispatch
§fn from(value: &ICertSrvSetup) -> Self
fn from(value: &ICertSrvSetup) -> Self
Converts to this type from the input type.
§impl From<&ICertSrvSetup> for &IUnknown
impl From<&ICertSrvSetup> for &IUnknown
§fn from(value: &ICertSrvSetup) -> Self
fn from(value: &ICertSrvSetup) -> Self
Converts to this type from the input type.
§impl From<ICertSrvSetup> for IDispatch
impl From<ICertSrvSetup> for IDispatch
§fn from(value: ICertSrvSetup) -> Self
fn from(value: ICertSrvSetup) -> Self
Converts to this type from the input type.
§impl From<ICertSrvSetup> for IUnknown
impl From<ICertSrvSetup> for IUnknown
§fn from(value: ICertSrvSetup) -> Self
fn from(value: ICertSrvSetup) -> Self
Converts to this type from the input type.
§impl Interface for ICertSrvSetup
impl Interface for ICertSrvSetup
§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 ICertSrvSetup
impl PartialEq for ICertSrvSetup
§fn eq(&self, other: &ICertSrvSetup) -> bool
fn eq(&self, other: &ICertSrvSetup) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ICertSrvSetup
impl StructuralPartialEq for ICertSrvSetup
Auto Trait Implementations§
impl RefUnwindSafe for ICertSrvSetup
impl !Send for ICertSrvSetup
impl !Sync for ICertSrvSetup
impl Unpin for ICertSrvSetup
impl UnwindSafe for ICertSrvSetup
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