Home
last modified time | relevance | path

Searched refs:verificationResult (Results 1 – 3 of 3) sorted by relevance

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/test/java/com/ohos/hapsigntool/
DProfileTest.java146 VerificationResult verificationResult = null; in testProfile() local
148 verificationResult = verifyHelper.verify(p7b); in testProfile()
152 assertTrue(verificationResult.isVerifiedPassed()); in testProfile()
165verificationResult = verifyHelper.verify(ERROR_PROFILE_CONTENT.getBytes(StandardCharsets.UTF_8)); in testProfile()
166 assertFalse(verificationResult.isVerifiedPassed()); in testProfile()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/
DProfileSignTool.java92 VerificationResult verificationResult = null; in generateP7b() local
94 verificationResult = verifyHelper.verify(p7b); in generateP7b()
98 ValidateUtils.throwIfNotMatches(verificationResult.isVerifiedPassed(), ERROR.SIGN_ERROR, in generateP7b()
99 verificationResult.getMessage()); in generateP7b()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/api/
DSignToolServiceImpl.java279 VerificationResult verificationResult = verifyHelper.verify(p7b); in verifyProfile() local
280 isSign = verificationResult.isVerifiedPassed(); in verifyProfile()
282 logger.error(verificationResult.getMessage()); in verifyProfile()
284 … outputString(FileUtils.GSON_PRETTY_PRINT.toJson(verificationResult), adapter.getOutFile()); in verifyProfile()