#include "ndn-cxx/security/verification-helpers.hpp"
#include "ndn-cxx/data.hpp"
#include "ndn-cxx/encoding/buffer-stream.hpp"
#include "ndn-cxx/interest.hpp"
#include "ndn-cxx/security/certificate.hpp"
#include "ndn-cxx/security/impl/openssl.hpp"
#include "ndn-cxx/security/pib/key.hpp"
#include "ndn-cxx/security/tpm/tpm.hpp"
#include "ndn-cxx/security/transform/bool-sink.hpp"
#include "ndn-cxx/security/transform/buffer-source.hpp"
#include "ndn-cxx/security/transform/digest-filter.hpp"
#include "ndn-cxx/security/transform/public-key.hpp"
#include "ndn-cxx/security/transform/stream-sink.hpp"
#include "ndn-cxx/security/transform/verifier-filter.hpp"
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 InputBuffers &blobs, span< const uint8_t > sig, const transform::PublicKey &key) |
Verify blobs using key against sig . More... | |
bool | ndn::security::verifySignature (const InputBuffers &blobs, span< const uint8_t > sig, span< const uint8_t > key) |
Verify blobs 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 (const ParseResult ¶ms, const transform::PublicKey &key) |
static bool | ndn::security::verifySignature (const ParseResult ¶ms, span< const uint8_t > key) |
static bool | ndn::security::verifySignature (const ParseResult ¶ms, const tpm::Tpm &tpm, const Name &keyName, DigestAlgorithm digestAlgorithm) |
static bool | ndn::security::verifyDigest (const ParseResult ¶ms, DigestAlgorithm algorithm) |
bool | ndn::security::verifySignature (const Data &data, span< const uint8_t > key) |
Verify data using key . More... | |
bool | ndn::security::verifySignature (const Interest &interest, span< const uint8_t > key) |
Verify interest using key . More... | |
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 optional< Certificate > &cert) |
Verify data using cert . More... | |
bool | ndn::security::verifySignature (const Interest &interest, const optional< 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... | |
SignatureInfo info |
Definition at line 56 of file verification-helpers.cpp.
Referenced by nfd::fw::asf::ProbingModule::afterForwardingProbe(), websocketpp::log::elevel::channel_name(), nfd::CsManager::CsManager(), ndn::Interest::getApplicationParameters(), nfd::fw::asf::ProbingModule::getFaceToProbe(), ndn::MetaInfo::getFinalBlock(), nfd::fw::asf::AsfMeasurements::getNamespaceInfo(), nfd::fw::asf::AsfMeasurements::getOrCreateNamespaceInfo(), ndn::Data::getSignatureInfo(), ndn::SignatureInfo::hasKeyLocator(), nfd::fw::asf::ProbingModule::isProbingNeeded(), ndn::security::InterestSigner::makeSignedInterest(), nfd::fw::asf::NamespaceInfo::NamespaceInfo(), ndn::operator!=(), nfd::fw::asf::FaceStatsCompare::operator()(), ndn::security::parse(), ndn::scheduler::Scheduler::schedule(), nfd::fw::asf::ProbingModule::scheduleProbe(), ndn::MetaInfo::setAppMetaInfo(), ndn::Data::setSignatureInfo(), and ndn::lp::Packet::wireDecode().
InputBuffers bufs |
Definition at line 57 of file verification-helpers.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), ndn::security::tpm::DummyKeyHandle::DummyKeyHandle(), ndn::Data::extractSignedRanges(), ndn::Interest::extractSignedRanges(), ndn::security::tpm::KeyHandleMem::KeyHandleMem(), ndn::security::tpm::KeyHandleOsx::KeyHandleOsx(), ndn::security::v2::parseLocatorUri(), ndn::security::v2::KeyChain::registerTpmBackend(), ndn::net::RtnlSocket::sendDumpRequest(), and ndn::net::GenlSocket::sendRequest().
span<const uint8_t> sig |
Definition at line 58 of file verification-helpers.cpp.
Referenced by ndn::security::tpm::DummyKeyHandle::DummyKeyHandle(), ndn::security::tpm::KeyHandleMem::KeyHandleMem(), and ndn::security::transform::verifierFilter().