NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::security::DummyTpm Class Reference

#include <dummy-keychain.hpp>

Inheritance diagram for ndn::security::DummyTpm:
Collaboration diagram for ndn::security::DummyTpm:

Classes

class  Error
 

Public Member Functions

 DummyTpm (const std::string &locator)
 
bool isTerminalMode () const override
 
void setTerminalMode (bool isTerminal) const override
 
bool isTpmLocked () const override
 
ConstBufferPtr sign (const uint8_t *buf, size_t size, const Name &keyName, DigestAlgorithm digestAlgorithm) const
 

Static Public Member Functions

static std::string getScheme ()
 

Static Public Attributes

static const std::string SCHEME = "tpm-dummy"
 

Detailed Description

Definition at line 162 of file dummy-keychain.hpp.

Constructor & Destructor Documentation

ndn::security::DummyTpm::DummyTpm ( const std::string &  locator)
explicit

Definition at line 273 of file dummy-keychain.cpp.

Member Function Documentation

bool ndn::security::DummyTpm::isTerminalMode ( ) const
override

Definition at line 278 of file dummy-keychain.cpp.

void ndn::security::DummyTpm::setTerminalMode ( bool  isTerminal) const
override

Definition at line 284 of file dummy-keychain.cpp.

bool ndn::security::DummyTpm::isTpmLocked ( ) const
override

Definition at line 289 of file dummy-keychain.cpp.

ConstBufferPtr ndn::security::DummyTpm::sign ( const uint8_t *  buf,
size_t  size,
const Name keyName,
DigestAlgorithm  digestAlgorithm 
) const
std::string ndn::security::DummyTpm::getScheme ( )
static

Definition at line 333 of file dummy-keychain.cpp.

References SCHEME.

Member Data Documentation

const std::string ndn::security::DummyTpm::SCHEME = "tpm-dummy"
static

Definition at line 213 of file dummy-keychain.hpp.

Referenced by getScheme().


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