All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
ndn::TpmKeyHandleMemory Class Reference

TpmKeyHandleMemory extends TpmKeyHandle to implement a TPM key handle that keeps the private key in memory. More...

#include <tpm-key-handle-memory.hpp>

Inheritance diagram for ndn::TpmKeyHandleMemory:
ndn::TpmKeyHandle

Public Member Functions

 TpmKeyHandleMemory (const ptr_lib::shared_ptr< TpmPrivateKey > &key)
 Create a TpmKeyHandleMemory to use the given in-memory key. More...
 
- Public Member Functions inherited from ndn::TpmKeyHandle
Blob sign (DigestAlgorithm digestAlgorithm, const uint8_t *data, size_t dataLength) const
 Compute a digital signature from the byte array using this key with digestAlgorithm. More...
 
Blob decrypt (const uint8_t *cipherText, size_t cipherTextLength) const
 Return the plain text which is decrypted from cipherText using this key. More...
 
Blob derivePublicKey () const
 Get the encoded public key derived from this key. More...
 
void setKeyName (const Name &keyName)
 
const NamegetKeyName () const
 

Detailed Description

TpmKeyHandleMemory extends TpmKeyHandle to implement a TPM key handle that keeps the private key in memory.

Constructor & Destructor Documentation

ndn::TpmKeyHandleMemory::TpmKeyHandleMemory ( const ptr_lib::shared_ptr< TpmPrivateKey > &  key)

Create a TpmKeyHandleMemory to use the given in-memory key.

Parameters
keyThe in-memory key.

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