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

represents a Sha256WithEcdsa signature. More...

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

Inheritance diagram for ndn::SignatureSha256WithEcdsa:
Collaboration diagram for ndn::SignatureSha256WithEcdsa:

Classes

class  Error
 

Public Member Functions

 SignatureSha256WithEcdsa (const KeyLocator &keyLocator=KeyLocator())
 
 SignatureSha256WithEcdsa (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...
 
const SignatureInfogetSignatureInfo () const
 Get SignatureInfo. 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

represents a Sha256WithEcdsa signature.

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

Constructor & Destructor Documentation

◆ SignatureSha256WithEcdsa() [1/2]

ndn::SignatureSha256WithEcdsa::SignatureSha256WithEcdsa ( const KeyLocator keyLocator = KeyLocator())
explicit

◆ SignatureSha256WithEcdsa() [2/2]

ndn::SignatureSha256WithEcdsa::SignatureSha256WithEcdsa ( const Signature signature)
explicit

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