#include <dummy-keychain.hpp>
Public Member Functions | |
DummyKeyHandle (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 |
bool | verify (DigestAlgorithm digestAlgorithm, const uint8_t *buf, size_t bufLen, const uint8_t *sig, size_t sigLen) const |
Verify the signature sig created on buf using this key and digestAlgorithm . More... | |
ConstBufferPtr | decrypt (const uint8_t *cipherText, size_t cipherTextLen) const |
ConstBufferPtr | derivePublicKey () const |
Name | getKeyName () const |
void | setKeyName (const Name &keyName) |
Definition at line 140 of file dummy-keychain.hpp.
|
explicit |
Definition at line 244 of file dummy-keychain.cpp.