mirror of
https://github.com/openharmony/security_dataclassification.git
synced 2026-07-01 06:41:52 -04:00
5.9 KiB
Executable File
5.9 KiB
Executable File
dataclassification
Introduction
The data classification module of OpenHarmony provides hierarchical data protection policies and related APIs. (Currently, OpenHarmony does not provide implementations for specific APIs. These APIs must be implemented by the device vendors to protect the security of data on OpenHarmony devices.)
The data classification module provides the following APIs (into two submodules):
- APIs for setting and obtaining the data label: With these APIs, you can set and obtain the security level of a file to be written to the disk.
- APIs for controlling cross-device data access based on the device security level: The distributed cross-device data transmission service can use these APIs to obtain the highest data security level supported by the peer device.
The two submodules only contain API definitions, but do not implement these APIs. The following figure shows the architecture of the data classification module.
Architecture
Figure 1 Architecture of the data classification module
Available APIs
Table 1 APIs provided by the data classification module
Repositories Involved
Security subsystem
base/security/dataclassification
