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 …]
1816 cppbor::Array coseSign1; in coseSignEcDsaWithSignature() local1817 coseSign1.add(encodedProtectedHeaders); in coseSignEcDsaWithSignature()1818 coseSign1.add(std::move(unprotectedHeaders)); in coseSignEcDsaWithSignature()1821 coseSign1.add(std::move(nullValue)); in coseSignEcDsaWithSignature()1823 coseSign1.add(data); in coseSignEcDsaWithSignature()1825 coseSign1.add(signatureToBeSigned); in coseSignEcDsaWithSignature()1827 signatureCoseSign1 = coseSign1.encode(); in coseSignEcDsaWithSignature()1877 cppbor::Array coseSign1; in coseSignEcDsa() local1878 coseSign1.add(encodedProtectedHeaders); in coseSignEcDsa()1879 coseSign1.add(std::move(unprotectedHeaders)); in coseSignEcDsa()[all …]