windows::Win32::Storage::Packaging::Appx

Trait IAppxEncryptionFactory_Impl

pub trait IAppxEncryptionFactory_Impl: IUnknownImpl {
    // Required methods
    fn EncryptPackage(
        &self,
        inputstream: Ref<'_, IStream>,
        outputstream: Ref<'_, IStream>,
        settings: *const APPX_ENCRYPTED_PACKAGE_SETTINGS,
        keyinfo: *const APPX_KEY_INFO,
        exemptedfiles: *const APPX_ENCRYPTED_EXEMPTIONS,
    ) -> Result<()>;
    fn DecryptPackage(
        &self,
        inputstream: Ref<'_, IStream>,
        outputstream: Ref<'_, IStream>,
        keyinfo: *const APPX_KEY_INFO,
    ) -> Result<()>;
    fn CreateEncryptedPackageWriter(
        &self,
        outputstream: Ref<'_, IStream>,
        manifeststream: Ref<'_, IStream>,
        settings: *const APPX_ENCRYPTED_PACKAGE_SETTINGS,
        keyinfo: *const APPX_KEY_INFO,
        exemptedfiles: *const APPX_ENCRYPTED_EXEMPTIONS,
    ) -> Result<IAppxEncryptedPackageWriter>;
    fn CreateEncryptedPackageReader(
        &self,
        inputstream: Ref<'_, IStream>,
        keyinfo: *const APPX_KEY_INFO,
    ) -> Result<IAppxPackageReader>;
    fn EncryptBundle(
        &self,
        inputstream: Ref<'_, IStream>,
        outputstream: Ref<'_, IStream>,
        settings: *const APPX_ENCRYPTED_PACKAGE_SETTINGS,
        keyinfo: *const APPX_KEY_INFO,
        exemptedfiles: *const APPX_ENCRYPTED_EXEMPTIONS,
    ) -> Result<()>;
    fn DecryptBundle(
        &self,
        inputstream: Ref<'_, IStream>,
        outputstream: Ref<'_, IStream>,
        keyinfo: *const APPX_KEY_INFO,
    ) -> Result<()>;
    fn CreateEncryptedBundleWriter(
        &self,
        outputstream: Ref<'_, IStream>,
        bundleversion: u64,
        settings: *const APPX_ENCRYPTED_PACKAGE_SETTINGS,
        keyinfo: *const APPX_KEY_INFO,
        exemptedfiles: *const APPX_ENCRYPTED_EXEMPTIONS,
    ) -> Result<IAppxEncryptedBundleWriter>;
    fn CreateEncryptedBundleReader(
        &self,
        inputstream: Ref<'_, IStream>,
        keyinfo: *const APPX_KEY_INFO,
    ) -> Result<IAppxBundleReader>;
}

Required Methods§

fn EncryptPackage( &self, inputstream: Ref<'_, IStream>, outputstream: Ref<'_, IStream>, settings: *const APPX_ENCRYPTED_PACKAGE_SETTINGS, keyinfo: *const APPX_KEY_INFO, exemptedfiles: *const APPX_ENCRYPTED_EXEMPTIONS, ) -> Result<()>

fn DecryptPackage( &self, inputstream: Ref<'_, IStream>, outputstream: Ref<'_, IStream>, keyinfo: *const APPX_KEY_INFO, ) -> Result<()>

fn CreateEncryptedPackageWriter( &self, outputstream: Ref<'_, IStream>, manifeststream: Ref<'_, IStream>, settings: *const APPX_ENCRYPTED_PACKAGE_SETTINGS, keyinfo: *const APPX_KEY_INFO, exemptedfiles: *const APPX_ENCRYPTED_EXEMPTIONS, ) -> Result<IAppxEncryptedPackageWriter>

fn CreateEncryptedPackageReader( &self, inputstream: Ref<'_, IStream>, keyinfo: *const APPX_KEY_INFO, ) -> Result<IAppxPackageReader>

fn EncryptBundle( &self, inputstream: Ref<'_, IStream>, outputstream: Ref<'_, IStream>, settings: *const APPX_ENCRYPTED_PACKAGE_SETTINGS, keyinfo: *const APPX_KEY_INFO, exemptedfiles: *const APPX_ENCRYPTED_EXEMPTIONS, ) -> Result<()>

fn DecryptBundle( &self, inputstream: Ref<'_, IStream>, outputstream: Ref<'_, IStream>, keyinfo: *const APPX_KEY_INFO, ) -> Result<()>

fn CreateEncryptedBundleWriter( &self, outputstream: Ref<'_, IStream>, bundleversion: u64, settings: *const APPX_ENCRYPTED_PACKAGE_SETTINGS, keyinfo: *const APPX_KEY_INFO, exemptedfiles: *const APPX_ENCRYPTED_EXEMPTIONS, ) -> Result<IAppxEncryptedBundleWriter>

fn CreateEncryptedBundleReader( &self, inputstream: Ref<'_, IStream>, keyinfo: *const APPX_KEY_INFO, ) -> Result<IAppxBundleReader>

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§