Skip to content

Latest commit

 

History

History
83 lines (64 loc) · 2.87 KB

nf-appxpackaging-iappxencryptionfactory-encryptpackage.md

File metadata and controls

83 lines (64 loc) · 2.87 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:appxpackaging.IAppxEncryptionFactory.EncryptPackage
IAppxEncryptionFactory::EncryptPackage (appxpackaging.h)
Creates an encrypted Windows app package from an unencrypted one. (IAppxEncryptionFactory.EncryptPackage)
EncryptPackage
EncryptPackage method [App packaging and management]
EncryptPackage method [App packaging and management]
IAppxEncryptionFactory interface
IAppxEncryptionFactory interface [App packaging and management]
EncryptPackage method
IAppxEncryptionFactory.EncryptPackage
IAppxEncryptionFactory::EncryptPackage
appxpackaging/IAppxEncryptionFactory::EncryptPackage
appxpkg.iappxencryptionfactory_encryptpackage
appxpkg\iappxencryptionfactory_encryptpackage.htm
appxpkg
2C77A9F9-340C-4846-8EDA-26FAB7E53D60
12/05/2018
EncryptPackage, EncryptPackage method [App packaging and management], EncryptPackage method [App packaging and management],IAppxEncryptionFactory interface, IAppxEncryptionFactory interface [App packaging and management],EncryptPackage method, IAppxEncryptionFactory.EncryptPackage, IAppxEncryptionFactory::EncryptPackage, appxpackaging/IAppxEncryptionFactory::EncryptPackage, appxpkg.iappxencryptionfactory_encryptpackage
appxpackaging.h
Windows
Windows 10, version 1607 [desktop apps only]
Windows Server 2016 [desktop apps only]
AppxPackaging.idl
Windows
19H1
IAppxEncryptionFactory::EncryptPackage
appxpackaging/IAppxEncryptionFactory::EncryptPackage
c++
APIRef
kbSyntax
COM
AppxPackaging.h
IAppxEncryptionFactory.EncryptPackage

IAppxEncryptionFactory::EncryptPackage

-description

Creates an encrypted Windows app package from an unencrypted one.

-parameters

-param inputStream [in]

A readable stream from the app package to be encrypted.

-param outputStream [in]

A writable stream for writing the resulting encrypted app package.

-param settings [in]

Settings for creating the package.

-param keyInfo [in]

Key information containing the base encryption key and key ID. The base key is used to derive the per file encryption keys. If the base key is null, the global test key and key Id are used.

-param exemptedFiles

The list of files to be exempted from encryption.

-returns

If the method succeeds, it returns S_OK. Otherwise, it returns an error code.

-see-also

IAppxEncryptionFactory