Searched refs:ByteArrayUtils (Results 1 – 3 of 3) sorted by relevance
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/ |
| D | HwSignHead.java | 18 import com.ohos.hapsigntool.utils.ByteArrayUtils; 67 start = ByteArrayUtils.insertCharToByteArray(signHead, start, MAGIC); in getSignHead() 71 start = ByteArrayUtils.insertCharToByteArray(signHead, start, VERSION); in getSignHead() 75 start = ByteArrayUtils.insertIntToByteArray(signHead, start, size); in getSignHead() 79 start = ByteArrayUtils.insertIntToByteArray(signHead, start, NUM_OF_BLOCK); in getSignHead() 83 start = ByteArrayUtils.insertCharToByteArray(signHead, start, reserve); in getSignHead()
|
| D | SignContentInfo.java | 18 import com.ohos.hapsigntool.utils.ByteArrayUtils; 118 index = ByteArrayUtils.insertCharToByteArray(ret, index, version); in getByteContent() 122 index = ByteArrayUtils.insertShortToByteArray(ret, ret.length, index, size); in getByteContent() 126 index = ByteArrayUtils.insertShortToByteArray(ret, ret.length, index, numOfBlocks); in getByteContent() 136 index = ByteArrayUtils.insertShortToByteArray(ret, ret.length, index, tmp.algId); in getByteContent() 137 index = ByteArrayUtils.insertIntToByteArray(ret, index, tmp.length); in getByteContent() 138 index = ByteArrayUtils.insertByteToByteArray(ret, index, tmp.hash, tmp.hash.length); in getByteContent()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
| D | ByteArrayUtils.java | 23 public class ByteArrayUtils { class 32 private ByteArrayUtils() { in ByteArrayUtils() method in ByteArrayUtils
|