All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
List of all members
ndn::Tlv0_1_1WireFormatLite Class Reference

A Tlv0_1_1WireFormatLite extends Tlv0_2WireFormatLite so that it is an alias in case any applications use Tlv0_1_1WireFormatLite directly. More...

#include <tlv-0_1_1-wire-format-lite.hpp>

Inheritance diagram for ndn::Tlv0_1_1WireFormatLite:
ndn::Tlv0_2WireFormatLite

Additional Inherited Members

- Static Public Member Functions inherited from ndn::Tlv0_2WireFormatLite
static ndn_Error encodeName (const NameLite &name, size_t *signedPortionBeginOffset, size_t *signedPortionEndOffset, DynamicUInt8ArrayLite &output, size_t *encodingLength)
 Encode name as NDN-TLV. More...
 
static ndn_Error decodeName (NameLite &name, const uint8_t *input, size_t inputLength, size_t *signedPortionBeginOffset, size_t *signedPortionEndOffset)
 Decode input as a name in NDN-TLV and set the fields of the name object. More...
 
static ndn_Error encodeInterest (const InterestLite &interest, size_t *signedPortionBeginOffset, size_t *signedPortionEndOffset, DynamicUInt8ArrayLite &output, size_t *encodingLength)
 Encode interest as NDN-TLV. More...
 
static ndn_Error decodeInterest (InterestLite &interest, const uint8_t *input, size_t inputLength, size_t *signedPortionBeginOffset, size_t *signedPortionEndOffset)
 Decode input as an interest in NDN-TLV and set the fields of the interest object. More...
 
static ndn_Error encodeData (const DataLite &data, size_t *signedPortionBeginOffset, size_t *signedPortionEndOffset, DynamicUInt8ArrayLite &output, size_t *encodingLength)
 Encode the data packet as NDN-TLV. More...
 
static ndn_Error decodeData (DataLite &data, const uint8_t *input, size_t inputLength, size_t *signedPortionBeginOffset, size_t *signedPortionEndOffset)
 Decode input as a data packet in NDN-TLV and set the fields in the data object. More...
 
static ndn_Error encodeControlParameters (const ControlParametersLite &controlParameters, DynamicUInt8ArrayLite &output, size_t *encodingLength)
 Encode controlParameters as an NDN-TLV ControlParameters. More...
 
static ndn_Error decodeControlParameters (ControlParametersLite &controlParameters, const uint8_t *input, size_t inputLength)
 Decode input as a TLV ControlParameters and set the fields in the controlParameters object. More...
 
static ndn_Error encodeControlResponse (const ControlResponseLite &controlResponse, DynamicUInt8ArrayLite &output, size_t *encodingLength)
 Encode controlResponse as an NDN-TLV ControlResponse. More...
 
static ndn_Error decodeControlResponse (ControlResponseLite &controlResponse, const uint8_t *input, size_t inputLength)
 Decode input as a TLV ControlResponse and set the fields in the controlResponse object. More...
 
static ndn_Error encodeSignatureInfo (const SignatureLite &signature, DynamicUInt8ArrayLite &output, size_t *encodingLength)
 Encode signature as an NDN-TLV SignatureInfo. More...
 
static ndn_Error encodeSignatureValue (const SignatureLite &signature, DynamicUInt8ArrayLite &output, size_t *encodingLength)
 Encode the signatureValue in the Signature object as an NDN-TLV SignatureValue (the signature bits). More...
 
static ndn_Error decodeSignatureInfoAndValue (SignatureLite &signature, const uint8_t *signatureInfo, size_t signatureInfoLength, const uint8_t *signatureValue, size_t signatureValueLength)
 Decode signatureInfo as an NDN-TLV signature info and signatureValue as the related SignatureValue, and set the fields in the signature object. More...
 
static ndn_Error decodeLpPacket (LpPacketLite &lpPacket, const uint8_t *input, size_t inputLength)
 Decode input as a TLV LpPacket and set the fields in the lpPacket object. More...
 
static ndn_Error encodeDelegationSet_Delegation (const DelegationSetLite::Delegation &delegation, DynamicUInt8ArrayLite &output, size_t offset, size_t *encodingLength)
 Encode delegation as an NDN-TLV Delegation. More...
 
static ndn_Error decodeDelegationSet_Delegation (DelegationSetLite::Delegation &delegation, const uint8_t *input, size_t inputLength, size_t *encodingLength)
 Decode input as an NDN-TLV Delegation and set the fields in the delegation object. More...
 
static ndn_Error encodeEncryptedContent (const EncryptedContentLite &encryptedContent, DynamicUInt8ArrayLite &output, size_t *encodingLength)
 Encode encryptedContent as an NDN-TLV EncryptedContent. More...
 
static ndn_Error decodeEncryptedContent (EncryptedContentLite &encryptedContent, const uint8_t *input, size_t inputLength)
 Decode input as a TLV EncryptedContent and set the fields in the encrypted content object. More...
 

Detailed Description

A Tlv0_1_1WireFormatLite extends Tlv0_2WireFormatLite so that it is an alias in case any applications use Tlv0_1_1WireFormatLite directly.

These two wire formats are the same except that Tlv0_2WireFormatLite adds support for the name component type ImplicitSha256Digest.


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