pub trait IAppxEncryptionFactory_Impl: Sized {
    // Required methods
    fn EncryptPackage(
        &self,
        inputstream: Option<&IStream>,
        outputstream: Option<&IStream>,
        settings: *const APPX_ENCRYPTED_PACKAGE_SETTINGS,
        keyinfo: *const APPX_KEY_INFO,
        exemptedfiles: *const APPX_ENCRYPTED_EXEMPTIONS,
    ) -> Result<()>;
    fn DecryptPackage(
        &self,
        inputstream: Option<&IStream>,
        outputstream: Option<&IStream>,
        keyinfo: *const APPX_KEY_INFO,
    ) -> Result<()>;
    fn CreateEncryptedPackageWriter(
        &self,
        outputstream: Option<&IStream>,
        manifeststream: Option<&IStream>,
        settings: *const APPX_ENCRYPTED_PACKAGE_SETTINGS,
        keyinfo: *const APPX_KEY_INFO,
        exemptedfiles: *const APPX_ENCRYPTED_EXEMPTIONS,
    ) -> Result<IAppxEncryptedPackageWriter>;
    fn CreateEncryptedPackageReader(
        &self,
        inputstream: Option<&IStream>,
        keyinfo: *const APPX_KEY_INFO,
    ) -> Result<IAppxPackageReader>;
    fn EncryptBundle(
        &self,
        inputstream: Option<&IStream>,
        outputstream: Option<&IStream>,
        settings: *const APPX_ENCRYPTED_PACKAGE_SETTINGS,
        keyinfo: *const APPX_KEY_INFO,
        exemptedfiles: *const APPX_ENCRYPTED_EXEMPTIONS,
    ) -> Result<()>;
    fn DecryptBundle(
        &self,
        inputstream: Option<&IStream>,
        outputstream: Option<&IStream>,
        keyinfo: *const APPX_KEY_INFO,
    ) -> Result<()>;
    fn CreateEncryptedBundleWriter(
        &self,
        outputstream: Option<&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: Option<&IStream>,
        keyinfo: *const APPX_KEY_INFO,
    ) -> Result<IAppxBundleReader>;
}

Required Methods§

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

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

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

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

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

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

fn CreateEncryptedBundleWriter( &self, outputstream: Option<&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: Option<&IStream>, keyinfo: *const APPX_KEY_INFO, ) -> Result<IAppxBundleReader>

Object Safety§

This trait is not object safe.

Implementors§