/developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntoolcmd/ |
H A D | ParamsTrustlist.java | 53 COMMONDS.add(CmdUtil.Method.GENERATE_KEYPAIR + OPTIONS); 54 COMMONDS.add(CmdUtil.Method.GENERATE_CSR + OPTIONS); 55 COMMONDS.add(CmdUtil.Method.GENERATE_CERT + OPTIONS); 56 COMMONDS.add(CmdUtil.Method.GENERATE_CA + OPTIONS); 57 COMMONDS.add(CmdUtil.Method.GENERATE_APP_CERT + OPTIONS); 58 COMMONDS.add(CmdUtil.Method.GENERATE_PROFILE_CERT + OPTIONS); 59 COMMONDS.add(CmdUtil.Method.SIGN_PROFILE + OPTIONS); 60 COMMONDS.add(CmdUtil.Method.VERIFY_PROFILE + OPTIONS); 61 COMMONDS.add(CmdUtil.Method.SIGN_APP + OPTIONS); 62 COMMONDS.add(CmdUti [all...] |
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/sign/ |
H A D | BcSignedDataGenerator.java | 109 signInfoVector.add(signInfo); in getSignInfo() 110 digestVector.add(signInfo.getDigestAlgorithm()); in getSignInfo() 189 table.add(signingTimeAttr); in getPKCS9Attributes() 190 table.add(contentTypeAttr); in getPKCS9Attributes() 191 table.add(messageDigestAttr); in getPKCS9Attributes() 195 table.add(ownerIDAttr); in getPKCS9Attributes() 233 vector.add(getJcaX509CRLHolder((X509CRL) obj).toASN1Structure()); in createBerSetFromLst() 235 vector.add(getJcaX509CertificateHolder((X509Certificate) obj).toASN1Structure()); in createBerSetFromLst()
|
/developtools/hapsigner/hapsigntool/hap_sign_tool/src/test/java/com/ohos/hapsigntoolcmd/ |
H A D | HapSignToolTest.java | 70 tmpSource.add(new Cleanable(outputFile)); in testDefaultValue() 100 tmpSource.add(new Cleanable(outputFile)); in testSignElf() 132 tmpSource.add(new Cleanable(outputFile)); in testSignElfUnsignedProfile() 158 tmpSource.add(new Cleanable(outputFile)); in testParamWithoutKeyAlias() 181 tmpSource.add(new Cleanable(outputFile)); in testParamWithoutSignAlg() 205 tmpSource.add(new Cleanable(outputFile)); in testParamWithoutKeyPwd() 228 tmpSource.add(new Cleanable(outputFile)); in testParamWithoutAppCertFile() 251 tmpSource.add(new Cleanable(outputFile)); in testParamWithoutKeyStoreFile()
|
H A D | CmdUnitTest.java | 979 correctName.add("libs/中文.so"); in testIsRunnableFile() 980 correctName.add("srtjdwrtj.an"); in testIsRunnableFile() 981 correctName.add("srtjdwrtj.abc"); in testIsRunnableFile() 982 correctName.add("libs/srtjdwrtj.so"); in testIsRunnableFile() 983 correctName.add("libs/srtjdwrtj.so.1"); in testIsRunnableFile() 984 correctName.add("libs/srtjdwrtj.so.1.1"); in testIsRunnableFile() 985 correctName.add("libs/srtjdwrtj.so.1.1.1"); in testIsRunnableFile() 986 correctName.add("libs/srtjdwrtj.aaaa.111.111.1111"); in testIsRunnableFile() 987 correctName.add("libs/srtjdwrtj.so.111.111.1111"); in testIsRunnableFile() 988 correctName.add("lib in testIsRunnableFile() [all...] |
H A D | ConcurrencyTest.java | 113 tmpSource.add(new Cleanable(inputFile)); in generateSignHapTask() 114 tmpSource.add(new Cleanable(outputFile)); in generateSignHapTask() 115 tmpSource.add(new Cleanable(profile)); in generateSignHapTask() 146 futures.add(executor.submit(generateSignHapTask(countDownLatch))); in executeConcurrentTask()
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/ |
H A D | ProfileSignTool.java | 116 digestAlgIds.add(digestAlgId); in signProfile() 127 signerInfos.add(signerInfo); in signProfile() 157 vector.add(signTime); in generatePKCS9Attributes() 158 vector.add(contentType); in generatePKCS9Attributes() 159 vector.add(digestAtt); in generatePKCS9Attributes() 175 vector.add((new JcaX509CRLHolder(crl)).toASN1Structure()); in createBerSetFromCrls() 187 vector.add((new JcaX509CertificateHolder(cert)).toASN1Structure()); in createBerSetFromCerts()
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
H A D | CertUtils.java | 135 ids.add(KeyPurposeId.id_kp_clientAuth); in parseExtKeyUsage() 138 ids.add(KeyPurposeId.id_kp_serverAuth); in parseExtKeyUsage() 141 ids.add(KeyPurposeId.id_kp_codeSigning); in parseExtKeyUsage() 144 ids.add(KeyPurposeId.id_kp_emailProtection); in parseExtKeyUsage() 147 ids.add(KeyPurposeId.id_kp_smartcardlogon); in parseExtKeyUsage() 150 ids.add(KeyPurposeId.id_kp_timeStamping); in parseExtKeyUsage() 153 ids.add(KeyPurposeId.id_kp_OCSPSigning); in parseExtKeyUsage()
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/datastructure/ |
H A D | CodeSignBlock.java | 124 * add one segment to segmentHeaderList 129 this.segmentHeaderList.add(sh); in addToSegmentList() 141 segmentHeaderList.add(new SegmentHeader(SegmentHeader.CSB_FSVERITY_INFO_SEG, this.fsVerityInfoSegment.size())); in setSegmentHeaders() 143 segmentHeaderList.add(new SegmentHeader(SegmentHeader.CSB_HAP_META_SEG, this.hapInfoSegment.size())); in setSegmentHeaders() 145 segmentHeaderList.add( in setSegmentHeaders() 227 // add code sign block offset while computing align position for merkle tree in computeMerkleTreeOffset()
|
H A D | NativeLibInfoSegment.java | 140 this.fileNameList.add(fileName); in generateList() 141 this.signInfoList.add(signInfo); in generateList() 142 this.signedFilePosList.add( in generateList() 229 inSignedFilePosList.add(SignedFilePos.fromByteArray(entry)); in fromByteArray() 239 inFileNameList.add(new String(fileNameBuffer, StandardCharsets.UTF_8)); in fromByteArray() 254 inSignInfoList.add(SignInfo.fromByteArray(signInfoBuffer)); in fromByteArray()
|
H A D | SignInfo.java | 147 this.extensionList.add(extension); in addExtension() 290 inExtensionList.add(MerkleTreeExtension.fromByteArray(merkleTreeExtension)); in parseExtensionList() 299 inExtensionList.add(PageInfoExtension.fromByteArray(pageInfoExtension)); in parseExtensionList()
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/provider/ |
H A D | SignProvider.java | 103 VALID_SIGN_ALG_NAME.add(ParamConstants.HAP_SIG_ALGORITHM_SHA256_ECDSA); 104 VALID_SIGN_ALG_NAME.add(ParamConstants.HAP_SIG_ALGORITHM_SHA384_ECDSA); 105 VALID_SIGN_ALG_NAME.add(ParamConstants.HAP_SIG_ALGORITHM_SHA512_ECDSA); 106 VALID_SIGN_ALG_NAME.add(ParamConstants.HAP_SIG_ALGORITHM_SHA256_RSA_PSS); 107 VALID_SIGN_ALG_NAME.add(ParamConstants.HAP_SIG_ALGORITHM_SHA384_RSA_PSS); 108 VALID_SIGN_ALG_NAME.add(ParamConstants.HAP_SIG_ALGORITHM_SHA512_RSA_PSS); 109 VALID_SIGN_ALG_NAME.add(ParamConstants.HAP_SIG_ALGORITHM_SHA256_RSA_MGF1); 110 VALID_SIGN_ALG_NAME.add(ParamConstants.HAP_SIG_ALGORITHM_SHA384_RSA_MGF1); 111 VALID_SIGN_ALG_NAME.add(ParamConstants.HAP_SIG_ALGORITHM_SHA512_RSA_MGF1); 116 PARAMETERS_NEED_ESCAPE.add(ParamConstant [all...] |
/developtools/hapsigner/hapsigntool_cpp/zip/src/ |
H A D | zip_entry.cpp | 38 int add = alignNum - remainder; in Alignment() local 39 uint16_t newExtraLength = m_zipEntryData->GetZipEntryHeader()->GetExtraLength() + add; in Alignment() 48 return add; in Alignment()
|
/developtools/packing_tool/adapter/ohos/ |
H A D | UncompressResult.java | 79 this.profileInfos.add(profileInfo);
in addProfileInfo() 90 this.profileInfosStr.add(profileInfoStr);
in addProfileInfoStr()
|
H A D | BinaryTool.java | 99 // add packageName in writePackageInfo() 127 fileDirList.add(file); in writeFileInfo() 152 fileList.add(absolutePath); in writeFileInfo() 154 fileDirList.add(f); in writeFileInfo()
|
H A D | ModuleAdaption.java | 192 shortcut.intents.add(intentInfo);
in convertToShortcut() 194 shortcuts.add(shortcut);
in convertToShortcut() 213 customizeDatas.add(customizeData);
in convertToMetadata() 249 abilityInfos.add(abilityInfo);
in convertToAbilityInfo()
|
H A D | HapVerify.java | 458 internalOverlayHap.add(hapInfo);
in checkTargetModuleNameIsExisted() 459 targetModuleList.add(hapInfo.getTargetModuleName());
in checkTargetModuleNameIsExisted() 462 nonOverlayHap.add(hapInfo);
in checkTargetModuleNameIsExisted() 464 moduleList.add(hapInfo.getModuleName());
in checkTargetModuleNameIsExisted() 511 uriSet.add(uri);
in checkProxyDataUriIsUnique() 530 entryHapVerifyInfos.add(hapVerifyInfo);
in checkEntryIsValid() 532 featureHapVerifyInfos.add(hapVerifyInfo);
in checkEntryIsValid() 693 deviceHaps.get(device).add(hapVerifyInfo);
in classifyEntry() 696 deviceHaps.get(device).add(hapVerifyInfo);
in classifyEntry() 1113 dependencyList.add(hapVerifyInf in checkDependencyIsValid() [all...] |
H A D | ModuleResult.java | 94 this.moduleProfileInfos.add(moduleProfileInfo); in addModuleProfileInfo()
|
H A D | ScanStatDuplicate.java | 182 filterList.add(model); in statDuplicate() 199 jsonList.add(jsonStr); in statDuplicate() 217 eleFiles.add(splitPath(filePath, UNPACK_NAME)); in getDuplicateResList() 228 files.add(splitPath(filePath, UNPACK_NAME)); in getDuplicateResList() 229 resList.add(model); in getDuplicateResList()
|
H A D | ScanStatSuffix.java | 245 jsonList.add(jsonStr); in statSuffix() 256 pathList.add(pack.getName() + file); in getPathListData() 289 soFiles.add(soFile); in setMapData() 308 resulList.add(paramModelSuffix); in setMapData() 386 fileInfoList.add(fileInfo); in accountType() 393 fileInfoList.add(fileInfo); in accountTypeUnknown()
|
H A D | ModuleJsonUtil.java | 502 moduleNames.add(moduleName);
in verifyModuleInPackInfo() 512 moduleNames.add(moduleName);
in verifyModuleInPackInfo() 580 packageNames.add(packageName);
in verifyPackageName() 590 packageNames.add(packageName);
in verifyPackageName() 742 finalModules.add(moduleObj);
in mergeTwoPackInfoObjByPackagePair() 766 finalPackages.add(srcPackageObj);
in mergeTwoPackInfoObjByPackagePair() 998 moduleMetadataInfos.add(parseModuleMetadata(metadata, profileJson));
in parseModuleAllMetadata() 1091 abilityNames.add(getJsonString(abilityObj, NAME));
in parseAbilityNames() 1139 extensionAbilityNames.add(getJsonString(extensionAbilityObj, NAME));
in parseExtensionAbilityName() 1231 dependencyItemList.add(ite in parseDependencies() [all...] |
/developtools/ace_js2bundle/ace-loader/src/ |
H A D | compile-plugin.js | 63 entryPaths.add(module.resource); 76 commonPaths.add(commonPath); 81 i18nPaths.add(i18nPath); 180 entryPaths.add(element);
|
/developtools/profiler/tools/smaps_show/src/ |
H A D | main.rs | 39 fn add(&mut self, key: &String, val: u64) { in add() functions 167 summary.add(&n, v); in print_smaps_core() 174 // add summary row in print_smaps_core() 270 output.get_mut(idx).unwrap().add(&n, v); in read_smaps() 286 vms.add(&n, v); in read_smaps()
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/ |
H A D | ZipEntry.java | 46 * @return add bytes length 58 int add = alignNum - remainder; in alignment() 59 int newExtraLength = zipEntryData.getZipEntryHeader().getExtraLength() + add; in alignment() 66 return add; in alignment()
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/elf/ |
H A D | ElfFile.java | 59 programHeaderList.add(pHeader); in ElfFile()
|
/developtools/ace_ets2bundle/compiler/ |
H A D | main.js | 312 abilityPagesFullPath.add(path.resolve(mainEntryPath).toLowerCase()); 373 abilityPagesFullPath.add(path.resolve(pages).toLowerCase()); 399 abilityPagesFullPath.add(path.resolve(item).toLowerCase()); 476 abilityPagesFullPath.add(getAbilityFullPath(projectConfig.projectPath, moduleSrcEntry)); 479 abilityPagesFullPath.add(getAbilityFullPath(projectConfig.projectPath, moduleSrcEntrance)); 497 abilityPagesFullPath.add(getAbilityFullPath(projectConfig.projectPath, ability.srcEntry)); 500 abilityPagesFullPath.add(getAbilityFullPath(projectConfig.projectPath, ability.srcEntrance)); 574 abilityPagesFullPath.add(path.resolve(item).toLowerCase()); 591 // add intent framework entry file 598 abilityPagesFullPath.add(pat [all...] |