An ndn_KeyLocator holds the type of key locator and related data. More...
#include <key-types.h>
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... | |
An ndn_KeyLocator holds the type of key locator and related data.
| 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.
(only used if type is ndn_KeyLocatorType_KEYNAME.)
1.8.9.1