Public Attributes | List of all members
ndn_Signature Struct Reference

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>

Inheritance diagram for ndn_Signature:
ndn::SignatureLite

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
 

Detailed Description

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.

Member Data Documentation

int ndn_Signature::genericTypeCode

used with Generic.

-1 for not known.


The documentation for this struct was generated from the following file: