NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
verification-helpers.cpp File Reference
Include dependency graph for verification-helpers.cpp:

Go to the source code of this file.

Namespaces

 ndn
 Copyright (c) 2011-2015 Regents of the University of California.
 
 ndn::security
 

Functions

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 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 ParseResult ndn::security::parse (const Data &data)
 
static ParseResult ndn::security::parse (const Interest &interest)
 
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...
 
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...
 

Variable Documentation

◆ isParsable

bool isParsable = false

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

◆ buf

◆ bufLen

size_t bufLen = 0

◆ sig

◆ sigLen