verification-helpers.cpp File Reference
+ Include dependency graph for verification-helpers.cpp:

Go to the source code of this file.

Namespaces

 ndn
 Copyright (c) 2013-2017 Regents of the University of California.
 
 ndn::security
 

Functions

static std::tuple< bool, const uint8_t *, size_t, const uint8_t *, size_t > ndn::security::parse (const Data &data)
 
static std::tuple< bool, const uint8_t *, size_t, const uint8_t *, size_t > ndn::security::parse (const Interest &interest)
 
bool ndn::security::verifyDigest (const uint8_t *blob, size_t blobLen, const uint8_t *digest, size_t digestLen, DigestAlgorithm algorithm)
 Verify blob against digest using algorithm. More...
 
bool ndn::security::verifyDigest (const Data &data, DigestAlgorithm algorithm)
 Verify data against digest algorithm. More...
 
bool ndn::security::verifyDigest (const Interest &interest, DigestAlgorithm algorithm)
 Verify interest against digest algorithm. More...
 
bool ndn::security::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. More...
 
bool ndn::security::verifySignature (const uint8_t *blob, size_t blobLen, const uint8_t *sig, size_t sigLen, const uint8_t *key, size_t keyLen)
 Verify blob using key against sig. More...
 
static bool ndn::security::verifySignature (const std::tuple< bool, const uint8_t *, size_t, const uint8_t *, size_t > &params, const v2::PublicKey &pKey)
 
static bool ndn::security::verifySignature (const std::tuple< bool, const uint8_t *, size_t, const uint8_t *, size_t > &params, const uint8_t *key, size_t keyLen)
 
bool ndn::security::verifySignature (const Data &data, const v2::PublicKey &key)
 Verify data using key. More...
 
bool ndn::security::verifySignature (const Interest &interest, const v2::PublicKey &key)
 Verify interest using key. More...
 
bool ndn::security::verifySignature (const Data &data, const pib::Key &key)
 Verify data using key. More...
 
bool ndn::security::verifySignature (const Interest &interest, const pib::Key &key)
 Verify interest using key. More...
 
bool ndn::security::verifySignature (const Data &data, const uint8_t *key, size_t keyLen)
 Verify data using key. More...
 
bool ndn::security::verifySignature (const Interest &interest, const uint8_t *key, size_t keyLen)
 Verify interest using key. More...
 
bool ndn::security::verifySignature (const Data &data, const v2::Certificate &cert)
 Verify data using cert. More...
 
bool ndn::security::verifySignature (const Interest &interest, const v2::Certificate &cert)
 Verify interest using cert. More...