Skip to content

Latest commit

 

History

History
83 lines (64 loc) · 2.92 KB

nf-appxpackaging-iappxencryptionfactory3-encryptpackage.md

File metadata and controls

83 lines (64 loc) · 2.92 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.IAppxEncryptionFactory3.EncryptPackage
IAppxEncryptionFactory3::EncryptPackage (appxpackaging.h)
Creates an encrypted Windows app package from an unencrypted one. (IAppxEncryptionFactory3.EncryptPackage)
EncryptPackage
EncryptPackage method [App packaging and management]
EncryptPackage method [App packaging and management]
IAppxEncryptionFactory3 interface
IAppxEncryptionFactory3 interface [App packaging and management]
EncryptPackage method
IAppxEncryptionFactory3.EncryptPackage
IAppxEncryptionFactory3::EncryptPackage
appxpackaging/IAppxEncryptionFactory3::EncryptPackage
appxpkg.iappxencryptionfactory3_encryptpackage
appxpkg\iappxencryptionfactory3_encryptpackage.htm
appxpkg
2B3FE76E-57B5-411C-BD87-B9AE3208A11D
12/05/2018
EncryptPackage, EncryptPackage method [App packaging and management], EncryptPackage method [App packaging and management],IAppxEncryptionFactory3 interface, IAppxEncryptionFactory3 interface [App packaging and management],EncryptPackage method, IAppxEncryptionFactory3.EncryptPackage, IAppxEncryptionFactory3::EncryptPackage, appxpackaging/IAppxEncryptionFactory3::EncryptPackage, appxpkg.iappxencryptionfactory3_encryptpackage
appxpackaging.h
Windows
Windows 10 [desktop apps only]
Windows Server 2016 [desktop apps only]
AppxPackaging.idl
Windows
19H1
IAppxEncryptionFactory3::EncryptPackage
appxpackaging/IAppxEncryptionFactory3::EncryptPackage
c++
APIRef
kbSyntax
COM
AppxPackaging.h
IAppxEncryptionFactory3.EncryptPackage

IAppxEncryptionFactory3::EncryptPackage

-description

Creates an encrypted Windows app package from an unencrypted one.

-parameters

-param inputStream [in]

A readable stream from the app bundle to encrypt.

-param outputStream [in]

A writable stream for writing the resulting encrypted app bundle.

-param settings [in]

Settings for creating the bundle.

-param keyInfo [in]

Key info containing the base encryption key and key ID for encrypting the bundle. The base encryption key is used to derive the per file encryption keys. If this parameter is null, the global test key and key ID are used.

-param exemptedFiles [in]

Files exempted from the package writer.

-returns

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

-see-also

IAppxEncryptionFactory3