ndn::security::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::CertificateRequest:
+ Collaboration diagram for ndn::security::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 32 of file certificate-request.hpp.

Constructor & Destructor Documentation

◆ CertificateRequest() [1/3]

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

◆ CertificateRequest() [2/3]

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

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

◆ CertificateRequest() [3/3]

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

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

Member Data Documentation

◆ interest

Interest ndn::security::CertificateRequest::interest

The name for the requested certificate.

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

◆ nRetriesLeft

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

The number of remaining retries after a timeout or Nack.

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

◆ waitAfterNack

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

The amount of time to wait before sending the next Interest after a Nack.

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