ndn-embeds 0.1.0
Lightweight NDN protocol stack for embedded systems
Loading...
Searching...
No Matches
certificate.hpp File Reference

NDN Certificate. More...

#include "ndn/common.hpp"
#include "ndn/data.hpp"
#include "ndn/name.hpp"

Go to the source code of this file.

Classes

class  ndn::ValidityPeriod
 Validity period. More...
 
class  ndn::Certificate
 NDN Certificate. More...
 

Variables

constexpr size_t ndn::VALIDITY_TIMESTAMP_SIZE = 15
 Length of ValidityPeriod ISO 8601 format string (YYYYMMDDThhmmss)
 
constexpr size_t ndn::CERTIFICATE_MAX_KEY_SIZE = 256
 Maximum public key size (DER-encoded SubjectPublicKeyInfo)
 

Detailed Description

NDN Certificate.

Provides a class representing NDN certificates. A certificate is a special Data packet with ContentType=KEY, containing a public key and its validity period.

See also
https://docs.named-data.net/NDN-packet-spec/current/certificate.html

Definition in file certificate.hpp.

Variable Documentation

◆ CERTIFICATE_MAX_KEY_SIZE

constexpr size_t ndn::CERTIFICATE_MAX_KEY_SIZE = 256
constexpr

Maximum public key size (DER-encoded SubjectPublicKeyInfo)

Definition at line 24 of file certificate.hpp.

Referenced by ndn::Certificate::fromData(), and ndn::Certificate::setPublicKey().

◆ VALIDITY_TIMESTAMP_SIZE

constexpr size_t ndn::VALIDITY_TIMESTAMP_SIZE = 15
constexpr