Home
last modified time | relevance | path

Searched refs:VERIFY_ERROR (Results 1 - 25 of 31) sorted by relevance

12

/developtools/hapsigner/hapsigntool_cpp/codesigning/datastructure/src/
H A Dfs_verity_info_segment.cpp68 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
79 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
87 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
95 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
103 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
[all...]
H A Dcode_sign_block_header.cpp81 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
91 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
98 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
107 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
114 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
[all...]
H A Dhap_info_segment.cpp68 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
73 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
81 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
86 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
H A Dsegment_header.cpp71 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "The flag of SegmentHeader is incorrect."); in FromByteArray()
81 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "The type of SegmentHeader is incorrect."); in FromByteArray()
90 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
H A Delf_sign_block.cpp86 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
97 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
106 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
114 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
H A Dnative_lib_info_segment.cpp145 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
163 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in CheckBuffer()
169 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in CheckBuffer()
175 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in CheckBuffer()
H A Dmerkle_tree_extension.cpp80 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
87 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
H A Dsign_info.cpp203 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in ParseMerkleTreeExtension()
210 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in ParseMerkleTreeExtension()
/developtools/hapsigner/hapsigntool_cpp/utils/src/
H A Dhash_utils.cpp63 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "failed to get input stream object!"); in GetFileDigest()
75 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "error occurred while reading data."); in GetFileDigest()
91 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "hashMap is empty."); in GetFileDigest()
111 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "file bytes is empty."); in GetDigestFromBytes()
126 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "hashMa in GetDigestFromBytes()
[all...]
/developtools/hapsigner/hapsigntool_cpp/profile/src/
H A Dpkcs7_data.cpp98 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "signature value verify failed"); in VerifySignature()
99 return VERIFY_ERROR; in VerifySignature()
164 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "signature verify failed"); in Verify()
165 return VERIFY_ERROR; in Verify()
168 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "cert Chain verify failed"); in Verify()
170 return VERIFY_ERROR; in Verify()
290 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERRO in X509NameCompare()
[all...]
H A Dprofile_sign_tool.cpp57 return VERIFY_ERROR; in GenerateP7b()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/
H A DVerifyHelper.java106 ValidateUtils.throwIfMatches(certificates == null, ERROR.VERIFY_ERROR, errorMsg); in certStoreToCertList()
109 ERROR.VERIFY_ERROR, errorMsg); in certStoreToCertList()
120 CustomException.throwException(ERROR.VERIFY_ERROR, errorMsg); in certStoreToCertList()
122 ValidateUtils.throwIfMatches(certificateList.size() == 0, ERROR.VERIFY_ERROR, errorMsg); in certStoreToCertList()
194 ValidateUtils.throwIfNotMatches(verifyResult, ERROR.VERIFY_ERROR, in verifyPkcs()
199 CustomException.throwException(ERROR.VERIFY_ERROR, "Failed to verify BC signatures: " in verifyPkcs()
/developtools/hapsigner/hapsigntool_cpp/codesigning/utils/src/
H A Dcms_utils.cpp69 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "app-identifier is not in the signature"); in CheckOwnerID()
75 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "app-identifier in profile is null,in signature exist"); in CheckOwnerID()
85 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "app-identifier in signature is invalid"); in CheckOwnerID()
/developtools/hapsigner/hapsigntool_cpp/hap/verify/src/
H A Dverify_hap.cpp157 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, standardFilePath + " verify failed"); in Verify()
195 return VERIFY_ERROR; in Verify()
216 return VERIFY_ERROR; in Verify()
221 return VERIFY_ERROR; in Verify()
252 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "ZIP64 format not supported."); in CheckCodeSign()
266 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "code sign data not exist in hap " + hapFilePath); in CheckCodeSign()
306 PrintErrorNumberMsg("PKCS7_VERIFY_ERROR", VERIFY_ERROR, in GetProfileContent()
[all...]
H A Dverify_bin.cpp27 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "Param options is null."); in Verify()
91 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "compare bin file raw digest and generated digest failed!"); in VerifyBinDigest()
H A Dverify_elf.cpp43 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "Param options is null."); in Verify()
283 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "magic verify failed!"); in CheckMagicAndVersion()
290 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "sign version verify failed!"); in CheckMagicAndVersion()
360 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "Missing parameter: " + Options::OUT_CERT_CHAIN + "s."); in CheckParams()
365 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "Missin in CheckParams()
[all...]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
H A DCertChainUtils.java109 ERROR.VERIFY_ERROR, "Validator result not target type"); in verifyCertChain()
113 ERROR.VERIFY_ERROR, "Anchor is not trusted: " + Base64.getEncoder().encodeToString( in verifyCertChain()
116 CustomException.throwException(ERROR.VERIFY_ERROR, "Validator result not target type"); in verifyCertChain()
/developtools/hapsigner/hapsigntool_cpp/common/include/
H A Dsignature_tools_errno.h42 * Enum constant VERIFY_ERROR.
44 const int VERIFY_ERROR = -106; member
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/error/
H A DERROR.java61 * Enum constant VERIFY_ERROR.
63 VERIFY_ERROR(108), enum constant
/developtools/hapsigner/hapsigntool_cpp/codesigning/sign/src/
H A Dverify_code_signature.cpp129 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "system failed to allocate memory for MerkleTreeExtension"); in VerifyCodeSign()
175 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "verify merkle tree bytes failed"); in VerifySingleFile()
208 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in GenerateCodeSignBlock()
239 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "Invaild offset of merkle tree and segment header"); in ParseSegmentHead()
284 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in ParseMerkleTree()
[all...]
H A Dbc_signeddata_generator.cpp102 return VERIFY_ERROR; in PackageSignedData()
/developtools/hapsigner/hapsigntool_cpp/hap/sign/src/
H A Dbc_pkcs7_generator.cpp84 return VERIFY_ERROR; in PackagePKCS7()
/developtools/hapsigner/hapsigntool_cpp/codesigning/fsverity/src/
H A Dfs_verity_descriptor.cpp33 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
61 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, in FromByteArray()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/test/java/com/ohos/hapsigntool/
H A DProfileTest.java151 CustomException.throwException(ERROR.VERIFY_ERROR, e.getMessage()); in testProfile()
/developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntool/
H A DHapSignTool.java434 return new RetMsg(ERROR.VERIFY_ERROR, "verify app failed"); in verifyApp()
486 return new RetMsg(ERROR.VERIFY_ERROR, "verify profile failed"); in verifyProfile()

Completed in 10 milliseconds

12