22 #ifndef NDN_SECURITY_VERIFICATION_HELPERS_HPP 23 #define NDN_SECURITY_VERIFICATION_HELPERS_HPP 56 const transform::PublicKey& key);
63 const transform::PublicKey& key);
71 const uint8_t* key,
size_t keyLen);
79 const uint8_t* key,
size_t keyLen);
161 verifyDigest(
const InputBuffers& blobs,
const uint8_t* digest,
size_t digestLen,
168 verifyDigest(
const uint8_t* blob,
size_t blobLen,
const uint8_t* digest,
size_t digestLen,
188 #endif // NDN_SECURITY_VERIFICATION_HELPERS_HPP
bool verifyDigest(const InputBuffers &bufs, const uint8_t *digest, size_t digestLen, DigestAlgorithm algorithm)
Verify blobs against digest using algorithm.
bool verifySignature(const InputBuffers &blobs, const uint8_t *sig, size_t sigLen, const transform::PublicKey &key)
Verify blobs using key against sig.