Searched refs:coseSign1 (Results 1 – 2 of 2) sorted by relevance
212 optional<vector<uint8_t>> coseSign1 = support::coseSignEcDsa( in TEST() local214 ASSERT_TRUE(support::coseCheckEcDsaSignature(coseSign1.value(), {} /* detachedContent */, in TEST()217 optional<vector<uint8_t>> payload = support::coseSignGetPayload(coseSign1.value()); in TEST()222 string out = support::cborPrettyPrint(coseSign1.value()); in TEST()243 optional<vector<uint8_t>> coseSign1 = support::coseSignEcDsa(privKey.value(), {} /* data */, in TEST() local246 support::coseCheckEcDsaSignature(coseSign1.value(), detachedContent, pubKey.value())); in TEST()248 optional<vector<uint8_t>> payload = support::coseSignGetPayload(coseSign1.value()); in TEST()253 string out = support::cborPrettyPrint(coseSign1.value()); in TEST()293 optional<vector<uint8_t>> coseSign1 = in TEST() local296 support::coseCheckEcDsaSignature(coseSign1.value(), detachedContent, pubKey.value())); in TEST()[all …]
1622 cppbor::Array coseSign1; in coseSignEcDsa() local1623 coseSign1.add(encodedProtectedHeaders); in coseSignEcDsa()1624 coseSign1.add(std::move(unprotectedHeaders)); in coseSignEcDsa()1627 coseSign1.add(std::move(nullValue)); in coseSignEcDsa()1629 coseSign1.add(data); in coseSignEcDsa()1631 coseSign1.add(coseSignature); in coseSignEcDsa()1633 signatureCoseSign1 = coseSign1.encode(); in coseSignEcDsa()