esp8266ndn
NDN Arduino library for ESP8266 and more
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
ndnph::ndncert::server::CaProfile Class Reference

CA profile packet. More...

#include <server.hpp>

Inherits ndnph::ndncert::packet_struct::CaProfile.

Public Member Functions

Data::Signed toData (Region &region, const EcPrivateKey &signer) const
 Build CA profile packet. More...
 

Additional Inherited Members

- Public Attributes inherited from ndnph::ndncert::packet_struct::CaProfile
Name prefix
 CA prefix. More...
 
uint32_t maxValidityPeriod = 0
 Maximum ValidityPeriod duration in seconds. More...
 
Data cert
 CA certificate. More...
 

Detailed Description

CA profile packet.

Member Function Documentation

◆ toData()

Data::Signed ndnph::ndncert::server::CaProfile::toData ( Region region,
const EcPrivateKey signer 
) const
inline

Build CA profile packet.

Parameters
signerprivate key corresponding to cert .
Returns
an Encodable object, or a falsy value upon failure.

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