ndn::security::v2::CertificateRequest Class Reference

Request for a certificate, associated with the number of attempts. More...

#include <ndn-cxx/security/v2/certificate-request.hpp>

+ Inheritance diagram for ndn::security::v2::CertificateRequest:
+ Collaboration diagram for ndn::security::v2::CertificateRequest:

Public Member Functions

 CertificateRequest ()=default
 
 CertificateRequest (const Interest &interest)
 
 CertificateRequest (const Name &name)
 

Public Attributes

Interest interest
 the name for the requested data/certificate. More...
 
int nRetriesLeft = 0
 the number of remaining retries after timeout or NACK. More...
 
time::milliseconds waitAfterNack = 500_ms
 the amount of time to wait before sending the next interest after a NACK. More...
 

Detailed Description

Request for a certificate, associated with the number of attempts.

Definition at line 34 of file certificate-request.hpp.

Constructor & Destructor Documentation

ndn::security::v2::CertificateRequest::CertificateRequest ( )
default
ndn::security::v2::CertificateRequest::CertificateRequest ( const Interest interest)
inlineexplicit

Definition at line 40 of file certificate-request.hpp.

ndn::security::v2::CertificateRequest::CertificateRequest ( const Name name)
inlineexplicit

Definition at line 47 of file certificate-request.hpp.

Member Data Documentation

Interest ndn::security::v2::CertificateRequest::interest

the name for the requested data/certificate.

Definition at line 54 of file certificate-request.hpp.

int ndn::security::v2::CertificateRequest::nRetriesLeft = 0

the number of remaining retries after timeout or NACK.

Definition at line 56 of file certificate-request.hpp.

time::milliseconds ndn::security::v2::CertificateRequest::waitAfterNack = 500_ms

the amount of time to wait before sending the next interest after a NACK.

Definition at line 58 of file certificate-request.hpp.