Represents a signature of Sha256WithEcdsa type.
More...
#include <ndn-cxx/security/signature-sha256-with-ecdsa.hpp>
Represents a signature of Sha256WithEcdsa type.
- Deprecated:
- Use SignatureInfo with type SignatureSha256WithEcdsa instead
This signature type provides integrity and provenance protection using an ECDSA signature over a SHA-256 digest.
Definition at line 35 of file signature-sha256-with-ecdsa.hpp.
◆ SignatureSha256WithEcdsa() [1/2]
ndn::SignatureSha256WithEcdsa::SignatureSha256WithEcdsa |
( |
const KeyLocator & |
keyLocator = KeyLocator() | ) |
|
|
explicit |
◆ SignatureSha256WithEcdsa() [2/2]
ndn::SignatureSha256WithEcdsa::SignatureSha256WithEcdsa |
( |
const Signature & |
signature | ) |
|
|
explicit |
◆ getInfo()
const Block& ndn::Signature::getInfo |
( |
| ) |
const |
|
inlineinherited |
◆ getKeyLocator()
const KeyLocator& ndn::Signature::getKeyLocator |
( |
| ) |
const |
|
inlineinherited |
◆ getSignatureInfo()
◆ getType()
Get SignatureType.
- Exceptions
-
Error | signature is invalid |
Definition at line 43 of file signature.cpp.
◆ getValue()
const Block& ndn::Signature::getValue |
( |
| ) |
const |
|
inlineinherited |
◆ hasKeyLocator()
bool ndn::Signature::hasKeyLocator |
( |
| ) |
const |
|
inlineinherited |
◆ operator bool()
ndn::Signature::operator bool |
( |
| ) |
const |
|
inlineexplicitinherited |
◆ setInfo() [1/2]
void ndn::Signature::setInfo |
( |
const Block & |
info | ) |
|
|
inherited |
◆ setInfo() [2/2]
◆ setKeyLocator()
void ndn::Signature::setKeyLocator |
( |
const KeyLocator & |
keyLocator | ) |
|
|
inlineinherited |
◆ setValue()
void ndn::Signature::setValue |
( |
const Block & |
value | ) |
|
|
inherited |
Set SignatureValue.
- Exceptions
-
tlv::Error | TLV-TYPE of supplied block is not SignatureValue, or the block does not have TLV-VALUE |
Definition at line 58 of file signature.cpp.
◆ m_info
◆ m_value
Block ndn::Signature::m_value |
|
mutableprotectedinherited |