public HRESULT EncryptPackage(IStream *inputStream, IStream *outputStream, [NativeTypeName("const APPX_ENCRYPTED_PACKAGE_SETTINGS2 *")] APPX_ENCRYPTED_PACKAGE_SETTINGS2 *settings, [NativeTypeName("const APPX_KEY_INFO *")] APPX_KEY_INFO *keyInfo, [NativeTypeName("const APPX_ENCRYPTED_EXEMPTIONS *")] APPX_ENCRYPTED_EXEMPTIONS *exemptedFiles, [NativeTypeName("UINT64")] ulong memoryLimit)
 {
     return(((delegate * unmanaged <IAppxEncryptionFactory4 *, IStream *, IStream *, APPX_ENCRYPTED_PACKAGE_SETTINGS2 *, APPX_KEY_INFO *, APPX_ENCRYPTED_EXEMPTIONS *, ulong, int>)(lpVtbl[3]))((IAppxEncryptionFactory4 *)Unsafe.AsPointer(ref this), inputStream, outputStream, settings, keyInfo, exemptedFiles, memoryLimit));
 }
 public HRESULT CreateEncryptedBundleWriter(IStream *outputStream, [NativeTypeName("UINT64")] ulong bundleVersion, [NativeTypeName("const APPX_ENCRYPTED_PACKAGE_SETTINGS2 *")] APPX_ENCRYPTED_PACKAGE_SETTINGS2 *settings, [NativeTypeName("const APPX_KEY_INFO *")] APPX_KEY_INFO *keyInfo, [NativeTypeName("const APPX_ENCRYPTED_EXEMPTIONS *")] APPX_ENCRYPTED_EXEMPTIONS *exemptedFiles, IAppxEncryptedBundleWriter **bundleWriter)
 {
     return(((delegate * unmanaged <IAppxEncryptionFactory3 *, IStream *, ulong, APPX_ENCRYPTED_PACKAGE_SETTINGS2 *, APPX_KEY_INFO *, APPX_ENCRYPTED_EXEMPTIONS *, IAppxEncryptedBundleWriter **, int>)(lpVtbl[6]))((IAppxEncryptionFactory3 *)Unsafe.AsPointer(ref this), outputStream, bundleVersion, settings, keyInfo, exemptedFiles, bundleWriter));
 }
Exemplo n.º 3
0
 public int UpdateEncryptedPackage([NativeTypeName("IStream *")] IStream *baselineEncryptedPackageStream, [NativeTypeName("IStream *")] IStream *deltaPackageStream, APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_OPTION updateOption, [NativeTypeName("const APPX_ENCRYPTED_PACKAGE_SETTINGS2 *")] APPX_ENCRYPTED_PACKAGE_SETTINGS2 *settings, [NativeTypeName("const APPX_KEY_INFO *")] APPX_KEY_INFO *keyInfo)
 {
     return(((delegate * unmanaged <IAppxPackageEditor *, IStream *, IStream *, APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_OPTION, APPX_ENCRYPTED_PACKAGE_SETTINGS2 *, APPX_KEY_INFO *, int>)(lpVtbl[7]))((IAppxPackageEditor *)Unsafe.AsPointer(ref this), baselineEncryptedPackageStream, deltaPackageStream, updateOption, settings, keyInfo));
 }
 public HRESULT CreateEncryptedPackageWriter(IStream *outputStream, IStream *manifestStream, IStream *contentGroupMapStream, [NativeTypeName("const APPX_ENCRYPTED_PACKAGE_SETTINGS2 *")] APPX_ENCRYPTED_PACKAGE_SETTINGS2 *settings, [NativeTypeName("const APPX_KEY_INFO *")] APPX_KEY_INFO *keyInfo, [NativeTypeName("const APPX_ENCRYPTED_EXEMPTIONS *")] APPX_ENCRYPTED_EXEMPTIONS *exemptedFiles, IAppxEncryptedPackageWriter **packageWriter)
 {
     return(((delegate * unmanaged <IAppxEncryptionFactory3 *, IStream *, IStream *, IStream *, APPX_ENCRYPTED_PACKAGE_SETTINGS2 *, APPX_KEY_INFO *, APPX_ENCRYPTED_EXEMPTIONS *, IAppxEncryptedPackageWriter **, int>)(lpVtbl[4]))((IAppxEncryptionFactory3 *)Unsafe.AsPointer(ref this), outputStream, manifestStream, contentGroupMapStream, settings, keyInfo, exemptedFiles, packageWriter));
 }
 public int EncryptBundle(IStream *inputStream, IStream *outputStream, [NativeTypeName("const APPX_ENCRYPTED_PACKAGE_SETTINGS2 *")] APPX_ENCRYPTED_PACKAGE_SETTINGS2 *settings, [NativeTypeName("const APPX_KEY_INFO *")] APPX_KEY_INFO *keyInfo, [NativeTypeName("const APPX_ENCRYPTED_EXEMPTIONS *")] APPX_ENCRYPTED_EXEMPTIONS *exemptedFiles)
 {
     return(((delegate * unmanaged <IAppxEncryptionFactory3 *, IStream *, IStream *, APPX_ENCRYPTED_PACKAGE_SETTINGS2 *, APPX_KEY_INFO *, APPX_ENCRYPTED_EXEMPTIONS *, int>)(lpVtbl[5]))((IAppxEncryptionFactory3 *)Unsafe.AsPointer(ref this), inputStream, outputStream, settings, keyInfo, exemptedFiles));
 }