Esempio n. 1
0
 public int CreateEncryptedBundleWriter(IStream *outputStream, [NativeTypeName("UINT64")] ulong bundleVersion, [NativeTypeName("const APPX_ENCRYPTED_PACKAGE_SETTINGS *")] APPX_ENCRYPTED_PACKAGE_SETTINGS *settings, [NativeTypeName("const APPX_KEY_INFO *")] APPX_KEY_INFO *keyInfo, [NativeTypeName("const APPX_ENCRYPTED_EXEMPTIONS *")] APPX_ENCRYPTED_EXEMPTIONS *exemptedFiles, IAppxEncryptedBundleWriter **bundleWriter)
 {
     return(((delegate * unmanaged <IAppxEncryptionFactory *, IStream *, ulong, APPX_ENCRYPTED_PACKAGE_SETTINGS *, APPX_KEY_INFO *, APPX_ENCRYPTED_EXEMPTIONS *, IAppxEncryptedBundleWriter **, int>)(lpVtbl[9]))((IAppxEncryptionFactory *)Unsafe.AsPointer(ref this), outputStream, bundleVersion, settings, keyInfo, exemptedFiles, bundleWriter));
 }
Esempio n. 2
0
 public int CreateEncryptedPackageWriter(IStream *outputStream, IStream *manifestStream, [NativeTypeName("const APPX_ENCRYPTED_PACKAGE_SETTINGS *")] APPX_ENCRYPTED_PACKAGE_SETTINGS *settings, [NativeTypeName("const APPX_KEY_INFO *")] APPX_KEY_INFO *keyInfo, [NativeTypeName("const APPX_ENCRYPTED_EXEMPTIONS *")] APPX_ENCRYPTED_EXEMPTIONS *exemptedFiles, IAppxEncryptedPackageWriter **packageWriter)
 {
     return(((delegate * unmanaged <IAppxEncryptionFactory *, IStream *, IStream *, APPX_ENCRYPTED_PACKAGE_SETTINGS *, APPX_KEY_INFO *, APPX_ENCRYPTED_EXEMPTIONS *, IAppxEncryptedPackageWriter **, int>)(lpVtbl[5]))((IAppxEncryptionFactory *)Unsafe.AsPointer(ref this), outputStream, manifestStream, settings, keyInfo, exemptedFiles, packageWriter));
 }
Esempio n. 3
0
 public int EncryptBundle(IStream *inputStream, IStream *outputStream, [NativeTypeName("const APPX_ENCRYPTED_PACKAGE_SETTINGS *")] APPX_ENCRYPTED_PACKAGE_SETTINGS *settings, [NativeTypeName("const APPX_KEY_INFO *")] APPX_KEY_INFO *keyInfo, [NativeTypeName("const APPX_ENCRYPTED_EXEMPTIONS *")] APPX_ENCRYPTED_EXEMPTIONS *exemptedFiles)
 {
     return(((delegate * unmanaged <IAppxEncryptionFactory *, IStream *, IStream *, APPX_ENCRYPTED_PACKAGE_SETTINGS *, APPX_KEY_INFO *, APPX_ENCRYPTED_EXEMPTIONS *, int>)(lpVtbl[7]))((IAppxEncryptionFactory *)Unsafe.AsPointer(ref this), inputStream, outputStream, settings, keyInfo, exemptedFiles));
 }
 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));
 }