Searched refs:berTlv (Results 1 – 3 of 3) sorted by relevance
99 std::vector<uint8_t> berTlv) { in getDataFromBerTlv() argument100 if (berTlv.empty()) { in getDataFromBerTlv()103 size_t lengthTag = berTlv[0]; in getDataFromBerTlv()104 LOG(DEBUG) << "decodeBerTlv: berTlv[0]=" << berTlv[0]; in getDataFromBerTlv()109 if (lengthTag < 0x80 && berTlv.size() == (lengthTag + 1)) { in getDataFromBerTlv()110 return std::vector<uint8_t>(berTlv.begin() + 1, berTlv.end()); in getDataFromBerTlv()111 } else if (lengthTag == 0x81 && berTlv.size() > 2) { in getDataFromBerTlv()112 size_t length = berTlv[1]; in getDataFromBerTlv()113 if ((length + 2) == berTlv.size()) { in getDataFromBerTlv()114 return std::vector<uint8_t>(berTlv.begin() + 2, berTlv.end()); in getDataFromBerTlv()[all …]
35 std::vector<uint8_t> getDataFromBerTlv(std::vector<uint8_t> berTlv);
255 BerTlv berTlv = (BerTlv) obj; in equals() local256 if (mTag == berTlv.mTag) { in equals()258 byte[] test2 = berTlv.getValue(); in equals()