Home
last modified time | relevance | path

Searched refs:FromByteArray (Results 1 - 25 of 31) sorted by relevance

12

/developtools/hapsigner/hapsigntool_cpp_test/unittest/codeSigning/datastructure/
H A Dfs_verity_info_segment_test.cpp48 api->FromByteArray(bytes); in HWTEST_F()
74 api->FromByteArray(bytes); in HWTEST_F()
101 api->FromByteArray(bytes); in HWTEST_F()
129 api->FromByteArray(bytes); in HWTEST_F()
158 api->FromByteArray(bytes); in HWTEST_F()
187 api->FromByteArray(bytes); in HWTEST_F()
208 api->FromByteArray(bytes); in HWTEST_F()
H A Dsegment_header_test.cpp63 std::unique_ptr<SegmentHeader> ptr = segmentHeader.FromByteArray(arr); in HWTEST_F()
81 std::unique_ptr<SegmentHeader> ptr = segmentHeader.FromByteArray(arr); in HWTEST_F()
99 std::unique_ptr<SegmentHeader> ptr = segmentHeader.FromByteArray(arr); in HWTEST_F()
H A Dcode_sign_block_header_test.cpp52 CodeSignBlockHeader* codeSignBlockHeader = api->FromByteArray(bytes); in HWTEST_F()
72 CodeSignBlockHeader* codeSignBlockHeader = api->FromByteArray(bytes); in HWTEST_F()
99 CodeSignBlockHeader* codeSignBlockHeader = api->FromByteArray(bytes); in HWTEST_F()
127 CodeSignBlockHeader* codeSignBlockHeader = api->FromByteArray(bytes); in HWTEST_F()
156 CodeSignBlockHeader* codeSignBlockHeader = api->FromByteArray(bytes); in HWTEST_F()
185 CodeSignBlockHeader* codeSignBlockHeader = api->FromByteArray(bytes); in HWTEST_F()
H A Dhap_info_segment_test.cpp55 api->FromByteArray(bytes); in HWTEST_F()
92 api->FromByteArray(bytes); in HWTEST_F()
129 api->FromByteArray(bytes); in HWTEST_F()
166 api->FromByteArray(bytes); in HWTEST_F()
H A Dnative_lib_info_segment_test.cpp63 NativeLibInfoSegment segment = api->FromByteArray(bytes); in HWTEST_F()
90 NativeLibInfoSegment segment = api->FromByteArray(bytes); in HWTEST_F()
118 NativeLibInfoSegment segment = api->FromByteArray(bytes); in HWTEST_F()
158 NativeLibInfoSegment segment = api->FromByteArray(bytes); in HWTEST_F()
165 * @tc.desc: Test function of NativeLibInfoSegmentTest::FromByteArray() interface for SUCCESS.
198 NativeLibInfoSegment segment = api->FromByteArray(bytes); in HWTEST_F()
H A Delf_sign_block_test.cpp51 bool flag = elfSignBlock.FromByteArray(arr, block); in HWTEST_F()
74 bool flag = elfSignBlock.FromByteArray(arr, block); in HWTEST_F()
H A Dmerkle_tree_extension_test.cpp55 Extension* pExtension = api->FromByteArray(bytes); in HWTEST_F()
82 Extension* pExtension = api->FromByteArray(bytes); in HWTEST_F()
109 Extension* pExtension = api->FromByteArray(bytes); in HWTEST_F()
H A Dsigned_file_pos_test.cpp36 * @tc.desc: Test function of SignedFilePosTest::FromByteArray() interface for SUCCESS.
50 SignedFilePos pos = api->FromByteArray(bytes); in HWTEST_F()
/developtools/hapsigner/hapsigntool_cpp/codesigning/sign/src/
H A Dverify_code_signature.cpp68 bool arrFlag = ElfSignBlock::FromByteArray(*(std::vector<int8_t> *) & codeSignBlockBytes, elfSignBlock); in VerifyElf()
198 CodeSignBlockHeader::FromByteArray(*(std::vector<int8_t>*) &codeSignBlockHeaderByteArray); in GenerateCodeSignBlock()
218 csb.AddToSegmentList(*SegmentHeader::FromByteArray(*(std::vector<int8_t> *) &segmentHeaderByteArray)); in GenerateCodeSignBlock()
255 FsVerityInfoSegment::FromByteArray(*(std::vector<int8_t> *) & sh); in ParseSegmentHead()
259 HapInfoSegment hapInfoSegment = HapInfoSegment::FromByteArray(*(std::vector<int8_t> *) & sh); in ParseSegmentHead()
264 NativeLibInfoSegment::FromByteArray(*(std::vector<int8_t> *) & sh); in ParseSegmentHead()
/developtools/hapsigner/hapsigntool_cpp/codesigning/datastructure/src/
H A Dhap_info_segment.cpp60 HapInfoSegment HapInfoSegment::FromByteArray(std::vector<int8_t>& bytes) in FromByteArray() function in OHOS::SignatureTools::HapInfoSegment
79 SignInfo inHapSignInfo = SignInfo::FromByteArray(hapSignInfoByteArray); in FromByteArray()
H A Delf_sign_block.cpp78 bool ElfSignBlock::FromByteArray(std::vector<int8_t>& bytes, ElfSignBlock& elfSignBlock) in FromByteArray() function in OHOS::SignatureTools::ElfSignBlock
112 FsVerityDescriptor fsd = FsVerityDescriptor::FromByteArray(fsdArray); in FromByteArray()
H A Dsigned_file_pos.cpp61 SignedFilePos SignedFilePos::FromByteArray(std::vector<int8_t> &bytes) in FromByteArray() function in OHOS::SignatureTools::SignedFilePos
H A Dnative_lib_info_segment.cpp109 NativeLibInfoSegment NativeLibInfoSegment::FromByteArray(std::vector<int8_t> &bytes) in FromByteArray() function in OHOS::SignatureTools::NativeLibInfoSegment
125 inSignedFilePosList.push_back(SignedFilePos::FromByteArray(entry)); in FromByteArray()
152 inSignInfoList.push_back(OHOS::SignatureTools::SignInfo::FromByteArray(signInfoBuffer)); in FromByteArray()
H A Dsegment_header.cpp68 std::unique_ptr<SegmentHeader> SegmentHeader::FromByteArray(std::vector<int8_t> bytes) in FromByteArray() function in OHOS::SignatureTools::SegmentHeader
H A Dsign_info.cpp216 MerkleTreeExtension* pMerkleTreeExtension = MerkleTreeExtension::FromByteArray(merkleTreeExtension); in ParseMerkleTreeExtension()
224 SignInfo SignInfo::FromByteArray(std::vector<int8_t> bytes) in FromByteArray() function in OHOS::SignatureTools::SignInfo
/developtools/hapsigner/hapsigntool_cpp/codesigning/datastructure/include/
H A Dsegment_header.h37 static std::unique_ptr<SegmentHeader> FromByteArray(std::vector<int8_t> bytes);
H A Dhap_info_segment.h37 static HapInfoSegment FromByteArray(std::vector<int8_t>& bytes);
H A Dsigned_file_pos.h34 static SignedFilePos FromByteArray(std::vector<int8_t> &bytes);
H A Dmerkle_tree_extension.h34 static MerkleTreeExtension* FromByteArray(std::vector<int8_t>& bytes);
H A Dfs_verity_info_segment.h38 static FsVerityInfoSegment FromByteArray(const std::vector<int8_t>& bytes);
H A Delf_sign_block.h41 static bool FromByteArray(std::vector<int8_t>& bytes, ElfSignBlock& elfSignBlock);
H A Dsign_info.h54 static SignInfo FromByteArray(std::vector<int8_t> bytes);
H A Dnative_lib_info_segment.h42 static NativeLibInfoSegment FromByteArray(std::vector<int8_t>& bytes);
H A Dcode_sign_block_header.h55 static CodeSignBlockHeader* FromByteArray(const std::vector<int8_t>& bytes);
/developtools/hapsigner/hapsigntool_cpp_test/unittest/codeSigning/fsverity/
H A Dfs_verity_descriptor_test.cpp212 * @tc.desc: Test function of FsVerityDescriptor::FromByteArray() interface for SUCCESS.
237 FsVerityDescriptor fromArr = FsVerityDescriptor::FromByteArray(arr); in HWTEST_F()
244 * @tc.desc: Test function of FsVerityDescriptor::FromByteArray() interface for SUCCESS.
270 FsVerityDescriptor fromArr = FsVerityDescriptor::FromByteArray(arr); in HWTEST_F()
277 * @tc.desc: Test function of FsVerityDescriptor::FromByteArray() interface for SUCCESS.
302 FsVerityDescriptor fromArr = FsVerityDescriptor::FromByteArray(arr); in HWTEST_F()

Completed in 12 milliseconds

12