21 #ifndef NDN_DATA_TYPES_H
22 #define NDN_DATA_TYPES_H
24 #include "key-types.h"
34 ndn_ContentType_BLOB = 0,
35 ndn_ContentType_LINK = 1,
36 ndn_ContentType_KEY = 2,
37 ndn_ContentType_NACK = 3
45 ndn_SignatureType_DigestSha256Signature = 0,
46 ndn_SignatureType_Sha256WithRsaSignature = 1,
47 ndn_SignatureType_Sha256WithEcdsaSignature = 3,
48 ndn_SignatureType_HmacWithSha256Signature = 4,
49 ndn_SignatureType_Generic = 0x7fff
int genericTypeCode
used with Generic.
Definition: data-types.h:63
Definition: data-types.h:78
struct ndn_Blob content
A Blob with a pointer to the content.
Definition: data-types.h:82
ndn_SignatureType type
-1 for unspecified
Definition: data-types.h:60
An ndn_KeyLocator holds the type of key locator and related data.
Definition: key-types.h:38
struct ndn_KeyLocator keyLocator
used with Sha256WithRsaSignature, Sha256WithEcdsaSignature, HmacWithSha256Signature ...
Definition: data-types.h:64
Copyright (C) 2015-2016 Regents of the University of California.
Definition: name-types.h:33
An ndn_Name holds an array of ndn_NameComponent.
Definition: name-types.h:40
Copyright (C) 2015-2016 Regents of the University of California.
Definition: blob-types.h:33
An ndn_Signature struct holds the signature bits and other info representing the signature in a data ...
Definition: data-types.h:59
struct ndn_Blob signatureInfoEncoding
used with Generic
Definition: data-types.h:62