KasperskyOS Community Edition 1.3

KPA package manifest

A KPA package manifest is a JSON file that contains the information required when installing and using a KPA package. A list of the main keys for the KPA package manifest is presented in the table below.

Main keys of a KPA package manifest

Key name

Value type

Description

Required

Example

version

String

Manifest version number in the format {major}.{minor}, where major is the major version of the manifest and minor is the minor version of the manifest. The current version of the manifest is 2.0. It is not recommended to change this version because any change could result in problems with program operation.

Yes

"version": "2.0"

digestType

String

Identifier (OID) of the hash function that is used to calculate the checksum of object files and other checksums. If the value is not defined or is an empty string, the value "2.16.840.1.101.3.4.2.1" (SHA256 hash function) is used by default.

No

"digestType": "2.16.840.1.101.3.4.2.1"

application

Object

Information about the program.

Yes

Application object

platform

Object

Information about the target platform of the program.

Yes

Platform object

components

List of objects

List of KPA package components.

No

List of "components" objects

runConfiguration

List of objects

List of program startup configurations.

No

List of runConfiguration objects

privateStorage

Object

Isolated storage of program data.

No

PrivateStorage object

extensions

Object

User-defined object that lets you add custom contents to the manifest to meet the specific demands of the program developer.

No

Custom contents

In this section

Application object

Platform object

List of Components objects

List of runConfiguration objects

PrivateStorage object