NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
signature-sha256-with-ecdsa.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22
#ifndef NDN_SECURITY_SIGNATURE_SHA256_WITH_ECDSA_HPP
23
#define NDN_SECURITY_SIGNATURE_SHA256_WITH_ECDSA_HPP
24
25
#include "../signature.hpp"
26
27
namespace
ndn
{
28
32
class
SignatureSha256WithEcdsa
:
public
Signature
33
{
34
public
:
35
class
Error
:
public
Signature::Error
36
{
37
public
:
38
explicit
39
Error
(
const
std::string& what)
40
:
Signature
::
Error
(what)
41
{
42
}
43
};
44
45
explicit
46
SignatureSha256WithEcdsa
(
const
KeyLocator
& keyLocator =
KeyLocator
());
47
48
explicit
49
SignatureSha256WithEcdsa
(
const
Signature
& signature);
50
51
private
:
52
void
53
unsetKeyLocator();
54
};
55
56
}
// namespace ndn
57
58
#endif //NDN_SECURITY_SIGNATURE_SHA256_WITH_ECDSA_HPP
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::SignatureSha256WithEcdsa::Error
Definition:
signature-sha256-with-ecdsa.hpp:35
ndn::SignatureSha256WithEcdsa::Error::Error
Error(const std::string &what)
Definition:
signature-sha256-with-ecdsa.hpp:39
ndn::SignatureSha256WithEcdsa
represents a Sha256WithEcdsa signature.
Definition:
signature-sha256-with-ecdsa.hpp:32
ndn::tlv::KeyLocator
Definition:
tlv.hpp:85
ndn::SignatureSha256WithEcdsa::SignatureSha256WithEcdsa
SignatureSha256WithEcdsa(const KeyLocator &keyLocator=KeyLocator())
Definition:
signature-sha256-with-ecdsa.cpp:26
ndn::KeyLocator
Definition:
key-locator.hpp:30
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
signature-sha256-with-ecdsa.hpp
Generated on Wed Jan 11 2017 18:17:14 for ndnSIM by
1.8.13