windows::Win32::Security::Cryptography::Certificates

Trait ICertAdmin2_Impl

pub trait ICertAdmin2_Impl: ICertAdmin_Impl {
    // Required methods
    fn PublishCRLs(
        &self,
        strconfig: &BSTR,
        date: f64,
        crlflags: i32,
    ) -> Result<()>;
    fn GetCAProperty(
        &self,
        strconfig: &BSTR,
        propid: i32,
        propindex: i32,
        proptype: i32,
        flags: i32,
    ) -> Result<VARIANT>;
    fn SetCAProperty(
        &self,
        strconfig: &BSTR,
        propid: i32,
        propindex: i32,
        proptype: CERT_PROPERTY_TYPE,
        pvarpropertyvalue: *const VARIANT,
    ) -> Result<()>;
    fn GetCAPropertyFlags(&self, strconfig: &BSTR, propid: i32) -> Result<i32>;
    fn GetCAPropertyDisplayName(
        &self,
        strconfig: &BSTR,
        propid: i32,
    ) -> Result<BSTR>;
    fn GetArchivedKey(
        &self,
        strconfig: &BSTR,
        requestid: i32,
        flags: i32,
    ) -> Result<BSTR>;
    fn GetConfigEntry(
        &self,
        strconfig: &BSTR,
        strnodepath: &BSTR,
        strentryname: &BSTR,
    ) -> Result<VARIANT>;
    fn SetConfigEntry(
        &self,
        strconfig: &BSTR,
        strnodepath: &BSTR,
        strentryname: &BSTR,
        pvarentry: *const VARIANT,
    ) -> Result<()>;
    fn ImportKey(
        &self,
        strconfig: &BSTR,
        requestid: i32,
        strcerthash: &BSTR,
        flags: CERT_IMPORT_FLAGS,
        strkey: &BSTR,
    ) -> Result<()>;
    fn GetMyRoles(&self, strconfig: &BSTR) -> Result<CERTADMIN_GET_ROLES_FLAGS>;
    fn DeleteRow(
        &self,
        strconfig: &BSTR,
        flags: CERT_DELETE_ROW_FLAGS,
        date: f64,
        table: CVRC_TABLE,
        rowid: i32,
    ) -> Result<i32>;
}

Required Methods§

fn PublishCRLs(&self, strconfig: &BSTR, date: f64, crlflags: i32) -> Result<()>

fn GetCAProperty( &self, strconfig: &BSTR, propid: i32, propindex: i32, proptype: i32, flags: i32, ) -> Result<VARIANT>

fn SetCAProperty( &self, strconfig: &BSTR, propid: i32, propindex: i32, proptype: CERT_PROPERTY_TYPE, pvarpropertyvalue: *const VARIANT, ) -> Result<()>

fn GetCAPropertyFlags(&self, strconfig: &BSTR, propid: i32) -> Result<i32>

fn GetCAPropertyDisplayName( &self, strconfig: &BSTR, propid: i32, ) -> Result<BSTR>

fn GetArchivedKey( &self, strconfig: &BSTR, requestid: i32, flags: i32, ) -> Result<BSTR>

fn GetConfigEntry( &self, strconfig: &BSTR, strnodepath: &BSTR, strentryname: &BSTR, ) -> Result<VARIANT>

fn SetConfigEntry( &self, strconfig: &BSTR, strnodepath: &BSTR, strentryname: &BSTR, pvarentry: *const VARIANT, ) -> Result<()>

fn ImportKey( &self, strconfig: &BSTR, requestid: i32, strcerthash: &BSTR, flags: CERT_IMPORT_FLAGS, strkey: &BSTR, ) -> Result<()>

fn GetMyRoles(&self, strconfig: &BSTR) -> Result<CERTADMIN_GET_ROLES_FLAGS>

fn DeleteRow( &self, strconfig: &BSTR, flags: CERT_DELETE_ROW_FLAGS, date: f64, table: CVRC_TABLE, rowid: i32, ) -> Result<i32>

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.

Implementors§