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

Trait ISignerCertificate_Impl

pub trait ISignerCertificate_Impl: IDispatch_Impl {
    // Required methods
    fn Initialize(
        &self,
        machinecontext: VARIANT_BOOL,
        verifytype: X509PrivateKeyVerify,
        encoding: EncodingType,
        strcertificate: &BSTR,
    ) -> Result<()>;
    fn get_Certificate(&self, encoding: EncodingType) -> Result<BSTR>;
    fn PrivateKey(&self) -> Result<IX509PrivateKey>;
    fn Silent(&self) -> Result<VARIANT_BOOL>;
    fn SetSilent(&self, value: VARIANT_BOOL) -> Result<()>;
    fn ParentWindow(&self) -> Result<i32>;
    fn SetParentWindow(&self, value: i32) -> Result<()>;
    fn UIContextMessage(&self) -> Result<BSTR>;
    fn SetUIContextMessage(&self, value: &BSTR) -> Result<()>;
    fn SetPin(&self, value: &BSTR) -> Result<()>;
    fn SignatureInformation(&self) -> Result<IX509SignatureInformation>;
}

Required Methods§

fn Initialize( &self, machinecontext: VARIANT_BOOL, verifytype: X509PrivateKeyVerify, encoding: EncodingType, strcertificate: &BSTR, ) -> Result<()>

fn get_Certificate(&self, encoding: EncodingType) -> Result<BSTR>

fn PrivateKey(&self) -> Result<IX509PrivateKey>

fn Silent(&self) -> Result<VARIANT_BOOL>

fn SetSilent(&self, value: VARIANT_BOOL) -> Result<()>

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

fn SetParentWindow(&self, value: i32) -> Result<()>

fn UIContextMessage(&self) -> Result<BSTR>

fn SetUIContextMessage(&self, value: &BSTR) -> Result<()>

fn SetPin(&self, value: &BSTR) -> Result<()>

fn SignatureInformation(&self) -> Result<IX509SignatureInformation>

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§