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

Trait ICertProperties_Impl

pub trait ICertProperties_Impl: IDispatch_Impl {
    // Required methods
    fn get_ItemByIndex(&self, index: i32) -> Result<ICertProperty>;
    fn Count(&self) -> Result<i32>;
    fn _NewEnum(&self) -> Result<IUnknown>;
    fn Add(&self, pval: Ref<'_, ICertProperty>) -> Result<()>;
    fn Remove(&self, index: i32) -> Result<()>;
    fn Clear(&self) -> Result<()>;
    fn InitializeFromCertificate(
        &self,
        machinecontext: VARIANT_BOOL,
        encoding: EncodingType,
        strcertificate: &BSTR,
    ) -> Result<()>;
}

Required Methods§

fn get_ItemByIndex(&self, index: i32) -> Result<ICertProperty>

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

fn _NewEnum(&self) -> Result<IUnknown>

fn Add(&self, pval: Ref<'_, ICertProperty>) -> Result<()>

fn Remove(&self, index: i32) -> Result<()>

fn Clear(&self) -> Result<()>

fn InitializeFromCertificate( &self, machinecontext: VARIANT_BOOL, encoding: EncodingType, strcertificate: &BSTR, ) -> 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.

Implementors§