Home
last modified time | relevance | path

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

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/
DVerifyElf.java205 Map<Character, SigningBlock> signBlock = getSignBlock(bytes, elfSignBlockData); in verifyElf() local
206 if (signBlock.containsKey(SignatureBlockTypes.PROFILE_NOSIGNED_BLOCK)) { in verifyElf()
207 profileByte = signBlock.get(SignatureBlockTypes.PROFILE_NOSIGNED_BLOCK).getValue(); in verifyElf()
211 } else if (signBlock.containsKey(SignatureBlockTypes.PROFILE_SIGNED_BLOCK)) { in verifyElf()
213 SigningBlock profileSign = signBlock.get(SignatureBlockTypes.PROFILE_SIGNED_BLOCK); in verifyElf()
224 if (signBlock.containsKey(SignElf.CODESIGN_BLOCK_TYPE)) { in verifyElf()
226 SigningBlock codesign = signBlock.get(SignElf.CODESIGN_BLOCK_TYPE); in verifyElf()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/
DBcPkcs7Generator.java114 byte[] signBlock; in packagePKCS7()
125 signBlock = pkcs7.getEncoded(ASN1Encoding.DER); in packagePKCS7()
131 CMSSignedData cmsSignedData = new CMSSignedData(signBlock); in packagePKCS7()
139 return signBlock; in packagePKCS7()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/sign/
DCodeSigning.java147 … ElfSignBlock signBlock = new ElfSignBlock(paddingSize, treeBytes, fsVerityDescriptorWithSign); in getElfCodeSignBlock() local
149 return signBlock.toByteArray(); in getElfCodeSignBlock()