A Sha256WithEcdsaSignature extends Signature and holds the signature bits and other info representing a SHA256-with-ECDSA signature in a data packet.
More...
#include <sha256-with-ecdsa-signature.hpp>
A Sha256WithEcdsaSignature extends Signature and holds the signature bits and other info representing a SHA256-with-ECDSA signature in a data packet.
| void ndn::Sha256WithEcdsaSignature::get |
( |
SignatureLite & |
signatureLite | ) |
const |
|
virtual |
Set signatureLite to point to the values in this signature object, without copying any memory.
WARNING: The resulting pointers in signatureLite are invalid after a further use of this object which could reallocate memory.
- Parameters
-
| signatureLite | A SignatureLite object where the name components array is already allocated. |
Implements ndn::Signature.
| uint64_t ndn::Sha256WithEcdsaSignature::getChangeCount |
( |
| ) |
const |
|
virtual |
Get the change count, which is incremented each time this object (or a child object) is changed.
- Returns
- The change count.
Implements ndn::Signature.
| const Blob & ndn::Sha256WithEcdsaSignature::getSignature |
( |
| ) |
const |
|
virtual |
Get the signature bytes.
- Returns
- The signature bytes. If not specified, the value isNull().
Implements ndn::Signature.
| const ValidityPeriod& ndn::Sha256WithEcdsaSignature::getValidityPeriod |
( |
| ) |
const |
|
inline |
Get the validity period.
- Returns
- The validity period.
Get the validity period.
- Returns
- The validity period.
| void ndn::Sha256WithEcdsaSignature::set |
( |
const SignatureLite & |
signatureLite | ) |
|
|
virtual |
Clear this signature, and set the values by copying from signatureLite.
- Parameters
-
Implements ndn::Signature.
| void ndn::Sha256WithEcdsaSignature::setSignature |
( |
const Blob & |
signature | ) |
|
|
virtual |
Set the signature bytes to the given value.
- Parameters
-
| signature | A Blob with the signature bytes. |
Implements ndn::Signature.
| void ndn::Sha256WithEcdsaSignature::setValidityPeriod |
( |
const ValidityPeriod & |
validityPeriod | ) |
|
|
inline |
Set the validity period to a copy of the given ValidityPeriod.
- Parameters
-
The documentation for this class was generated from the following files: