| /developtools/hapsigner/autosign/ |
| D | autosign.config | 28 // keypair of profile signature 29 profile.keypair.keyAlias=oh-profile1-key-v1 30 profile.keypair.keyPwd=123456 48 sub-ca.profile.keyAlias=oh-profile-sign-srv-ca-key-v1 49 sub-ca.profile.subject=C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Profile Signature Service CA 50 sub-ca.profile.outFile=profile-sign-srv-ca1.cer 57 cert.profile.subject=C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Profile1 Release 58 cert.profile.outFile=profile1.pem 60 // Sign profile 61 sign.profile.inFile=app1-profile-release.json [all …]
|
| D | createRootAndSubCert.config | 23 // keypair of profile signature 24 profile.keypair.keyAlias=oh-profile-key-v1 25 profile.keypair.keyPwd=123456 38 sub-ca.profile.keyAlias=oh-profile-sign-srv-ca-key-v1 39 sub-ca.profile.subject=C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Profile Signature Service CA 40 sub-ca.profile.outFile=profile-sign-srv-ca1.cer 43 cert.profile.subject=C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Profile1 Release 44 cert.profile.outFile=profile1.pem 49 sub-ca.profile.issuer=$root-ca.subject 50 sub-ca.profile.issuerKeyAlias=$root-ca.keyAlias [all …]
|
| D | createAppCertAndProfile.config | 28 // keypair of profile signature 29 profile.keypair.keyAlias=openharmony application profile release 30 profile.keypair.keyPwd=123456 45 cert.profile.outFile=OpenHarmonyProfileRelease.pem 47 // Sign profile 48 sign.profile.inFile=UnsgnedReleasedProfileTemplate.json 49 sign.profile.outFile=app1-profile.p7b 58 sign.profile.keyAlias=$profile.keypair.keyAlias 59 sign.profile.profileCertFile=$cert.profile.outFile
|
| D | signHap.config | 27 // Sign profile 28 sign.profile.outFile=app1-profile.p7b 38 sign.app.profileFile=$sign.profile.outFile
|
| D | signElf.config | 27 // Sign profile 28 sign.profile.outFile=app1-profile.p7b 39 sign.app.profileFile=$sign.profile.outFile
|
| D | autosign.py | 283 profile = {} 286 profile = json.load(f) 288 profile["bundle-info"]["distribution-certificate"] = app_cert 294 json.dump(profile, profile_write)
|
| D | README.md | 20 2. Prepare your unsigned app and provision profile. Make sure correct config file location. 40 3. Prepare your unsigned app and provision profile. Make sure correct config file location.
|
| /developtools/hapsigner/tools/ |
| D | commands.config | 26 …profile-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHar… 27 …oreFile "ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "profile-sign-srv-ca.cer"', 28 …profile-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuerKeyAlias "oh-roo… 29 …profile-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHar… 30 …profile-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHar… 31 …profile-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHar… 32 …profile-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHar… 33 …profile-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHar… 34 …profile-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHar… 35 …profile-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHar… [all …]
|
| /developtools/hapsigner/ |
| D | README_ZH.md | 74 命令行签名分为profile文件签名和hap包或二进制工具签名。 76 (1)签名profile文件的命令实例如下: 80 …profile -keyAlias "oh-profile1-key-v1" -signAlg "SHA256withECDSA" -mode "localSign" -profileCertFi… 84 sign-profile : ProvisionProfile文件签名 101 …ode "localSign" -appCertFile "result\app1.pem" -profileFile "result\app1-profile.p7b" -inFile "app… 111 ├── -profileSigned #指示profile文件是否带有签名,1表示有签名,0表示没有签名,默认为1。可选项 123 为降低学习成本,提高开发效率,本项目还将基于应用签名工具提供一键签名脚本,免于输入繁杂的参数命令,脚本内容包括生成密钥对、实体证书、签名profile包、签名hap包和二进制工具的命令。 138 3. 准备待签名的应用hap包、二进制工具和 Provision profile 模板文件 143 > 说明:如需自定义生成密钥库文件,根CA,中间CA证书,profile签名证书,可执行以下步骤 145 2.Linux运行 create_root.sh、Windows运行 create_root.bat 生成所需密钥库文件,根CA,中间CA证书,profile签名证书 [all …]
|
| D | README.md | 7 …ir, a certificate signing request (CSR), or a certificate, and signing a profile, a Harmony Abilit… 68 You can use commands to sign a profile and a HAP or binary tool. 70 1. Sign a profile. 74 …profile -keyAlias "oh-profile1-key-v1" -signAlg "SHA256withECDSA" -mode "localSign" -profileCertFi… 78 sign-profile: Sign a provisioning profile. 83 ├── -inFile # Provisioning profile to be signed. It is mandatory. 87 … ├── -outFile # Signed provisioning profile to generate, in p7b format. It is mandatory. 95 …ode "localSign" -appCertFile "result\app1.pem" -profileFile "result\app1-profile.p7b" -inFile "app… 104 …├── -profileFile # Signed provisioning profile in p7b format. This parameter is mandatory fo… 105 …├── -profileSigned # Whether the profile is signed. The value 1 means the profile is signed, a… [all …]
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/resources/ |
| D | help.txt | 16 USAGE: <generate-keypair|generate-csr|generate-cert|generate-ca|generate-app-cert|generate-profile-… 17 USAGE: <sign-profile|verify-profile|sign-app|verify-app> [options] 30 …generate-keypair -keyAlias "oh-profile-key-v1" -keyPwd ****** -keyAlg RSA -keySize 2048 -keystoreF… 94 …profile-key-v1" -keyAlg RSA -keySize 4096 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=… 119 generate-profile-cert [options]: 139 …profile-cert -keyAlias "oh-profile-key-v1" -keyPwd ****** -issuer "C=CN,O=OpenHarmony,OU=OpenHarmo… 140 …profile-cert -keyAlias "oh-profile-key-v1" -keyPwd ****** -issuer "C=CN,O=OpenHarmony,OU=OpenHarmo… 142 sign-profile [options]: 146 …-profileCertFile : profile signing certificate (certificate chain, the order is three-level-two-ro… 155 …profile -mode localSign -keyAlias "oh-profile-key-v1" -keyPwd ****** -profileCertFile "D:\OH\provi… [all …]
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/ |
| D | VerifyResult.java | 120 private byte[] profile; field in VerifyResult 214 return profile; in getProfile() 217 public void setProfile(byte[] profile) { in setProfile() argument 218 this.profile = profile; in setProfile()
|
| D | VerifyElf.java | 67 private static String getProfileContent(byte[] profile) throws ProfileException { in getProfileContent() argument 69 CMSSignedData cmsSignedData = new CMSSignedData(profile); in getProfileContent() 79 return new String(profile, StandardCharsets.UTF_8); in getProfileContent() 165 byte[] profile = verifyResult.getProfile(); in outputOptionalBlocks() 166 if (profile != null) { in outputOptionalBlocks() 167 writeOptionalBytesToFile(profile, outputProfileFile); in outputOptionalBlocks()
|
| D | VerifyHap.java | 89 private static String getProfileContent(byte[] profile) throws ProfileException { in getProfileContent() argument 91 CMSSignedData cmsSignedData = new CMSSignedData(profile); in getProfileContent() 101 return new String(profile, StandardCharsets.UTF_8); in getProfileContent() 209 byte[] profile = verifyResult.getProfile(); in outputOptionalBlocks() 210 if (profile != null) { in outputOptionalBlocks() 211 writeOptionalBytesToFile(profile, outputProfileFile); in outputOptionalBlocks()
|
| /developtools/ace_ets2bundle/compiler/src/ |
| D | gen_aot.ts | 106 const profile: string = projectConfig.apPath; constant 107 if (!validateFilePathLength(profile, logger)) { 110 if (!fs.existsSync(profile)) { 111 faultHandler(`ArkTS:ERROR generateAot failed. Partial mode lost profile in "${profile}"`); 113 …gleCmdPrefix + ` --enable-pgo-profiler=true --compiler-pgo-profiler-path="${profile}" "${appAbc}"`;
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/ |
| D | IProvisionVerifier.java | 16 package com.ohos.hapsigntool.profile; 19 import com.ohos.hapsigntool.profile.model.VerificationResult;
|
| /developtools/integration_verification/tools/rom_ram_analyzer/standard/ |
| D | README.md | 96 基于out/{product_name}/packages/phone下所有cfg文件、out/{product_name}/packages/phone/system/profile下所有json… 117 1. out/{product_name}/packages/phone/system/profile下所有json 文件 135 … path of sa json file. eg: -x ~/openharmony/out/rk3568/packages/phone/system/profile 153 …python .\ram_analyzer.py -s .\profile\ -c .\cfgs -j .\rom_analysis_result.json -n 700100545832393… 154 # -s profile:copy到本地的out/rk3568/package/phone/system/profile目录
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/model/ |
| D | Acls.java | 16 package com.ohos.hapsigntool.profile.model;
|
| D | VerificationResult.java | 16 package com.ohos.hapsigntool.profile.model;
|
| D | Permissions.java | 16 package com.ohos.hapsigntool.profile.model;
|
| D | Validity.java | 16 package com.ohos.hapsigntool.profile.model;
|
| D | DebugInfo.java | 16 package com.ohos.hapsigntool.profile.model;
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/test/java/com/ohos/hapsigntool/ |
| D | ProfileTest.java | 24 import com.ohos.hapsigntool.profile.ProfileSignTool; 25 import com.ohos.hapsigntool.profile.VerifyHelper; 26 import com.ohos.hapsigntool.profile.model.VerificationResult;
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
| D | ProfileUtils.java | 19 import com.ohos.hapsigntool.profile.model.Provision;
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/provider/ |
| D | SignProvider.java | 136 String profile = signParams.get(ParamConstants.PARAM_BASIC_PROFILE); in loadOptionalBlocks() local 137 loadOptionalBlock(profile, HapUtils.HAP_PROFILE_BLOCK_ID); in loadOptionalBlocks() 581 byte[] profile = new byte[0]; in findProfileFromOptionalBlocks() 584 profile = optionalBlock.getValue(); in findProfileFromOptionalBlocks() 587 return profile; in findProfileFromOptionalBlocks() 599 byte[] profile = findProfileFromOptionalBlocks(); in checkProfileValid() 603 CMSSignedData cmsSignedData = new CMSSignedData(profile); in checkProfileValid() 614 profileContent = new String(profile, StandardCharsets.UTF_8); in checkProfileValid()
|