22 #ifndef NDN_CXX_SECURITY_TRANSFORM_PUBLIC_KEY_HPP
23 #define NDN_CXX_SECURITY_TRANSFORM_PUBLIC_KEY_HPP
37 class Error :
public std::runtime_error
40 using std::runtime_error::runtime_error;
107 encrypt(span<const uint8_t> plainText)
const;
124 rsaEncrypt(span<const uint8_t> plainText)
const;
128 const unique_ptr<Impl> m_impl;
Common includes and macros used throughout the library.
KeyType
The type of a cryptographic key.
std::shared_ptr< const Buffer > ConstBufferPtr