TpmBackEndMemory extends TpmBackEnd to implement a TPM back-end using in-memory storage. More...
#include <tpm-back-end-memory.hpp>
Static Public Member Functions | |
| static std::string | getScheme () |
Additional Inherited Members | |
Public Member Functions inherited from ndn::TpmBackEnd | |
| bool | hasKey (const Name &keyName) const |
| Check if the key with name keyName exists in the TPM. More... | |
| ptr_lib::shared_ptr< TpmKeyHandle > | getKeyHandle (const Name &keyName) const |
| Get the handle of the key with name keyName. More... | |
| ptr_lib::shared_ptr< TpmKeyHandle > | createKey (const Name &identityName, const KeyParams ¶ms) |
| Create a key for the identityName according to params. More... | |
| void | deleteKey (const Name &keyName) |
| Delete the key with name keyName. More... | |
| Blob | exportKey (const Name &keyName, const uint8_t *password, size_t passwordLength) |
| Get the encoded private key with name keyName in PKCS #8 format, possibly password-encrypted. More... | |
| void | importKey (const Name &keyName, const uint8_t *pkcs8, size_t pkcs8Length, const uint8_t *password, size_t passwordLength) |
| Import an encoded private key with name keyName in PKCS #8 format, possibly password-encrypted. More... | |
| virtual bool | isTerminalMode () const |
| Check if the TPM is in terminal mode. More... | |
| virtual void | setTerminalMode (bool isTerminal) const |
| Set the terminal mode of the TPM. More... | |
| virtual bool | isTpmLocked () const |
| Check if the TPM is locked. More... | |
| virtual bool | unlockTpm (const uint8_t *password, size_t passwordLength) const |
| Unlock the TPM. More... | |
Static Protected Member Functions inherited from ndn::TpmBackEnd | |
| static void | setKeyName (TpmKeyHandle &keyHandle, const Name &identityName, const KeyParams ¶ms) |
| Set the key name in keyHandle according to identityName and params. | |
TpmBackEndMemory extends TpmBackEnd to implement a TPM back-end using in-memory storage.
1.8.6