NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::SignatureSha256WithRsa Class Reference

Represent a SHA256-with-RSA signature. More...

#include <signature-sha256-with-rsa.hpp>

Inheritance diagram for ndn::SignatureSha256WithRsa:
Collaboration diagram for ndn::SignatureSha256WithRsa:

Classes

class  Error
 

Public Member Functions

 SignatureSha256WithRsa (const KeyLocator &keyLocator=KeyLocator())
 
 SignatureSha256WithRsa (const Signature &signature)
 
- Public Member Functions inherited from ndn::Signature
 Signature ()=default
 
 Signature (const Block &info, const Block &value=Block())
 
 Signature (const SignatureInfo &info, const Block &value=Block())
 
 operator bool () const
 
const BlockgetInfo () const
 Get SignatureInfo in the wire format. More...
 
void setInfo (const Block &info)
 Set SignatureInfo from a block. More...
 
void setInfo (const SignatureInfo &info)
 Set SignatureInfo. More...
 
const BlockgetValue () const
 Get SignatureValue in the wire format. More...
 
void setValue (const Block &value)
 Get SignatureValue from a block. More...
 
uint32_t getType () const
 Get signature type. More...
 
bool hasKeyLocator () const
 Check if SignatureInfo block has a KeyLocator. More...
 
const KeyLocatorgetKeyLocator () const
 Get KeyLocator. More...
 
void setKeyLocator (const KeyLocator &keyLocator)
 Set KeyLocator. More...
 
void unsetKeyLocator ()
 Unset KeyLocator. More...
 
bool operator== (const Signature &other) const
 
bool operator!= (const Signature &other) const
 

Additional Inherited Members

- Public Types inherited from ndn::Signature
enum  { Sha256 = tlv::DigestSha256, Sha256WithRsa = tlv::SignatureSha256WithRsa, Sha256WithEcdsa = tlv::SignatureSha256WithEcdsa }
 
- Protected Attributes inherited from ndn::Signature
SignatureInfo m_info
 
Block m_value
 

Detailed Description

Represent a SHA256-with-RSA signature.

Definition at line 32 of file signature-sha256-with-rsa.hpp.

Constructor & Destructor Documentation

ndn::SignatureSha256WithRsa::SignatureSha256WithRsa ( const KeyLocator keyLocator = KeyLocator())
explicit
ndn::SignatureSha256WithRsa::SignatureSha256WithRsa ( const Signature signature)
explicit

The documentation for this class was generated from the following files: