IAppxEncryptionFactory::CreateEncryptedBundleReader method (appxpackaging.h)
Creates a read-only bundle object to which encrypted Windows app packages can be added.
Syntax
HRESULT CreateEncryptedBundleReader(
[in] IStream *inputStream,
[in] const APPX_KEY_INFO *keyInfo,
[out, retval] IAppxBundleReader **bundleReader
);
Parameters
[in] inputStream
A stream for reading the encrypted bundle.
[in] keyInfo
Key info containing the base encryption key and key ID for decrypting the bundle. The base key is used to derive the per file encryption keys. If this parameter is null, the global test key and key ID are used.
[out, retval] bundleReader
The bundle reader object created.
Return value
If the method succeeds, it returns S_OK. Otherwise, it returns an error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1607 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | appxpackaging.h |