An ndn_Signature struct holds the signature bits and other info representing the signature in a data packet or signed interest. More...
#include <data-types.h>
Public Attributes | |
| ndn_SignatureType | type |
| -1 for none | |
| struct ndn_Blob | digestAlgorithm |
| A Blob whose value is a pointer to a pre-allocated buffer. More... | |
| struct ndn_Blob | witness |
| A Blob whose value is a pointer to pre-allocated buffer. More... | |
| struct ndn_Blob | signature |
| struct ndn_PublisherPublicKeyDigest | publisherPublicKeyDigest |
| struct ndn_KeyLocator | keyLocator |
An ndn_Signature struct holds the signature bits and other info representing the signature in a data packet or signed interest.
We use one structure which is a union of all the fields from the different known signature types. This lets us avoid the infrastructure to simulate an abstract base class with subclasses and virtual methods.
| struct ndn_Blob ndn_Signature::digestAlgorithm |
A Blob whose value is a pointer to a pre-allocated buffer.
0 for none. If none, default is 2.16.840.1.101.3.4.2.1 (sha-256).
| struct ndn_PublisherPublicKeyDigest ndn_Signature::publisherPublicKeyDigest |
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.
| struct ndn_Blob ndn_Signature::witness |
A Blob whose value is a pointer to pre-allocated buffer.
0 for none.
1.8.9.1