22 #ifndef NDN_SECURITY_VERIFICATION_HELPERS_HPP 23 #define NDN_SECURITY_VERIFICATION_HELPERS_HPP 56 const transform::PublicKey& key);
64 const uint8_t* key,
size_t keyLen);
146 verifyDigest(
const uint8_t* blob,
size_t blobLen,
const uint8_t* digest,
size_t digestLen,
166 #endif // NDN_SECURITY_VERIFICATION_HELPERS_HPP
bool verifyDigest(const uint8_t *blob, size_t blobLen, const uint8_t *digest, size_t digestLen, DigestAlgorithm algorithm)
Verify blob against digest using algorithm.
bool verifySignature(const uint8_t *blob, size_t blobLen, const uint8_t *sig, size_t sigLen, const transform::PublicKey &key)
Verify blob using key against sig.