• Home
  • Raw
  • Download

Lines Matching full:code

1 # Code Signature
5code signature component implements the code signing mechanism of OpenHarmony, which provides vali…
7 Architecture of the code signature component
11 The code signature component provides the following functions:
13 - Trusted certificate management: imports the device certificate and local code signing certificate…
14 - Code signing enabling: provides APIs in user mode to enable code signing of apps or code files du…
15 - Local code signing: runs the signing service on the device and provides interfaces to sign local
16 - Code attribute setting: provides APIs for setting the code owner ID and initializing the XPM regi…
24 │ ├── code_sign_attr_utils # APIs for setting code signing attributes
25 │ ├── code_sign_utils # APIs for enabling code signing
27 │ └── local_code_sign # APIs for local code signing
30 │ └── local_code_sign # Local code signing service
42 …pp(const EntryMap &entryPath, const std::string &signatureFile); | Enforces code signing for HAPs.|
43 …th, const EntryMap &entryPathMap, FileType type, uint32_t flag); | Enforces code signing for HAPs.|
44 …nForFile(const std::string &path, const ByteBuffer &signature); | Enforces code signing for files.|
45 …, const EntryMap &entryPathMap, FileType type, uint32_t flag); | Enforces code signing for HAPs wi…
46 …, const EntryMap &entryPathMap, FileType type, uint32_t flag); | Enforces code signing for HAPs wi…
50 | int32_t InitLocalCertificate(ByteBuffer &cert); | Initializes a local code signing certificate.|
51 | int32_t SignLocalCode(const std::string &filePath, ByteBuffer &signature); | Signs the local code
52 …ID, const std::string &filePath, ByteBuffer &signature); | Signs the local code with the owner ID.|