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

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

#include <ndn-cxx/security/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 certificate. More...
 
int nRetriesLeft = 0
 The number of remaining retries after a 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

◆ CertificateRequest() [1/3]

ndn::security::v2::CertificateRequest::CertificateRequest ( )
default

◆ CertificateRequest() [2/3]

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

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

◆ CertificateRequest() [3/3]

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

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

Member Data Documentation

◆ interest

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

The name for the requested certificate.

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

◆ nRetriesLeft

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

The number of remaining retries after a timeout or Nack.

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

◆ waitAfterNack

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.