Home
last modified time | relevance | path

Searched refs:SIGN_ERROR (Results 1 - 24 of 24) sorted by relevance

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/model/
H A DValidity.java49 ValidateUtils.throwIfMatches(this.notBefore == 0L, ERROR.SIGN_ERROR, "Require notBefore in validity!"); in enforceValid()
50 ValidateUtils.throwIfMatches(this.notAfter == 0L, ERROR.SIGN_ERROR, "Require notAfter in validity!"); in enforceValid()
51 ValidateUtils.throwIfMatches(this.notBefore >= this.notAfter, ERROR.SIGN_ERROR, in enforceValid()
H A DDebugInfo.java75 ValidateUtils.throwIfMatches(this.deviceIds.size() > MAX_DEBUG_DEVICE_NUM, ERROR.SIGN_ERROR, in enforceValid()
77 ValidateUtils.throwIfMatches(!this.isDeviceIdTypeValid(), ERROR.SIGN_ERROR, in enforceValid()
H A DBundleInfo.java125 ERROR.SIGN_ERROR, "Require cert in bundleInfo!"); in enforceValid()
128 ERROR.SIGN_ERROR, "Require cert in bundleInfo!"); in enforceValid()
H A DProvision.java198 ERROR.SIGN_ERROR, "Require build type must be debug or release, current is :" + provision.type); in enforceValid()
200 ValidateUtils.throwIfMatches(provision.bundleInfo == null, ERROR.SIGN_ERROR, in enforceValid()
/developtools/hapsigner/hapsigntool_cpp/hap/entity/src/
H A Dsign_content_info.cpp62 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "InsertCharToByteArray failed."); in GetByteContent()
68 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "InsertShortToByteArray failed."); in GetByteContent()
74 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "InsertShortToByteArray failed."); in GetByteContent()
87 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "InsertShortToByteArray failed."); in GetByteContent()
H A Dsign_head.cpp47 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "InsertCharToByteArray failed."); in GetSignHead()
52 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "InsertCharToByteArray failed."); in GetSignHead()
57 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "InsertIntToByteArray failed."); in GetSignHead()
62 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "InsertIntToByteArray failed."); in GetSignHead()
67 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "InsertCharToByteArra in GetSignHead()
[all...]
/developtools/hapsigner/hapsigntool_cpp/hap/sign/src/
H A Dsign_bin.cpp73 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, in WriteBlockDataToFile()
81 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, in WriteBlockDataToFile()
92 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, in WriteBlockDataToFile()
108 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "[SignHap] get Signature Algorithm failed."); in GenerateFileDigest()
152 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, in WriteSignHeadDataToOutputFile()
[all...]
H A Dsign_hap.cpp27 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, in Sign()
33 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "Signature Algorithms is empty"); in Sign()
67 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "Generate Hap Signing Block failed"); in Sign()
80 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "Compute Content Digests failed"); in ComputeDigests()
86 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "Comput in ComputeDigests()
[all...]
H A Dsign_elf.cpp117 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "[SignElf] The length exceeds the maximum limit."); in WriteBlockDataToFile()
225 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "[SignElf] The length exceeds the maximum limit.");
236 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, in GenerateProfileSignByte()
248 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "[SignElf] check pamams signCode = 0 error."); in GenerateCodeSignByte()
274 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, in WriteSignHeadDataToOutputFile()
[all...]
H A Dbc_pkcs7_generator.cpp74 return SIGN_ERROR; in PackagePKCS7()
/developtools/hapsigner/hapsigntool_cpp/profile/src/
H A Dprofile_sign_tool.cpp46 return SIGN_ERROR; in GenerateP7b()
76 return SIGN_ERROR;
H A Dpkcs7_data.cpp233 PrintErrorNumberMsg("INVALIDPARAM_ERROR", SIGN_ERROR, "p7 is NULL, pkcs7 sign failed"); in InitPkcs7()
234 result = SIGN_ERROR; in InitPkcs7()
/developtools/hapsigner/hapsigntool_cpp/codesigning/sign/src/
H A Dcode_signing.cpp92 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "Failed to sign the contents in the compressed file."); in GetCodeSignBlock()
121 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, in ComputeDataSize()
167 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "system failed to allocate memory for MerkleTreeExtension"); in SignFile()
264 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "zlib get global info failed."); in GetNativeEntriesFromHap()
302 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "zli in GetSingleFileStreamFromZip()
[all...]
H A Dbc_signeddata_generator.cpp91 return SIGN_ERROR; in PackageSignedData()
/developtools/hapsigner/hapsigntool_cpp/common/include/
H A Dsignature_tools_errno.h38 * Enum constant SIGN_ERROR.
40 const int SIGN_ERROR = -105; member
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/error/
H A DERROR.java57 * Enum constant SIGN_ERROR.
59 SIGN_ERROR(107), enum constant
/developtools/hapsigner/hapsigntool_cpp/codesigning/fsverity/src/
H A Dfs_verity_descriptor.cpp80 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "Salt is too long"); in ToByteArray()
109 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "Salt is too long"); in GetByteForGenerateDigest()
/developtools/hapsigner/hapsigntool_cpp/signer/src/
H A Dlocal_signer.cpp96 PrintErrorNumberMsg("SIGN_ERROR", SIGN_ERROR, "compute signature value failed");
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/signer/
H A DLocalSigner.java89 CustomException.throwException(ERROR.SIGN_ERROR, exception.getMessage()); in getSignature()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/
H A DVerifyHelper.java90 ValidateUtils.throwIfNotMatches(signature.verify(signedData), ERROR.SIGN_ERROR, "Signature not matched!"); in verifySignature()
93 CustomException.throwException(ERROR.SIGN_ERROR, "Failed to verify signature: " + exception.getMessage()); in verifySignature()
H A DProfileSignTool.java98 ValidateUtils.throwIfNotMatches(verificationResult.isVerifiedPassed(), ERROR.SIGN_ERROR, in generateP7b()
138 CustomException.throwException(ERROR.SIGN_ERROR, e.getMessage()); in signProfile()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/cert/
H A DCertBuilder.java223 CustomException.throwException(ERROR.SIGN_ERROR, exception.getMessage()); in build()
/developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntool/
H A DHapSignTool.java408 return new RetMsg(ERROR.SIGN_ERROR, "sign app failed"); in signApp()
460 return new RetMsg(ERROR.SIGN_ERROR, "sign profile failed"); in signProfile()
/developtools/hapsigner/hapsigntool_cpp/hap/provider/src/
H A Dsign_provider.cpp246 return PrintErrorLog("[SignCode] AppendCodeSignBlock failed", SIGN_ERROR, tmpOutputFilePath); in Sign()
252 return PrintErrorLog("[SignHap] SignHap Sign failed.", SIGN_ERROR, tmpOutputFilePath); in Sign()

Completed in 11 milliseconds