ndn-lite
Data Fields
ndn_signature Struct Reference

The structure to represent the Signature. More...

#include <signature.h>

Collaboration diagram for ndn_signature:
Collaboration graph

Data Fields

uint8_t sig_type
 Signature type. More...
 
uint8_t sig_value [NDN_SIGNATURE_BUFFER_SIZE]
 The buffer which holds signature value. More...
 
uint32_t sig_size
 Signature value size. More...
 
uint8_t enable_KeyLocator
 Key locator of the signing key. More...
 
ndn_name_t key_locator_name
 
uint8_t enable_SignatureNonce
 The signature info nonce. More...
 
uint32_t signature_nonce
 
uint8_t enable_Timestamp
 The signature timestamp. More...
 
uint64_t timestamp
 
uint8_t enable_Seqnum
 The signature sequence number. More...
 
uint64_t seqnum
 
ndn_validity_period_t validity_period
 Signature validity period. More...
 
uint8_t enable_ValidityPeriod
 

Detailed Description

The structure to represent the Signature.

We don't support key digest as KeyLocator in ndn-lite.

Field Documentation

◆ enable_KeyLocator

uint8_t ndn_signature::enable_KeyLocator

Key locator of the signing key.

Used when enable_KeyLocator > 0.

◆ enable_Seqnum

uint8_t ndn_signature::enable_Seqnum

The signature sequence number.

Used when enable_Seqnum > 0.

◆ enable_SignatureNonce

uint8_t ndn_signature::enable_SignatureNonce

The signature info nonce.

Used when enable_SignatureInfoNonce > 0.

◆ enable_Timestamp

uint8_t ndn_signature::enable_Timestamp

The signature timestamp.

Used when enable_Timestamp > 0.

◆ enable_ValidityPeriod

uint8_t ndn_signature::enable_ValidityPeriod

◆ key_locator_name

ndn_name_t ndn_signature::key_locator_name

◆ seqnum

uint64_t ndn_signature::seqnum

◆ sig_size

uint32_t ndn_signature::sig_size

Signature value size.

◆ sig_type

uint8_t ndn_signature::sig_type

Signature type.

◆ sig_value

uint8_t ndn_signature::sig_value[NDN_SIGNATURE_BUFFER_SIZE]

The buffer which holds signature value.

◆ signature_nonce

uint32_t ndn_signature::signature_nonce

◆ timestamp

uint64_t ndn_signature::timestamp

◆ validity_period

ndn_validity_period_t ndn_signature::validity_period

Signature validity period.


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