NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
digest-sha256.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22
#ifndef NDN_SECURITY_DIGEST_SHA256_HPP
23
#define NDN_SECURITY_DIGEST_SHA256_HPP
24
25
#include "../data.hpp"
26
#include "../encoding/tlv.hpp"
27
28
namespace
ndn
{
29
33
class
DigestSha256
:
public
Signature
34
{
35
public
:
36
class
Error
:
public
Signature::Error
37
{
38
public
:
39
explicit
40
Error
(
const
std::string& what)
41
:
Signature
::
Error
(what)
42
{
43
}
44
};
45
46
DigestSha256
();
47
48
explicit
49
DigestSha256
(
const
Signature
& signature);
50
51
};
52
53
}
// namespace ndn
54
55
#endif //NDN_SECURITY_DIGEST_SHA256_HPP
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::DigestSha256::DigestSha256
DigestSha256()
Definition:
digest-sha256.cpp:26
ndn::DigestSha256
Represent a SHA256 digest.
Definition:
digest-sha256.hpp:33
ndn::DigestSha256::Error
Definition:
digest-sha256.hpp:36
ndn::DigestSha256::Error::Error
Error(const std::string &what)
Definition:
digest-sha256.hpp:40
ndn::Signature::Error
Definition:
signature.hpp:36
ndn::Signature
A Signature is storage for the signature-related information (info and value) in a Data packet...
Definition:
signature.hpp:33
ndnSIM
ndn-cxx
src
security
digest-sha256.hpp
Generated on Sat Nov 12 2016 16:02:52 for ndnSIM by
1.8.12