22 #ifndef NDN_SECURITY_VERIFICATION_HELPERS_HPP 23 #define NDN_SECURITY_VERIFICATION_HELPERS_HPP 49 verifySignature(
const uint8_t* blob,
size_t blobLen,
const uint8_t* sig,
size_t sigLen,
50 const v2::PublicKey& pKey);
56 verifySignature(
const uint8_t* blob,
size_t blobLen,
const uint8_t* sig,
size_t sigLen,
57 const uint8_t* key,
size_t keyLen);
124 verifyDigest(
const uint8_t* blob,
size_t blobLen,
const uint8_t* digest,
size_t digestLen,
144 #endif // NDN_SECURITY_VERIFICATION_HELPERS_HPP Copyright (c) 2013-2017 Regents of the University of California.
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 v2::PublicKey &pKey)
Verify blob using key against sig.