Home
last modified time | relevance | path

Searched refs:fromByteArray (Results 1 – 12 of 12) sorted by relevance

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/datastructure/
DHapInfoSegment.java105 public static HapInfoSegment fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray() method in HapInfoSegment
118 SignInfo inHapSignInfo = SignInfo.fromByteArray(hapSignInfoByteArray); in fromByteArray()
DElfSignBlock.java167 public static ElfSignBlock fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray() method in ElfSignBlock
189 FsVerityDescriptor fsd = FsVerityDescriptor.fromByteArray(fsdArray); in fromByteArray()
DNativeLibInfoSegment.java209 public static NativeLibInfoSegment fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray() method in NativeLibInfoSegment
229 inSignedFilePosList.add(SignedFilePos.fromByteArray(entry)); in fromByteArray()
254 inSignInfoList.add(SignInfo.fromByteArray(signInfoBuffer)); in fromByteArray()
DSignedFilePos.java103 public static SignedFilePos fromByteArray(byte[] bytes) { in fromByteArray() method in SignedFilePos
DSegmentHeader.java121 public static SegmentHeader fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray() method in SegmentHeader
DMerkleTreeExtension.java117 public static MerkleTreeExtension fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray() method in MerkleTreeExtension
DSignInfo.java221 public static SignInfo fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray() method in SignInfo
286 inExtensionList.add(MerkleTreeExtension.fromByteArray(merkleTreeExtension)); in parseMerkleTreeExtension()
DFsVerityInfoSegment.java118 public static FsVerityInfoSegment fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray() method in FsVerityInfoSegment
DCodeSignBlockHeader.java134 public static CodeSignBlockHeader fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray() method in CodeSignBlockHeader
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/sign/
DVerifyCodeSignature.java149 elfSignBlock = ElfSignBlock.fromByteArray(codeSignBlockBytes); in verifyElf()
296 … csb.setCodeSignBlockHeader(CodeSignBlockHeader.fromByteArray(codeSignBlockHeaderByteArray)); in generateCodeSignBlock()
304 csb.addToSegmentList(SegmentHeader.fromByteArray(segmentHeaderByteArray)); in generateCodeSignBlock()
333 csb.setFsVerityInfoSegment(FsVerityInfoSegment.fromByteArray(sh)); in parseMerkleTree()
336 csb.setHapInfoSegment(HapInfoSegment.fromByteArray(sh)); in parseMerkleTree()
339 csb.setSoInfoSegment(NativeLibInfoSegment.fromByteArray(sh)); in parseMerkleTree()
DCentralDirectory.java88 return Strings.fromByteArray(this.fileName); in getFileName()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/fsverity/
DFsVerityDescriptor.java148 public static FsVerityDescriptor fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray() method in FsVerityDescriptor