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

Trait IOCSPAdmin_Impl

pub trait IOCSPAdmin_Impl: IDispatch_Impl {
    // Required methods
    fn OCSPServiceProperties(&self) -> Result<IOCSPPropertyCollection>;
    fn OCSPCAConfigurationCollection(
        &self,
    ) -> Result<IOCSPCAConfigurationCollection>;
    fn GetConfiguration(
        &self,
        bstrservername: &BSTR,
        bforce: VARIANT_BOOL,
    ) -> Result<()>;
    fn SetConfiguration(
        &self,
        bstrservername: &BSTR,
        bforce: VARIANT_BOOL,
    ) -> Result<()>;
    fn GetMyRoles(&self, bstrservername: &BSTR) -> Result<i32>;
    fn Ping(&self, bstrservername: &BSTR) -> Result<()>;
    fn SetSecurity(&self, bstrservername: &BSTR, bstrval: &BSTR) -> Result<()>;
    fn GetSecurity(&self, bstrservername: &BSTR) -> Result<BSTR>;
    fn GetSigningCertificates(
        &self,
        bstrservername: &BSTR,
        pcacertvar: *const VARIANT,
    ) -> Result<VARIANT>;
    fn GetHashAlgorithms(
        &self,
        bstrservername: &BSTR,
        bstrcaid: &BSTR,
    ) -> Result<VARIANT>;
}

Required Methods§

fn OCSPServiceProperties(&self) -> Result<IOCSPPropertyCollection>

fn OCSPCAConfigurationCollection( &self, ) -> Result<IOCSPCAConfigurationCollection>

fn GetConfiguration( &self, bstrservername: &BSTR, bforce: VARIANT_BOOL, ) -> Result<()>

fn SetConfiguration( &self, bstrservername: &BSTR, bforce: VARIANT_BOOL, ) -> Result<()>

fn GetMyRoles(&self, bstrservername: &BSTR) -> Result<i32>

fn Ping(&self, bstrservername: &BSTR) -> Result<()>

fn SetSecurity(&self, bstrservername: &BSTR, bstrval: &BSTR) -> Result<()>

fn GetSecurity(&self, bstrservername: &BSTR) -> Result<BSTR>

fn GetSigningCertificates( &self, bstrservername: &BSTR, pcacertvar: *const VARIANT, ) -> Result<VARIANT>

fn GetHashAlgorithms( &self, bstrservername: &BSTR, bstrcaid: &BSTR, ) -> Result<VARIANT>

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§