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

Trait IX509AttributeArchiveKey_Impl

pub trait IX509AttributeArchiveKey_Impl: IX509Attribute_Impl {
    // Required methods
    fn InitializeEncode(
        &self,
        pkey: Ref<'_, IX509PrivateKey>,
        encoding: EncodingType,
        strcaxcert: &BSTR,
        palgorithm: Ref<'_, IObjectId>,
        encryptionstrength: i32,
    ) -> Result<()>;
    fn InitializeDecode(
        &self,
        encoding: EncodingType,
        strencodeddata: &BSTR,
    ) -> Result<()>;
    fn get_EncryptedKeyBlob(&self, encoding: EncodingType) -> Result<BSTR>;
    fn EncryptionAlgorithm(&self) -> Result<IObjectId>;
    fn EncryptionStrength(&self) -> Result<i32>;
}

Required Methods§

fn InitializeEncode( &self, pkey: Ref<'_, IX509PrivateKey>, encoding: EncodingType, strcaxcert: &BSTR, palgorithm: Ref<'_, IObjectId>, encryptionstrength: i32, ) -> Result<()>

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

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

fn EncryptionAlgorithm(&self) -> Result<IObjectId>

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

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§