Searched refs:tlv (Results 1 – 6 of 6) sorted by relevance
142 Tlv tlv = (Tlv) o; in equals() local143 return tag == tlv.tag && length == tlv.length && value.equals(tlv.value); in equals()
1392 .anyMatch(tlv -> tlv.getTag() == FILE_IDENTIFIER && tlv.getValue().equals(fileId)); in containsFileId()
387 private static boolean verifyBerTlvData(byte[] tlv) { in verifyBerTlvData() argument388 if (tlv == null || tlv.length == 0) { in verifyBerTlvData()394 key[0] = tlv[i]; in verifyBerTlvData()397 key[1] = tlv[i = i + 1]; in verifyBerTlvData()400 int len = tlv[i = i + 1] & 0xFF; in verifyBerTlvData()406 len += (tlv[i = i + 1] & 0xFF) * Math.pow(10, j); in verifyBerTlvData()409 return tlv.length == (i + len + 3); in verifyBerTlvData()
389 private static boolean verifyBerTlvData(byte[] tlv) { in verifyBerTlvData() argument390 if (tlv == null || tlv.length == 0) { in verifyBerTlvData()396 key[0] = tlv[i]; in verifyBerTlvData()399 key[1] = tlv[i = i + 1]; in verifyBerTlvData()402 int len = tlv[i = i + 1] & 0xFF; in verifyBerTlvData()408 len += (tlv[i = i + 1] & 0xFF) * Math.pow(10, j); in verifyBerTlvData()411 return tlv.length == (i + len + 3); in verifyBerTlvData()
386 private static boolean verifyBerTlvData(byte[] tlv) { in verifyBerTlvData() argument387 if (tlv == null || tlv.length == 0) { in verifyBerTlvData()393 key[0] = tlv[i]; in verifyBerTlvData()396 key[1] = tlv[i = i + 1]; in verifyBerTlvData()399 int len = tlv[i = i + 1] & 0xFF; in verifyBerTlvData()405 len += (tlv[i = i + 1] & 0xFF) * Math.pow(10, j); in verifyBerTlvData()408 return tlv.length == (i + len + 3); in verifyBerTlvData()
888 private static boolean verifyBerTlvData(byte[] tlv){ in verifyBerTlvData() argument889 if (tlv == null || tlv.length == 0) { in verifyBerTlvData()893 if ((tlv[i++] & 0x1F) == 0x1F) { in verifyBerTlvData()898 int len = tlv[i++] & 0xFF; in verifyBerTlvData()904 len += (len << 8) + (tlv[i++] & 0xFF); in verifyBerTlvData()908 return (tlv.length == (i+len+2)); in verifyBerTlvData()