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

Trait ICspAlgorithm_Impl

pub trait ICspAlgorithm_Impl: IDispatch_Impl {
    // Required methods
    fn GetAlgorithmOid(
        &self,
        length: i32,
        algflags: AlgorithmFlags,
    ) -> Result<IObjectId>;
    fn DefaultLength(&self) -> Result<i32>;
    fn IncrementLength(&self) -> Result<i32>;
    fn LongName(&self) -> Result<BSTR>;
    fn Valid(&self) -> Result<VARIANT_BOOL>;
    fn MaxLength(&self) -> Result<i32>;
    fn MinLength(&self) -> Result<i32>;
    fn Name(&self) -> Result<BSTR>;
    fn Type(&self) -> Result<AlgorithmType>;
    fn Operations(&self) -> Result<AlgorithmOperationFlags>;
}

Required Methods§

fn GetAlgorithmOid( &self, length: i32, algflags: AlgorithmFlags, ) -> Result<IObjectId>

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

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

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

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

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

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

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

fn Type(&self) -> Result<AlgorithmType>

fn Operations(&self) -> Result<AlgorithmOperationFlags>

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§