A Sha256WithRsaSignature extends Signature and holds the signature bits and other info representing a SHA256-with-RSA signature in a data packet.
More...
#include <sha256-with-rsa-signature.hpp>
A Sha256WithRsaSignature extends Signature and holds the signature bits and other info representing a SHA256-with-RSA signature in a data packet.
| void ndn::Sha256WithRsaSignature::get |
( |
struct ndn_Signature & signatureStruct |
| ) |
const |
|
virtual |
Set the signatureStruct to point to the values in this signature object, without copying any memory.
WARNING: The resulting pointers in signatureStruct are invalid after a further use of this object which could reallocate memory.
- Parameters
-
| signatureStruct | a C ndn_Signature struct where the name components array is already allocated. |
Implements ndn::Signature.
| virtual uint64_t ndn::Sha256WithRsaSignature::getChangeCount |
( |
| ) |
const |
|
inlinevirtual |
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::Sha256WithRsaSignature::getDigestAlgorithm |
( |
| ) |
const |
| const PublisherPublicKeyDigest& DEPRECATED_IN_NDN_CPP ndn::Sha256WithRsaSignature::getPublisherPublicKeyDigest |
( |
| ) |
const |
|
inline |
- Deprecated:
- . The Signature publisherPublicKeyDigest is deprecated. If you need a publisher public key digest, set the keyLocator keyLocatorType to KEY_LOCATOR_DIGEST and set its key data to the digest.
- Deprecated:
- . The Signature publisherPublicKeyDigest is deprecated. If you need a publisher public key digest, set the keyLocator keyLocatorType to KEY_LOCATOR_DIGEST and set its key data to the digest.
| const Blob & ndn::Sha256WithRsaSignature::getSignature |
( |
| ) |
const |
|
virtual |
Get the signature bytes.
- Returns
- The signature bytes. If not specified, the value isNull().
Implements ndn::Signature.
| const Blob & ndn::Sha256WithRsaSignature::getWitness |
( |
| ) |
const |
| void ndn::Sha256WithRsaSignature::set |
( |
const struct ndn_Signature & signatureStruct |
| ) |
|
|
virtual |
| void ndn::Sha256WithRsaSignature::setDigestAlgorithm |
( |
const Blob & |
digestAlgorithm | ) |
|
| void DEPRECATED_IN_NDN_CPP ndn::Sha256WithRsaSignature::setPublisherPublicKeyDigest |
( |
const PublisherPublicKeyDigest & |
publisherPublicKeyDigest | ) |
|
|
inline |
- Deprecated:
- . The Signature publisherPublicKeyDigest is deprecated. If you need a publisher public key digest, set the keyLocator keyLocatorType to KEY_LOCATOR_DIGEST and set its key data to the digest.
| void ndn::Sha256WithRsaSignature::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::Sha256WithRsaSignature::setWitness |
( |
const Blob & |
witness | ) |
|
The documentation for this class was generated from the following files: