Trait ICertSrvSetup_Impl
pub trait ICertSrvSetup_Impl: IDispatch_Impl {
Show 20 methods
// Required methods
fn CAErrorId(&self) -> Result<i32>;
fn CAErrorString(&self) -> Result<BSTR>;
fn InitializeDefaults(
&self,
bserver: VARIANT_BOOL,
bclient: VARIANT_BOOL,
) -> Result<()>;
fn GetCASetupProperty(&self, propertyid: CASetupProperty) -> Result<VARIANT>;
fn SetCASetupProperty(
&self,
propertyid: CASetupProperty,
ppropertyvalue: *const VARIANT,
) -> Result<()>;
fn IsPropertyEditable(
&self,
propertyid: CASetupProperty,
) -> Result<VARIANT_BOOL>;
fn GetSupportedCATypes(&self) -> Result<VARIANT>;
fn GetProviderNameList(&self) -> Result<VARIANT>;
fn GetKeyLengthList(&self, bstrprovidername: &BSTR) -> Result<VARIANT>;
fn GetHashAlgorithmList(&self, bstrprovidername: &BSTR) -> Result<VARIANT>;
fn GetPrivateKeyContainerList(
&self,
bstrprovidername: &BSTR,
) -> Result<VARIANT>;
fn GetExistingCACertificates(
&self,
) -> Result<ICertSrvSetupKeyInformationCollection>;
fn CAImportPFX(
&self,
bstrfilename: &BSTR,
bstrpasswd: &BSTR,
boverwriteexistingkey: VARIANT_BOOL,
) -> Result<ICertSrvSetupKeyInformation>;
fn SetCADistinguishedName(
&self,
bstrcadn: &BSTR,
bignoreunicode: VARIANT_BOOL,
boverwriteexistingkey: VARIANT_BOOL,
boverwriteexistingcainds: VARIANT_BOOL,
) -> Result<()>;
fn SetDatabaseInformation(
&self,
bstrdbdirectory: &BSTR,
bstrlogdirectory: &BSTR,
bstrsharedfolder: &BSTR,
bforceoverwrite: VARIANT_BOOL,
) -> Result<()>;
fn SetParentCAInformation(&self, bstrcaconfiguration: &BSTR) -> Result<()>;
fn SetWebCAInformation(&self, bstrcaconfiguration: &BSTR) -> Result<()>;
fn Install(&self) -> Result<()>;
fn PreUnInstall(&self, bclientonly: VARIANT_BOOL) -> Result<()>;
fn PostUnInstall(&self) -> Result<()>;
}
Required Methods§
fn CAErrorId(&self) -> Result<i32>
fn CAErrorString(&self) -> Result<BSTR>
fn InitializeDefaults( &self, bserver: VARIANT_BOOL, bclient: VARIANT_BOOL, ) -> Result<()>
fn GetCASetupProperty(&self, propertyid: CASetupProperty) -> Result<VARIANT>
fn SetCASetupProperty( &self, propertyid: CASetupProperty, ppropertyvalue: *const VARIANT, ) -> Result<()>
fn IsPropertyEditable( &self, propertyid: CASetupProperty, ) -> Result<VARIANT_BOOL>
fn GetSupportedCATypes(&self) -> Result<VARIANT>
fn GetProviderNameList(&self) -> Result<VARIANT>
fn GetKeyLengthList(&self, bstrprovidername: &BSTR) -> Result<VARIANT>
fn GetHashAlgorithmList(&self, bstrprovidername: &BSTR) -> Result<VARIANT>
fn GetPrivateKeyContainerList(&self, bstrprovidername: &BSTR) -> Result<VARIANT>
fn GetExistingCACertificates( &self, ) -> Result<ICertSrvSetupKeyInformationCollection>
fn CAImportPFX( &self, bstrfilename: &BSTR, bstrpasswd: &BSTR, boverwriteexistingkey: VARIANT_BOOL, ) -> Result<ICertSrvSetupKeyInformation>
fn SetCADistinguishedName( &self, bstrcadn: &BSTR, bignoreunicode: VARIANT_BOOL, boverwriteexistingkey: VARIANT_BOOL, boverwriteexistingcainds: VARIANT_BOOL, ) -> Result<()>
fn SetDatabaseInformation( &self, bstrdbdirectory: &BSTR, bstrlogdirectory: &BSTR, bstrsharedfolder: &BSTR, bforceoverwrite: VARIANT_BOOL, ) -> Result<()>
fn SetParentCAInformation(&self, bstrcaconfiguration: &BSTR) -> Result<()>
fn SetWebCAInformation(&self, bstrcaconfiguration: &BSTR) -> Result<()>
fn Install(&self) -> Result<()>
fn PreUnInstall(&self, bclientonly: VARIANT_BOOL) -> Result<()>
fn PostUnInstall(&self) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.