36 BOOST_ASSERT(m_key !=
nullptr);
40 KeyHandleMem::doSign(
DigestAlgorithm digestAlgorithm,
const uint8_t* buf,
size_t size)
const 50 KeyHandleMem::doDecrypt(
const uint8_t* cipherText,
size_t cipherTextLen)
const 52 return m_key->decrypt(cipherText, cipherTextLen);
56 KeyHandleMem::doDerivePublicKey()
const 58 return m_key->derivePublicKey();
KeyHandleMem(shared_ptr< transform::PrivateKey > key)
shared_ptr< Buffer > buf()
Flush written data to the stream and return shared pointer to the underlying buffer.
implements an output stream that constructs ndn::Buffer
shared_ptr< const Buffer > ConstBufferPtr