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;
64 loadPkcs8(
const uint8_t* buf,
size_t size);
102 encrypt(
const uint8_t* plainText,
size_t plainLen)
const;
120 rsaEncrypt(
const uint8_t* plainText,
size_t plainLen)
const;
124 const unique_ptr<Impl> m_impl;
131 #endif // NDN_CXX_SECURITY_TRANSFORM_PUBLIC_KEY_HPP
KeyType
The type of a cryptographic key.
shared_ptr< const Buffer > ConstBufferPtr