Represent a SHA256-with-RSA signature. More...
#include <signature-sha256-with-rsa.hpp>
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 Block & | getInfo () 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 Block & | getValue () 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 KeyLocator & | getKeyLocator () 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 |
Represent a SHA256-with-RSA signature.
Definition at line 32 of file signature-sha256-with-rsa.hpp.
|
explicit |
Definition at line 26 of file signature-sha256-with-rsa.cpp.
Referenced by ndn::SignatureSha256WithRsa::Error::Error().
|
explicit |
Definition at line 31 of file signature-sha256-with-rsa.cpp.
References ndn::Signature::getType(), ndn::Signature::hasKeyLocator(), and ndn::tlv::SignatureSha256WithRsa.