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

A TPM key handle that keeps the private key in memory. More...

#include <key-handle-mem.hpp>

Inheritance diagram for ndn::security::tpm::KeyHandleMem:
Collaboration diagram for ndn::security::tpm::KeyHandleMem:

Public Member Functions

 KeyHandleMem (shared_ptr< transform::PrivateKey > key)
 
- Public Member Functions inherited from ndn::security::tpm::KeyHandle
virtual ~KeyHandle ()
 
ConstBufferPtr sign (DigestAlgorithm digestAlgorithm, const uint8_t *buf, size_t size) const
 
ConstBufferPtr decrypt (const uint8_t *cipherText, size_t cipherTextLen) const
 
ConstBufferPtr derivePublicKey () const
 
void setKeyName (const Name &keyName)
 
Name getKeyName () const
 

Detailed Description

A TPM key handle that keeps the private key in memory.

Definition at line 39 of file key-handle-mem.hpp.

Constructor & Destructor Documentation

◆ KeyHandleMem()

ndn::security::tpm::KeyHandleMem::KeyHandleMem ( shared_ptr< transform::PrivateKey key)
explicit

Definition at line 33 of file key-handle-mem.cpp.


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