NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::CertificateCache Class Referenceabstract

Interface for the cache of validated certificates. More...

#include <certificate-cache.hpp>

Inheritance diagram for ndn::CertificateCache:
Collaboration diagram for ndn::CertificateCache:

Public Member Functions

virtual ~CertificateCache ()
 
virtual void insertCertificate (shared_ptr< const IdentityCertificate > certificate)=0
 
virtual shared_ptr< const IdentityCertificategetCertificate (const Name &certificateNameWithoutVersion)=0
 
virtual void reset ()=0
 
virtual size_t getSize ()=0
 
bool isEmpty ()
 

Detailed Description

Interface for the cache of validated certificates.

Definition at line 35 of file certificate-cache.hpp.

Constructor & Destructor Documentation

◆ ~CertificateCache()

virtual ndn::CertificateCache::~CertificateCache ( )
inlinevirtual

Definition at line 39 of file certificate-cache.hpp.

Member Function Documentation

◆ insertCertificate()

virtual void ndn::CertificateCache::insertCertificate ( shared_ptr< const IdentityCertificate certificate)
pure virtual

Implemented in ndn::CertificateCacheTtl.

◆ getCertificate()

virtual shared_ptr<const IdentityCertificate> ndn::CertificateCache::getCertificate ( const Name certificateNameWithoutVersion)
pure virtual

Implemented in ndn::CertificateCacheTtl.

◆ reset()

virtual void ndn::CertificateCache::reset ( )
pure virtual

Implemented in ndn::CertificateCacheTtl.

◆ getSize()

virtual size_t ndn::CertificateCache::getSize ( )
pure virtual

Implemented in ndn::CertificateCacheTtl.

Referenced by isEmpty().

◆ isEmpty()

bool ndn::CertificateCache::isEmpty ( )
inline

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

References getSize().


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