Home
last modified time | relevance | path

Searched refs:COMMAND_ERROR (Results 1 - 13 of 13) sorted by relevance

/developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntoolcmd/
H A DCmdUtil.java54 ValidateUtils.throwIfNotMatches(args.length >= ARGS_MIN_LEN, ERROR.COMMAND_ERROR, ""); in convert2Params()
62 CustomException.throwException(ERROR.COMMAND_ERROR, "Unsupported cmd"); in convert2Params()
67 CustomException.throwException(ERROR.COMMAND_ERROR, "param value could not be empty"); in convert2Params()
99 CustomException.throwException(ERROR.COMMAND_ERROR, in validAndPutParam()
103 CustomException.throwException(ERROR.COMMAND_ERROR, in validAndPutParam()
123 CustomException.throwException(ERROR.COMMAND_ERROR, in judgeAlgType()
138 CustomException.throwException(ERROR.COMMAND_ERROR, String.format("KeySize '%s' is incorrect", size)); in judgeSize()
143 CustomException.throwException(ERROR.COMMAND_ERROR, in judgeSize()
148 CustomException.throwException(ERROR.COMMAND_ERROR, in judgeSize()
163 CustomException.throwException(ERROR.COMMAND_ERROR, in judgeSignAlgType()
[all...]
/developtools/hapsigner/hapsigntool_cpp/cmd/src/
H A Dcmd_util.cpp85 PrintErrorNumberMsg("COMMAND_ERROR", COMMAND_ERROR, "not supported '" + keySize in UpdateParamForVariantInt()
268 PrintErrorNumberMsg("COMMAND_ERROR", COMMAND_ERROR, "parameter '" + outForm in UpdateParamForOutform()
293 PrintErrorNumberMsg("COMMAND_ERROR", COMMAND_ERROR, "sign profile RemoteSign absence param '" in UpdateParamForCheckRemoteSignProfile()
400 PrintErrorNumberMsg("COMMAND_ERROR", COMMAND_ERROR, in ValidAndPutParam()
421 PrintErrorNumberMsg("COMMAND_ERROR", COMMAND_ERROR, "no in JudgeAlgType()
[all...]
H A Dparams_trust_list.cpp97 PrintErrorNumberMsg("COMMAND_ERROR", COMMAND_ERROR, "'" + command + "is not trust command"); in GetTrustList()
H A Dparams_run_tool.cpp94 PrintErrorNumberMsg("COMMAND_ERROR", COMMAND_ERROR, "Unsupported method: " + method); in CallGenerators()
121 PrintErrorNumberMsg("COMMAND_ERROR", COMMAND_ERROR, "not support command param '" + mode + "'"); in RunSignApp()
399 PrintErrorNumberMsg("COMMAND_ERROR", COMMAND_ERROR, "not support command param '" + mode + "'"); in RunSignProfile()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
H A DCertUtils.java171 CustomException.throwException(ERROR.COMMAND_ERROR, in buildDN()
185 ValidateUtils.throwIfNotMatches(!StringUtils.isEmpty(nameString), ERROR.COMMAND_ERROR, errorMsg); in checkDN()
188 ValidateUtils.throwIfNotMatches(!StringUtils.isEmpty(nameString.trim()), ERROR.COMMAND_ERROR, errorMsg); in checkDN()
190 ValidateUtils.throwIfNotMatches(kvPair.length == SECOND_INDEX, ERROR.COMMAND_ERROR, errorMsg); in checkDN()
192 ValidateUtils.throwIfNotMatches(!StringUtils.isEmpty(kvPair[1].trim()), ERROR.COMMAND_ERROR, errorMsg); in checkDN()
H A DKeyStoreHelper.java109 ValidateUtils.throwIfMatches(StringUtils.isEmpty(keyStorePath), ERROR.COMMAND_ERROR, in KeyStoreHelper()
/developtools/hapsigner/hapsigntool_cpp/common/include/
H A Dsignature_tools_errno.h24 const int COMMAND_ERROR = -101; member
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/error/
H A DERROR.java33 * Enum constant COMMAND_ERROR.
35 COMMAND_ERROR(101), enum constant
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/signer/
H A DSignerFactory.java137 CustomException.throwException(ERROR.COMMAND_ERROR, "class path is empty"); in getClassLocation()
146 CustomException.throwException(ERROR.COMMAND_ERROR, "class path" + jarFile + "is not exists"); in getClassLocation()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/entity/
H A DOptions.java262 CustomException.throwException(ERROR.COMMAND_ERROR, String.format("Params '%s' is required", key)); in required()
/developtools/hapsigner/hapsigntool_cpp/common/src/
H A Doptions.cpp134 PrintErrorNumberMsg("COMMAND_ERROR", COMMAND_ERROR, "Params '-" + key + "' is required"); in Required()
/developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntool/
H A DHapSignTool.java164 CustomException.throwException(ERROR.COMMAND_ERROR, "Unsupported cmd"); in callGenerators()
291 CustomException.throwException(ERROR.COMMAND_ERROR, "mode params is incorrect"); in runSignApp()
331 CustomException.throwException(ERROR.COMMAND_ERROR, "mode params is incorrect"); in runSignProfile()
/developtools/hapsigner/hapsigntool_cpp/hap/provider/src/
H A Dsign_provider.cpp471 return COMMAND_ERROR; in GetX509Certificates()

Completed in 9 milliseconds