NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: 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

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

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

References getCertificate(), getSize(), insertCertificate(), and reset().

Member Function Documentation

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

Implemented in ndn::CertificateCacheTtl.

Referenced by ~CertificateCache().

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

Implemented in ndn::CertificateCacheTtl.

Referenced by ~CertificateCache().

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

Implemented in ndn::CertificateCacheTtl.

Referenced by ~CertificateCache().

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

Implemented in ndn::CertificateCacheTtl.

Referenced by isEmpty(), and ~CertificateCache().

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: