| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/cert/ |
| D | CertBuilder.java | 90 logger.debug(exception.getMessage(), exception); in CertBuilder() 91 CustomException.throwException(ERROR.IO_CSR_ERROR, exception.getMessage()); in CertBuilder() 102 logger.debug(exception.getMessage(), exception); in CertBuilder() 103 CustomException.throwException(ERROR.NOT_SUPPORT_ERROR, exception.getMessage()); in CertBuilder() 105 logger.debug(exception.getMessage(), exception); in CertBuilder() 106 CustomException.throwException(ERROR.IO_CERT_ERROR, exception.getMessage()); in CertBuilder() 125 logger.debug(exception.getMessage(), exception); in withAuthorityKeyIdentifier() 126 CustomException.throwException(ERROR.NOT_SUPPORT_ERROR, exception.getMessage()); in withAuthorityKeyIdentifier() 128 logger.debug(exception.getMessage(), exception); in withAuthorityKeyIdentifier() 129 CustomException.throwException(ERROR.IO_CERT_ERROR, exception.getMessage()); in withAuthorityKeyIdentifier() [all …]
|
| D | CertTools.java | 103 LOGGER.debug(exception.getMessage(), exception); in generateRootCaCert() 104 CustomException.throwException(ERROR.IO_CERT_ERROR, exception.getMessage()); in generateRootCaCert() 127 LOGGER.debug(exception.getMessage(), exception); in generateSubCert() 128 CustomException.throwException(ERROR.IO_CERT_ERROR, exception.getMessage()); in generateSubCert() 155 LOGGER.debug(exception.getMessage(), exception); in generateCert() 156 CustomException.throwException(ERROR.IO_CERT_ERROR, exception.getMessage()); in generateCert() 181 LOGGER.debug(exception.getMessage(), exception); in generateEndCert() 182 CustomException.throwException(ERROR.IO_CERT_ERROR, exception.getMessage()); in generateEndCert() 203 LOGGER.debug(exception.getMessage(), exception); in generateCsr() 233 LOGGER.debug(exception.getMessage(), exception); in createFixedContentSigner() [all …]
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/keystore/ |
| D | KeyStoreHelper.java | 136 logger.debug(exception.getMessage(), exception); in KeyStoreHelper() 137 …tomException.throwException(ERROR.ACCESS_ERROR, "Init keystore failed: " + exception.getMessage()); in KeyStoreHelper() 173 logger.debug(exception.getMessage(), exception); in hasAlias() 174 CustomException.throwException(ERROR.ACCESS_ERROR, exception.getMessage()); in hasAlias() 206 logger.debug(exception.getMessage(), exception); in loadPrivateKey() 207 CustomException.throwException(ERROR.ACCESS_ERROR, exception.getMessage()); in loadPrivateKey() 209 logger.debug(exception.getMessage(), exception); in loadPrivateKey() 230 logger.debug(exception.getMessage(), exception); in putValidCert() 258 logger.debug(exception.getMessage(), exception); in loadCertificates() 259 CustomException.throwException(ERROR.KEYSTORE_OPERATION_ERROR, exception.getMessage()); in loadCertificates() [all …]
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/key/ |
| D | KeyPairTools.java | 116 LOGGER.debug(e.getMessage(), e); in generateKeyPair() 117 CustomException.throwException(ERROR.NOT_SUPPORT_ERROR, e.getMessage()); in generateKeyPair() 145 LOGGER.debug(exception.getMessage(), exception); in stringToPublicKey() 146 CustomException.throwException(ERROR.ACCESS_ERROR, exception.getMessage()); in stringToPublicKey() 164 LOGGER.debug(exception.getMessage(), exception); in stringToPrivateKey() 165 CustomException.throwException(ERROR.ACCESS_ERROR, exception.getMessage()); in stringToPrivateKey()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/test/java/com/ohos/hapsigntool/ |
| D | CertTest.java | 116 logger.error(exception, () -> exception.getMessage()); in testRootCaCert() 122 logger.error(exception, () -> exception.getMessage()); in testRootCaCert() 133 logger.error(exception, () -> exception.getMessage()); in testRootCaCert() 156 logger.info(exception, () -> exception.getMessage()); in testSubCaCert() 162 logger.info(exception, () -> exception.getMessage()); in testSubCaCert() 173 logger.info(exception, () -> exception.getMessage()); in testSubCaCert() 196 logger.info(exception, () -> exception.getMessage()); in testAppCert() 202 logger.info(exception, () -> exception.getMessage()); in testAppCert() 213 logger.info(exception, () -> exception.getMessage()); in testAppCert()
|
| D | ProfileTest.java | 132 logger.info(exception, () -> exception.getMessage()); in testProfile() 150 CustomException.throwException(ERROR.VERIFY_ERROR, e.getMessage()); in testProfile() 162 logger.info(exception, () -> exception.getMessage()); in testProfile() 168 logger.info(exception, () -> exception.getMessage()); in testProfile()
|
| D | KeyPairTest.java | 78 logger.info(exception, () -> exception.getMessage()); in testKeyPair() 84 logger.info(exception, () -> exception.getMessage()); in testKeyPair()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/api/ |
| D | SignToolServiceImpl.java | 259 logger.debug(exception.getMessage(), exception); in signProfile() 260 logger.error(exception.getMessage()); in signProfile() 282 logger.error(verificationResult.getMessage()); in verifyProfile() 286 logger.debug(exception.getMessage(), exception); in verifyProfile() 287 logger.error(exception.getMessage()); in verifyProfile() 290 … CustomException.throwException(ERROR.VERIFY_ERROR, "Verify Profile Failed! " + e.getMessage()); in verifyProfile() 351 logger.debug(exception.getMessage(), exception); in outputString() 352 CustomException.throwException(ERROR.WRITE_FILE_ERROR, exception.getMessage()); in outputString() 374 logger.debug(exception.getMessage(), exception); in outputCert() 375 CustomException.throwException(ERROR.WRITE_FILE_ERROR, exception.getMessage()); in outputCert() [all …]
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/ |
| D | VerifyHelper.java | 94 LOGGER.debug(exception.getMessage(), exception); in verifySignature() 95 …xception.throwException(ERROR.SIGN_ERROR, "Failed to verify signature: " + exception.getMessage()); in verifySignature() 121 LOGGER.debug(exception.getMessage(), exception); in certStoreToCertList() 162 LOGGER.debug(exception.getMessage(), exception); in verify() 163 result.setMessage(exception.getMessage()); in verify() 200 LOGGER.debug(exception.getMessage(), exception); in verifyPkcs() 202 + exception.getMessage()); in verifyPkcs()
|
| D | ProfileSignTool.java | 96 … CustomException.throwException(ERROR.VERIFY_ERROR, "Generate Profile Failed! " + e.getMessage()); in generateP7b() 99 verificationResult.getMessage()); in generateP7b() 137 LOGGER.debug(e.getMessage(), e); in signProfile() 138 CustomException.throwException(ERROR.SIGN_ERROR, e.getMessage()); in signProfile()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/fsverity/ |
| D | FsVerityGenerator.java | 64 throw new FsVerityDigestException("IOException: " + e.getMessage()); in generateMerkleTree() 66 throw new FsVerityDigestException("Invalid algorithm:" + e.getMessage()); in generateMerkleTree() 102 throw new FsVerityDigestException("Invalid algorithm" + e.getMessage(), e); in generateFsVerityDigest()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/exception/ |
| D | SignatureException.java | 46 public String getMessage() { in getMessage() method in SignatureException 53 sb.append(super.getMessage()); in getMessage()
|
| /developtools/packing_tool/adapter/ohos/ |
| D | FileUtils.java | 76 LOG.error("getFileData IOException error: " + exception.getMessage()); in getFileData() 129 LOG.error("IOException error: " + msg.getMessage()); in getFileList() 158 LOG.error("get file content fail, msg is " + msg.getMessage()); in getFileContent() 179 LOG.error("stream close Error, msg is " + msg.getMessage()); in closeStream() 254 LOG.error("unzip file failed " + exception.getMessage()); in unzip() 288 LOG.error("deleteDirectory IOException : " + msg.getMessage()); in deleteDirectory() 306 LOG.error("format path IOException : " + msg.getMessage()); in getFormatedPath() 414 LOG.error("Compressor::checkModuleTypeInHaps io exception: " + exception.getMessage()); in getJsonInZips() 554 LOG.error("FileUtil::unzipFile failed, IOException is " + e.getMessage()); in unzipFile() 574 LOG.error("FileUtil::extractFile failed, Exception is " + e.getMessage()); in extractFile()
|
| D | BinaryTool.java | 72 LOG.error("IOException, msg is: " + msg.getMessage()); in generateBinaryFile() 104 LOG.error("write packageInfo fail, msg is " + msg.getMessage()); in writePackageInfo() 157 LOG.error("write fail, msg is: " + msg.getMessage()); in writeFileInfo()
|
| /developtools/profiler/host/smartperf/ide/src/hdc/ |
| D | HdcDeviceManager.ts | 122 let dataMessage = await hdcStream.getMessage(); 152 let dataMessage = await hdcStream.getMessage(); 179 let dataMessage = await hdcStream.getMessage(); 232 let dataMessage = await hdcStream.getMessage();
|
| /developtools/smartperf_host/ide/src/hdc/ |
| D | HdcDeviceManager.ts | 122 let dataMessage = await hdcStream.getMessage(); 152 let dataMessage = await hdcStream.getMessage(); 179 let dataMessage = await hdcStream.getMessage(); 232 let dataMessage = await hdcStream.getMessage();
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/ |
| D | VerifyHap.java | 152 LOGGER.error("verify: {}", verifyResult.getMessage()); in verify() 174 LOGGER.info("verify: {}", verifyResult.getMessage()); in verify() 269 result = new VerifyResult(false, VerifyResult.RET_IO_ERROR, e.getMessage()); in verifyHap() 272 … result = new VerifyResult(false, VerifyResult.RET_SIGNATURE_NOT_FOUND_ERROR, e.getMessage()); in verifyHap() 275 … result = new VerifyResult(false, VerifyResult.RET_UNSUPPORTED_FORMAT_ERROR, e.getMessage()); in verifyHap() 278 result = new VerifyResult(false, VerifyResult.RET_DIGEST_ERROR, e.getMessage()); in verifyHap() 281 … result = new VerifyResult(false, VerifyResult.RET_CODE_SIGN_BLOCK_ERROR, e.getMessage()); in verifyHap() 284 result = new VerifyResult(false, VerifyResult.RET_SIGNATURE_ERROR, e.getMessage()); in verifyHap() 287 return new VerifyResult(false, VerifyResult.RET_CODE_SIGN_BLOCK_ERROR, e.getMessage()); in verifyHap()
|
| D | VerifyElf.java | 130 LOGGER.error("verify: {}", verifyResult.getMessage()); in verify() 150 LOGGER.info("verify: {}", verifyResult.getMessage()); in verify() 238 result = new VerifyResult(false, VerifyResult.RET_IO_ERROR, e.getMessage()); in verifyElf() 241 result = new VerifyResult(false, VerifyResult.RET_IO_ERROR, e.getMessage()); in verifyElf() 244 result = new VerifyResult(false, VerifyResult.RET_IO_ERROR, e.getMessage()); in verifyElf()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/signer/ |
| D | LocalSigner.java | 88 logger.debug(exception.getMessage(), exception); in getSignature() 89 CustomException.throwException(ERROR.SIGN_ERROR, exception.getMessage()); in getSignature()
|
| D | SignerFactory.java | 119 LOGGER.warn("load remote signer from {} failed, msg: {}", signerPlugin, e.getMessage()); in loadRemoteSigner() 132 LOGGER.warn("{} can not convert to valid url, msg: {}", file, e.getMessage()); in fileToUrl() 145 LOGGER.warn("decode class location failed, will ignored. msg :{}", e.getMessage()); in getClassLocation()
|
| /developtools/profiler/host/smartperf/ide/src/hdc/hdcclient/ |
| D | HdcStream.ts | 106 let fileRecvDataMessage = await this.getMessage(); 118 let fileCheckDataMessage = await this.getMessage(); 156 getMessage(): Promise<DataMessage> { method in HdcStream
|
| /developtools/smartperf_host/ide/src/hdc/hdcclient/ |
| D | HdcStream.ts | 106 let fileRecvDataMessage = await this.getMessage(); 118 let fileCheckDataMessage = await this.getMessage(); 156 getMessage(): Promise<DataMessage> { method in HdcStream
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
| D | CertificateUtils.java | 68 … throw new VerifyCertificateChainException("The certificate has expired! " + e.getMessage()); in verifyCertChain() 71 … throw new VerifyCertificateChainException("verify certificate chain failed! " + e.getMessage()); in verifyCertChain()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool/src/test/java/com/ohos/hapsigntoolcmd/ |
| D | CmdUnitTest.java | 419 logger.info(exception, () -> exception.getMessage()); in testCmdKeypair() 460 logger.info(exception, () -> exception.getMessage()); in testCmdCsr() 491 logger.info(exception, () -> exception.getMessage()); in testCmdCert() 540 logger.info(exception, () -> exception.getMessage()); in testCmdCa() 576 logger.info(exception, () -> exception.getMessage()); in testCmdAppCert() 634 logger.info(exception, () -> exception.getMessage()); in testCmdProfileCert() 690 logger.info(exception, () -> exception.getMessage()); in testCmdSignProfile() 720 logger.info(exception, () -> exception.getMessage()); in testVerifyProfile() 740 logger.info(exception, () -> exception.getMessage()); in testCmdSignApp() 754 logger.info(exception, () -> exception.getMessage()); in testCmdVerifyApp()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/model/ |
| D | VerificationResult.java | 49 public String getMessage() { in getMessage() method in VerificationResult
|