pub trait ICspInformations_Impl: Sized + 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: Option<&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: Option<&ICspInformation>,
    ) -> Result<ICspStatuses>;
    fn GetEncryptionCspAlgorithms(
        &self,
        pcspinformation: Option<&ICspInformation>,
    ) -> Result<ICspAlgorithms>;
    fn GetHashAlgorithms(
        &self,
        pcspinformation: Option<&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: Option<&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: Option<&ICspInformation>, ) -> Result<ICspStatuses>

fn GetEncryptionCspAlgorithms( &self, pcspinformation: Option<&ICspInformation>, ) -> Result<ICspAlgorithms>

fn GetHashAlgorithms( &self, pcspinformation: Option<&ICspInformation>, ) -> Result<IObjectIds>

Object Safety§

This trait is not object safe.

Implementors§