Public Attributes | List of all members
ndn_KeyLocator Struct Reference

An ndn_KeyLocator holds the type of key locator and related data. More...

#include <key-types.h>

Inheritance diagram for ndn_KeyLocator:
ndn::KeyLocatorLite

Public Attributes

ndn_KeyLocatorType type
 -1 for none
 
struct ndn_Blob keyData
 A Blob whose value is a pointer to a pre-allocated buffer for the key data as follows: If type is ndn_KeyLocatorType_KEY, the key data. More...
 
struct ndn_Name keyName
 The key name (only used if type is ndn_KeyLocatorType_KEYNAME.)
 
ndn_KeyNameType keyNameType
 The type of data for keyName, -1 for none. More...
 

Detailed Description

An ndn_KeyLocator holds the type of key locator and related data.

Member Data Documentation

struct ndn_Blob ndn_KeyLocator::keyData

A Blob whose value is a pointer to a pre-allocated buffer for the key data as follows: If type is ndn_KeyLocatorType_KEY, the key data.

If type is ndn_KeyLocatorType_CERTIFICATE, the certificate data. If type is ndn_KeyLocatorType_KEY_LOCATOR_DIGEST, the digest data. If type is ndn_KeyLocatorType_KEYNAME and keyNameType is ndn_KeyNameType_PUBLISHER_PUBLIC_KEY_DIGEST, the publisher public key digest. If type is ndn_KeyLocatorType_KEYNAME and keyNameType is ndn_KeyNameType_PUBLISHER_CERTIFICATE_DIGEST, the publisher certificate digest. If type is ndn_KeyLocatorType_KEYNAME and keyNameType is ndn_KeyNameType_PUBLISHER_ISSUER_KEY_DIGEST, the publisher issuer key digest. If type is ndn_KeyLocatorType_KEYNAME and keyNameType is ndn_KeyNameType_PUBLISHER_ISSUER_CERTIFICATE_DIGEST, the publisher issuer certificate digest.

ndn_KeyNameType ndn_KeyLocator::keyNameType

The type of data for keyName, -1 for none.

Deprecated:
The use of a digest attached to the KeyName is deprecated.

(only used if type is ndn_KeyLocatorType_KEYNAME.)


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