pub trait ICertAdmin_Impl: Sized + IDispatch_Impl {
    // Required methods
    fn IsValidCertificate(
        &self,
        strconfig: &BSTR,
        strserialnumber: &BSTR,
    ) -> Result<i32>;
    fn GetRevocationReason(&self) -> Result<i32>;
    fn RevokeCertificate(
        &self,
        strconfig: &BSTR,
        strserialnumber: &BSTR,
        reason: i32,
        date: f64,
    ) -> Result<()>;
    fn SetRequestAttributes(
        &self,
        strconfig: &BSTR,
        requestid: i32,
        strattributes: &BSTR,
    ) -> Result<()>;
    fn SetCertificateExtension(
        &self,
        strconfig: &BSTR,
        requestid: i32,
        strextensionname: &BSTR,
        type: CERT_PROPERTY_TYPE,
        flags: i32,
        pvarvalue: *const VARIANT,
    ) -> Result<()>;
    fn DenyRequest(&self, strconfig: &BSTR, requestid: i32) -> Result<()>;
    fn ResubmitRequest(&self, strconfig: &BSTR, requestid: i32) -> Result<i32>;
    fn PublishCRL(&self, strconfig: &BSTR, date: f64) -> Result<()>;
    fn GetCRL(&self, strconfig: &BSTR, flags: i32) -> Result<BSTR>;
    fn ImportCertificate(
        &self,
        strconfig: &BSTR,
        strcertificate: &BSTR,
        flags: CERT_IMPORT_FLAGS,
    ) -> Result<i32>;
}

Required Methods§

fn IsValidCertificate( &self, strconfig: &BSTR, strserialnumber: &BSTR, ) -> Result<i32>

fn GetRevocationReason(&self) -> Result<i32>

fn RevokeCertificate( &self, strconfig: &BSTR, strserialnumber: &BSTR, reason: i32, date: f64, ) -> Result<()>

fn SetRequestAttributes( &self, strconfig: &BSTR, requestid: i32, strattributes: &BSTR, ) -> Result<()>

fn SetCertificateExtension( &self, strconfig: &BSTR, requestid: i32, strextensionname: &BSTR, type: CERT_PROPERTY_TYPE, flags: i32, pvarvalue: *const VARIANT, ) -> Result<()>

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

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

fn PublishCRL(&self, strconfig: &BSTR, date: f64) -> Result<()>

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

fn ImportCertificate( &self, strconfig: &BSTR, strcertificate: &BSTR, flags: CERT_IMPORT_FLAGS, ) -> Result<i32>

Object Safety§

This trait is not object safe.

Implementors§