21 #ifndef NDN_TLV_0_1_1_WIRE_FORMAT_H 
   22 #define NDN_TLV_0_1_1_WIRE_FORMAT_H 
   24 #include <ndn-cpp/c/common.h> 
   25 #include <ndn-cpp/c/errors.h> 
   58 ndn_Tlv0_1_1WireFormat_encodeName
 
   59   (
const struct ndn_Name *name, 
size_t *signedPortionBeginOffset,
 
   61    size_t *encodingLength);
 
   80 ndn_Tlv0_1_1WireFormat_decodeName
 
   81   (
struct ndn_Name *name, 
const uint8_t *input, 
size_t inputLength,
 
   82    size_t *signedPortionBeginOffset, 
size_t *signedPortionEndOffset);
 
  102 ndn_Tlv0_1_1WireFormat_encodeInterest
 
  103   (
const struct ndn_Interest *interest, 
size_t *signedPortionBeginOffset,
 
  105    size_t *encodingLength);
 
  124 ndn_Tlv0_1_1WireFormat_decodeInterest
 
  125   (
struct ndn_Interest *interest, 
const uint8_t *input, 
size_t inputLength,
 
  126    size_t *signedPortionBeginOffset, 
size_t *signedPortionEndOffset);
 
  144 ndn_Tlv0_1_1WireFormat_encodeData
 
  145   (
const struct ndn_Data *data, 
size_t *signedPortionBeginOffset,
 
  147    size_t *encodingLength);
 
  163 ndn_Tlv0_1_1WireFormat_decodeData
 
  164   (
struct ndn_Data *data, 
const uint8_t *input, 
size_t inputLength,
 
  165    size_t *signedPortionBeginOffset, 
size_t *signedPortionEndOffset);
 
  177 ndn_Tlv0_1_1WireFormat_encodeControlParameters
 
  191 ndn_Tlv0_1_1WireFormat_decodeControlParameters
 
  205 ndn_Tlv0_1_1WireFormat_encodeControlResponse
 
  219 ndn_Tlv0_1_1WireFormat_decodeControlResponse
 
  233 ndn_Tlv0_1_1WireFormat_encodeSignatureInfo
 
  235    size_t *encodingLength);
 
  248 ndn_Tlv0_1_1WireFormat_encodeSignatureValue
 
  250    size_t *encodingLength);
 
  263 ndn_Tlv0_1_1WireFormat_decodeSignatureInfoAndValue
 
  264   (
struct ndn_Signature *signature, 
const uint8_t *signatureInfo,
 
  265    size_t signatureInfoLength, 
const uint8_t *signatureValue,
 
  266    size_t signatureValueLength);
 
  276 ndn_Tlv0_1_1WireFormat_decodeLpPacket
 
  277   (
struct ndn_LpPacket *lpPacket, 
const uint8_t *input, 
size_t inputLength);
 
  292 ndn_Tlv0_1_1WireFormat_encodeDelegationSet_Delegation
 
  308 ndn_Tlv0_1_1WireFormat_decodeDelegationSet_Delegation
 
  310    size_t inputLength, 
size_t *encodingLength);
 
  323 ndn_Tlv0_1_1WireFormat_encodeEncryptedContent
 
  337 ndn_Tlv0_1_1WireFormat_decodeEncryptedContent
 
Copyright (C) 2016 Regents of the University of California. 
Definition: control-response-types.h:35
 
An ndn_LpPacket holds a list of LP packet header fields and an optional fragment wire encoding...
Definition: lp-packet-types.h:57
 
Definition: data-types.h:78
 
Copyright (C) 2016 Regents of the University of California. 
Definition: encrypted-content-types.h:37
 
An ndn_Interest holds an ndn_Name and other fields for an interest. 
Definition: interest-types.h:61
 
A struct ndn_DynamicUInt8Array holds a pointer to an allocated array, the length of the allocated arr...
Definition: dynamic-uint8-array-types.h:40
 
An ndn_Name holds an array of ndn_NameComponent. 
Definition: name-types.h:40
 
Copyright (C) 2016 Regents of the University of California. 
Definition: delegation-set-types.h:33
 
An ndn_ControlParameters holds fields for a ControlParameters which is used in the command interest s...
Definition: control-parameters-types.h:42
 
An ndn_Signature struct holds the signature bits and other info representing the signature in a data ...
Definition: data-types.h:59