Lines Matching refs:item
110 bool CborConverter::getKeyCharacteristics(const unique_ptr<Item>& item, const uint32_t pos, in getKeyCharacteristics() argument
113 getItemAtPos(item, pos, arrayItem); in getKeyCharacteristics()
186 std::unique_ptr<Item> item = std::move((*array)[i]); in getKeyParameter() local
187 if (!getUint64(item, value)) { in getKeyParameter()
201 std::unique_ptr<Item> item = std::move((*array)[i]); in getKeyParameter() local
202 if (!getUint64(item, keyParam.long_integer)) { in getKeyParameter()
245 bool CborConverter::getCertificateChain(const std::unique_ptr<Item>& item, const uint32_t pos, in getCertificateChain() argument
248 getItemAtPos(item, pos, arrayItem); in getCertificateChain()
260 bool CborConverter::getMultiBinaryArray(const unique_ptr<Item>& item, const uint32_t pos, in getMultiBinaryArray() argument
265 getItemAtPos(item, pos, arrayItem); in getMultiBinaryArray()
278 bool CborConverter::getBinaryArray(const unique_ptr<Item>& item, const uint32_t pos, in getBinaryArray() argument
282 if (!getBinaryArray(item, pos, vec)) { in getBinaryArray()
292 bool CborConverter::getBinaryArray(const unique_ptr<Item>& item, const uint32_t pos, in getBinaryArray() argument
296 getItemAtPos(item, pos, strItem); in getBinaryArray()
307 bool CborConverter::getSharedSecretParameters(const unique_ptr<Item>& item, const uint32_t pos, in getSharedSecretParameters() argument
311 getItemAtPos(item, pos, arrayItem); in getSharedSecretParameters()
354 bool CborConverter::getHardwareAuthToken(const unique_ptr<Item>& item, const uint32_t pos, in getHardwareAuthToken() argument
362 if (!getUint64<uint64_t>(item, pos, challenge) || in getHardwareAuthToken()
363 !getUint64<uint64_t>(item, pos + 1, userId) || in getHardwareAuthToken()
364 !getUint64<uint64_t>(item, pos + 2, authenticatorId) || in getHardwareAuthToken()
365 !getUint64<uint64_t>(item, pos + 3, authType) || in getHardwareAuthToken()
366 !getUint64<uint64_t>(item, pos + 4, timestampMillis) || in getHardwareAuthToken()
367 !getBinaryArray(item, pos + 5, token.mac)) { in getHardwareAuthToken()
378 bool CborConverter::getTimeStampToken(const unique_ptr<Item>& item, const uint32_t pos, in getTimeStampToken() argument
383 if (!getUint64<uint64_t>(item, pos, challenge) || in getTimeStampToken()
384 !getUint64<uint64_t>(item, pos + 1, timestampMillis) || in getTimeStampToken()
385 !getBinaryArray(item, pos + 2, token.mac)) { in getTimeStampToken()
393 bool CborConverter::getArrayItem(const std::unique_ptr<Item>& item, const uint32_t pos, in getArrayItem() argument
396 getItemAtPos(item, pos, arrayItem); in getArrayItem()
402 bool CborConverter::getMapItem(const std::unique_ptr<Item>& item, const uint32_t pos, in getMapItem() argument
405 getItemAtPos(item, pos, mapItem); in getMapItem()
411 bool CborConverter::getKeyParameters(const unique_ptr<Item>& item, const uint32_t pos, in getKeyParameters() argument
416 getItemAtPos(item, pos, mapItem); in getKeyParameters()
434 auto [item, pos, message] = parse(response); in decodeData()
435 if (!item || MajorType::ARRAY != getType(item) || !getErrorCode(item, 0, errorCode)) { in decodeData()
438 return {std::move(item), errorCode}; in decodeData()