22 #ifndef NDN_CXX_SECURITY_VERIFICATION_HELPERS_HPP
23 #define NDN_CXX_SECURITY_VERIFICATION_HELPERS_HPP
55 verifySignature(
const InputBuffers& blobs, span<const uint8_t>
sig,
const transform::PublicKey& key);
61 [[deprecated(
"use the overload that takes a span<>")]]
74 verifySignature(
const InputBuffers& blobs, span<const uint8_t>
sig, span<const uint8_t> key);
#define NDN_CXX_NODISCARD
Represents a Data packet.
Represents an Interest packet.
Represents an absolute name.
bool verifySignature(const InputBuffers &blobs, span< const uint8_t > sig, const transform::PublicKey &key)
Verify blobs using key against sig.
span< const uint8_t > sig