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

Trait ICspInformations_Impl

pub trait ICspInformations_Impl: IDispatch_Impl {
    // Required methods
    fn get_ItemByIndex(&self, index: i32) -> Result<ICspInformation>;
    fn Count(&self) -> Result<i32>;
    fn _NewEnum(&self) -> Result<IUnknown>;
    fn Add(&self, pval: Ref<'_, ICspInformation>) -> Result<()>;
    fn Remove(&self, index: i32) -> Result<()>;
    fn Clear(&self) -> Result<()>;
    fn AddAvailableCsps(&self) -> Result<()>;
    fn get_ItemByName(&self, strname: &BSTR) -> Result<ICspInformation>;
    fn GetCspStatusFromProviderName(
        &self,
        strprovidername: &BSTR,
        legacykeyspec: X509KeySpec,
    ) -> Result<ICspStatus>;
    fn GetCspStatusesFromOperations(
        &self,
        operations: AlgorithmOperationFlags,
        pcspinformation: Ref<'_, ICspInformation>,
    ) -> Result<ICspStatuses>;
    fn GetEncryptionCspAlgorithms(
        &self,
        pcspinformation: Ref<'_, ICspInformation>,
    ) -> Result<ICspAlgorithms>;
    fn GetHashAlgorithms(
        &self,
        pcspinformation: Ref<'_, ICspInformation>,
    ) -> Result<IObjectIds>;
}

Required Methods§

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

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

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

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

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

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

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

fn get_ItemByName(&self, strname: &BSTR) -> Result<ICspInformation>

fn GetCspStatusFromProviderName( &self, strprovidername: &BSTR, legacykeyspec: X509KeySpec, ) -> Result<ICspStatus>

fn GetCspStatusesFromOperations( &self, operations: AlgorithmOperationFlags, pcspinformation: Ref<'_, ICspInformation>, ) -> Result<ICspStatuses>

fn GetEncryptionCspAlgorithms( &self, pcspinformation: Ref<'_, ICspInformation>, ) -> Result<ICspAlgorithms>

fn GetHashAlgorithms( &self, pcspinformation: Ref<'_, ICspInformation>, ) -> Result<IObjectIds>

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§