NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
signature-sha256-with-rsa.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_RSA_HPP
23
#define NDN_SECURITY_SIGNATURE_SHA256_WITH_RSA_HPP
24
25
#include "../signature.hpp"
26
27
namespace
ndn
{
28
32
class
SignatureSha256WithRsa
:
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
SignatureSha256WithRsa
(
const
KeyLocator
& keyLocator =
KeyLocator
());
47
48
explicit
49
SignatureSha256WithRsa
(
const
Signature
& signature);
50
51
private
:
52
void
53
unsetKeyLocator();
54
};
55
56
}
// namespace ndn
57
58
#endif //NDN_SECURITY_SIGNATURE_SHA256_WITH_RSA_HPP
ndn::SignatureSha256WithRsa
Represent a SHA256-with-RSA signature.
Definition:
signature-sha256-with-rsa.hpp:32
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::SignatureSha256WithRsa::Error
Definition:
signature-sha256-with-rsa.hpp:35
ndn::SignatureSha256WithRsa::Error::Error
Error(const std::string &what)
Definition:
signature-sha256-with-rsa.hpp:39
ndn::tlv::KeyLocator
Definition:
tlv.hpp:85
ndn::SignatureSha256WithRsa::SignatureSha256WithRsa
SignatureSha256WithRsa(const KeyLocator &keyLocator=KeyLocator())
Definition:
signature-sha256-with-rsa.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-rsa.hpp
Generated on Wed Jan 11 2017 18:17:14 for ndnSIM by
1.8.13