/dports/www/chromium-legacy/chromium-88.0.4324.182/device/fido/ |
H A D | public_key_credential_user_entity.cc | 19 const cbor::Value::MapValue& cbor_map = cbor.GetMap(); in CreateFromCBORValue() local 21 auto id_it = cbor_map.find(cbor::Value(kEntityIdMapKey)); in CreateFromCBORValue() 22 if (id_it == cbor_map.end() || !id_it->second.is_bytestring()) in CreateFromCBORValue() 27 auto name_it = cbor_map.find(cbor::Value(kEntityNameMapKey)); in CreateFromCBORValue() 28 if (name_it != cbor_map.end()) { in CreateFromCBORValue() 35 auto display_name_it = cbor_map.find(cbor::Value(kDisplayNameMapKey)); in CreateFromCBORValue() 36 if (display_name_it != cbor_map.end()) { in CreateFromCBORValue() 43 auto icon_it = cbor_map.find(cbor::Value(kIconUrlMapKey)); in CreateFromCBORValue() 44 if (icon_it != cbor_map.end()) { in CreateFromCBORValue()
|
H A D | ctap_make_credential_request.cc | 267 cbor::Value::MapValue cbor_map; in AsCTAPRequestValuePair() local 268 cbor_map[cbor::Value(1)] = cbor::Value(request.client_data_hash); in AsCTAPRequestValuePair() 269 cbor_map[cbor::Value(2)] = AsCBOR(request.rp); in AsCTAPRequestValuePair() 270 cbor_map[cbor::Value(3)] = AsCBOR(request.user); in AsCTAPRequestValuePair() 301 cbor_map[cbor::Value(6)] = cbor::Value(std::move(extensions)); in AsCTAPRequestValuePair() 305 cbor_map[cbor::Value(8)] = cbor::Value(*request.pin_auth); in AsCTAPRequestValuePair() 309 cbor_map[cbor::Value(9)] = in AsCTAPRequestValuePair() 327 cbor_map[cbor::Value(7)] = cbor::Value(std::move(option_map)); in AsCTAPRequestValuePair() 332 cbor_map.emplace(10, static_cast<int64_t>(1)); in AsCTAPRequestValuePair() 335 cbor_map.emplace(10, static_cast<int64_t>(2)); in AsCTAPRequestValuePair() [all …]
|
H A D | ctap_get_assertion_request.cc | 260 cbor::Value::MapValue cbor_map; in AsCTAPRequestValuePair() local 261 cbor_map[cbor::Value(1)] = cbor::Value(request.rp_id); in AsCTAPRequestValuePair() 262 cbor_map[cbor::Value(2)] = cbor::Value(request.client_data_hash); in AsCTAPRequestValuePair() 269 cbor_map[cbor::Value(3)] = cbor::Value(std::move(allow_list_array)); in AsCTAPRequestValuePair() 294 cbor_map[cbor::Value(4)] = cbor::Value(std::move(extensions)); in AsCTAPRequestValuePair() 298 cbor_map[cbor::Value(6)] = cbor::Value(*request.pin_auth); in AsCTAPRequestValuePair() 302 cbor_map[cbor::Value(7)] = in AsCTAPRequestValuePair() 320 cbor_map[cbor::Value(5)] = cbor::Value(std::move(option_map)); in AsCTAPRequestValuePair() 324 cbor::Value(std::move(cbor_map))); in AsCTAPRequestValuePair()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/device/fido/ |
H A D | public_key_credential_user_entity.cc | 19 const cbor::Value::MapValue& cbor_map = cbor.GetMap(); in CreateFromCBORValue() local 21 auto id_it = cbor_map.find(cbor::Value(kEntityIdMapKey)); in CreateFromCBORValue() 22 if (id_it == cbor_map.end() || !id_it->second.is_bytestring()) in CreateFromCBORValue() 27 auto name_it = cbor_map.find(cbor::Value(kEntityNameMapKey)); in CreateFromCBORValue() 28 if (name_it != cbor_map.end()) { in CreateFromCBORValue() 35 auto display_name_it = cbor_map.find(cbor::Value(kDisplayNameMapKey)); in CreateFromCBORValue() 36 if (display_name_it != cbor_map.end()) { in CreateFromCBORValue() 43 auto icon_it = cbor_map.find(cbor::Value(kIconUrlMapKey)); in CreateFromCBORValue() 44 if (icon_it != cbor_map.end()) { in CreateFromCBORValue()
|
H A D | ctap_make_credential_request.cc | 235 cbor::Value::MapValue cbor_map; in AsCTAPRequestValuePair() local 236 cbor_map[cbor::Value(1)] = cbor::Value(request.client_data_hash); in AsCTAPRequestValuePair() 237 cbor_map[cbor::Value(2)] = AsCBOR(request.rp); in AsCTAPRequestValuePair() 238 cbor_map[cbor::Value(3)] = AsCBOR(request.user); in AsCTAPRequestValuePair() 239 cbor_map[cbor::Value(4)] = AsCBOR(request.public_key_credential_params); in AsCTAPRequestValuePair() 245 cbor_map[cbor::Value(5)] = cbor::Value(std::move(exclude_list_array)); in AsCTAPRequestValuePair() 265 cbor_map[cbor::Value(6)] = cbor::Value(std::move(extensions)); in AsCTAPRequestValuePair() 269 cbor_map[cbor::Value(8)] = cbor::Value(*request.pin_auth); in AsCTAPRequestValuePair() 273 cbor_map[cbor::Value(9)] = cbor::Value(*request.pin_protocol); in AsCTAPRequestValuePair() 290 cbor_map[cbor::Value(7)] = cbor::Value(std::move(option_map)); in AsCTAPRequestValuePair() [all …]
|
H A D | ctap_get_assertion_request.cc | 178 cbor::Value::MapValue cbor_map; in AsCTAPRequestValuePair() local 179 cbor_map[cbor::Value(1)] = cbor::Value(request.rp_id); in AsCTAPRequestValuePair() 180 cbor_map[cbor::Value(2)] = cbor::Value(request.client_data_hash); in AsCTAPRequestValuePair() 187 cbor_map[cbor::Value(3)] = cbor::Value(std::move(allow_list_array)); in AsCTAPRequestValuePair() 194 cbor_map[cbor::Value(4)] = cbor::Value(std::move(extensions)); in AsCTAPRequestValuePair() 198 cbor_map[cbor::Value(6)] = cbor::Value(*request.pin_auth); in AsCTAPRequestValuePair() 202 cbor_map[cbor::Value(7)] = cbor::Value(*request.pin_protocol); in AsCTAPRequestValuePair() 219 cbor_map[cbor::Value(5)] = cbor::Value(std::move(option_map)); in AsCTAPRequestValuePair() 223 cbor::Value(std::move(cbor_map))); in AsCTAPRequestValuePair()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/web_package/ |
H A D | signed_exchange_certificate_chain_unittest.cc | 60 cbor::Value::MapValue cbor_map; in TEST() local 61 cbor_map[cbor::Value("sct")] = CBORByteString("SCT"); in TEST() 62 cbor_map[cbor::Value("ocsp")] = CBORByteString("OCSP"); in TEST() 66 cbor_array.push_back(cbor::Value(std::move(cbor_map))); in TEST() 84 cbor::Value::MapValue cbor_map; in TEST() local 85 cbor_map[cbor::Value("sct")] = CBORByteString("SCT"); in TEST() 87 cbor_map[cbor::Value("ocsp")] = CBORByteString("OCSP"); in TEST() 91 cbor_array.push_back(cbor::Value(std::move(cbor_map))); in TEST() 114 cbor::Value::MapValue cbor_map; in TEST() local 115 cbor_map[cbor::Value("sct")] = CBORByteString("SCT"); in TEST() [all …]
|
H A D | signed_exchange_cert_fetcher_unittest.cc | 171 cbor::Value::MapValue cbor_map; in CreateCertMessage() local 172 cbor_map[cbor::Value("sct")] = in CreateCertMessage() 174 cbor_map[cbor::Value("cert")] = in CreateCertMessage() 176 cbor_map[cbor::Value("ocsp")] = in CreateCertMessage() 181 cbor_array.push_back(cbor::Value(std::move(cbor_map))); in CreateCertMessage()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/web_package/ |
H A D | signed_exchange_certificate_chain_unittest.cc | 60 cbor::Value::MapValue cbor_map; in TEST() local 61 cbor_map[cbor::Value("sct")] = CBORByteString("SCT"); in TEST() 62 cbor_map[cbor::Value("ocsp")] = CBORByteString("OCSP"); in TEST() 66 cbor_array.push_back(cbor::Value(std::move(cbor_map))); in TEST() 84 cbor::Value::MapValue cbor_map; in TEST() local 85 cbor_map[cbor::Value("sct")] = CBORByteString("SCT"); in TEST() 87 cbor_map[cbor::Value("ocsp")] = CBORByteString("OCSP"); in TEST() 91 cbor_array.push_back(cbor::Value(std::move(cbor_map))); in TEST() 114 cbor::Value::MapValue cbor_map; in TEST() local 115 cbor_map[cbor::Value("sct")] = CBORByteString("SCT"); in TEST() [all …]
|
H A D | signed_exchange_cert_fetcher_unittest.cc | 175 cbor::Value::MapValue cbor_map; in CreateCertMessage() local 176 cbor_map[cbor::Value("sct")] = in CreateCertMessage() 178 cbor_map[cbor::Value("cert")] = in CreateCertMessage() 180 cbor_map[cbor::Value("ocsp")] = in CreateCertMessage() 185 cbor_array.push_back(cbor::Value(std::move(cbor_map))); in CreateCertMessage()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/cbor/ |
H A D | writer_unittest.cc | 423 Value::MapValue cbor_map; in TEST() local 424 cbor_map[Value("a")] = Value(1); in TEST() 428 cbor_map[Value("b")] = Value(nested_map); in TEST() 429 EXPECT_TRUE(Writer::Write(Value(cbor_map), 2).has_value()); in TEST() 430 EXPECT_FALSE(Writer::Write(Value(cbor_map), 1).has_value()); in TEST() 442 Value::MapValue cbor_map; in TEST() local 445 cbor_map[Value("a")] = Value(1); in TEST() 448 cbor_map[Value("b")] = Value(nested_map); in TEST() 452 cbor_array.push_back(Value(cbor_map)); in TEST()
|
H A D | reader.cc | 315 Value::MapValue cbor_map; in ReadMapContent() local 338 if (!IsKeyInOrder(key.value(), &cbor_map)) { in ReadMapContent() 342 cbor_map.insert_or_assign(std::move(key.value()), std::move(value.value())); in ReadMapContent() 344 return Value(std::move(cbor_map)); in ReadMapContent()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/cbor/ |
H A D | writer_unittest.cc | 423 Value::MapValue cbor_map; in TEST() local 424 cbor_map[Value("a")] = Value(1); in TEST() 428 cbor_map[Value("b")] = Value(nested_map); in TEST() 429 EXPECT_TRUE(Writer::Write(Value(cbor_map), 2).has_value()); in TEST() 430 EXPECT_FALSE(Writer::Write(Value(cbor_map), 1).has_value()); in TEST() 442 Value::MapValue cbor_map; in TEST() local 445 cbor_map[Value("a")] = Value(1); in TEST() 448 cbor_map[Value("b")] = Value(nested_map); in TEST() 452 cbor_array.push_back(Value(cbor_map)); in TEST()
|
H A D | reader.cc | 317 Value::MapValue cbor_map; in ReadMapContent() local 340 if (!IsKeyInOrder(key.value(), &cbor_map)) { in ReadMapContent() 344 cbor_map.insert_or_assign(std::move(key.value()), std::move(value.value())); in ReadMapContent() 346 return Value(std::move(cbor_map)); in ReadMapContent()
|