22 #ifndef NDN_CXX_SECURITY_TRANSFORM_PUBLIC_KEY_HPP
23 #define NDN_CXX_SECURITY_TRANSFORM_PUBLIC_KEY_HPP
38 class Error :
public std::runtime_error
41 using std::runtime_error::runtime_error;
108 encrypt(span<const uint8_t> plainText)
const;
125 rsaEncrypt(span<const uint8_t> plainText)
const;
129 const unique_ptr<Impl> m_impl;
shared_ptr< const Buffer > ConstBufferPtr
KeyType
The type of a cryptographic key.