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

Go to the source code of this file.

Namespaces

 ndn
 
 ndn::security
 

Functions

static ParseResult ndn::security::parse (const Data &data)
 
static ParseResult ndn::security::parse (const Interest &interest)
 
bool ndn::security::verifyDigest (const InputBuffers &blobs, const uint8_t *digest, size_t digestLen, DigestAlgorithm algorithm)
 Verify blobs against digest using algorithm. More...
 
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 InputBuffers &blobs, const uint8_t *sig, size_t sigLen, const transform::PublicKey &key)
 Verify blobs using key against sig. More...
 
bool ndn::security::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. More...
 
bool ndn::security::verifySignature (const InputBuffers &blobs, const uint8_t *sig, size_t sigLen, const uint8_t *key, size_t keyLen)
 Verify blobs 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 (ParseResult params, const transform::PublicKey &key)
 
static bool ndn::security::verifySignature (ParseResult params, const tpm::Tpm &tpm, const Name &keyName, DigestAlgorithm digestAlgorithm)
 
static bool ndn::security::verifySignature (ParseResult params, const uint8_t *key, size_t keyLen)
 
bool ndn::security::verifySignature (const Data &data, const transform::PublicKey &key)
 Verify data using key. More...
 
bool ndn::security::verifySignature (const Interest &interest, const transform::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...
 
bool ndn::security::verifySignature (const Data &data, const tpm::Tpm &tpm, const Name &keyName, DigestAlgorithm digestAlgorithm)
 Verify data using tpm and keyName with the digestAlgorithm. More...
 
bool ndn::security::verifySignature (const Interest &interest, const tpm::Tpm &tpm, const Name &keyName, DigestAlgorithm digestAlgorithm)
 Verify interest using tpm and keyName with the digestAlgorithm. More...
 

Variable Documentation

◆ bufs

InputBuffers bufs

Definition at line 56 of file verification-helpers.cpp.

◆ sig

const uint8_t* sig = nullptr

Definition at line 57 of file verification-helpers.cpp.

◆ sigLen

size_t sigLen = 0

Definition at line 58 of file verification-helpers.cpp.