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 | signature |
| 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.
1.8.9.1