Lines Matching refs:arrayItem
133 unique_ptr<Item> arrayItem(nullptr); in getKeyCharacteristics() local
134 getItemAtPos(item, pos, arrayItem); in getKeyCharacteristics()
135 if ((arrayItem == nullptr) || (MajorType::ARRAY != getType(arrayItem))) return false; in getKeyCharacteristics()
141 if (!getKeyParameters(arrayItem, 0, sbEnf.authorizations) || in getKeyCharacteristics()
142 !getKeyParameters(arrayItem, 1, teeEnf.authorizations) || in getKeyCharacteristics()
143 !getKeyParameters(arrayItem, 2, swEnf.authorizations)) { in getKeyCharacteristics()
268 std::unique_ptr<Item> arrayItem(nullptr); in getCertificateChain() local
269 getItemAtPos(item, pos, arrayItem); in getCertificateChain()
270 if ((arrayItem == nullptr) || (MajorType::ARRAY != getType(arrayItem))) return false; in getCertificateChain()
272 const Array* arr = arrayItem.get()->asArray(); in getCertificateChain()
275 if (!getBinaryArray(arrayItem, i, cert.encodedCertificate)) return false; in getCertificateChain()
284 std::unique_ptr<Item> arrayItem(nullptr); in getMultiBinaryArray() local
286 getItemAtPos(item, pos, arrayItem); in getMultiBinaryArray()
287 if ((arrayItem == nullptr) || (MajorType::ARRAY != getType(arrayItem))) return ret; in getMultiBinaryArray()
288 const Array* arr = arrayItem.get()->asArray(); in getMultiBinaryArray()
292 if (!getBinaryArray(arrayItem, i, temp)) return ret; in getMultiBinaryArray()
330 std::unique_ptr<Item> arrayItem(nullptr); in getSharedSecretParameters() local
332 getItemAtPos(item, pos, arrayItem); in getSharedSecretParameters()
333 if ((arrayItem == nullptr) || (MajorType::ARRAY != getType(arrayItem)) || in getSharedSecretParameters()
334 !getBinaryArray(arrayItem, 0, params.seed) || !getBinaryArray(arrayItem, 1, params.nonce)) { in getSharedSecretParameters()
416 unique_ptr<Item> arrayItem(nullptr); in getArrayItem() local
417 getItemAtPos(item, pos, arrayItem); in getArrayItem()
418 if ((arrayItem == nullptr) || (MajorType::ARRAY != getType(arrayItem))) return false; in getArrayItem()
419 array = std::move(*arrayItem.get()->asArray()); in getArrayItem()