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 unspecified | |
struct ndn_Blob | signature |
struct ndn_Blob | signatureInfoEncoding |
used with Generic | |
int | genericTypeCode |
used with Generic. More... | |
struct ndn_KeyLocator | keyLocator |
used with Sha256WithRsaSignature, Sha256WithEcdsaSignature, HmacWithSha256Signature | |
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.
int ndn_Signature::genericTypeCode |
used with Generic.
-1 for not known.