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;
 
   70   [[deprecated(
"use the overload that takes a span<>")]]
 
   93   [[deprecated(
"use the overload that takes a span<>")]]
 
  124   encrypt(span<const uint8_t> plainText) 
const;
 
  132   [[deprecated(
"use the overload that takes a span<>")]]
 
  134   encrypt(
const uint8_t* plainText, 
size_t plainLen)
 const 
  136     return encrypt({plainText, plainLen});
 
  155   rsaEncrypt(span<const uint8_t> plainText) 
const;
 
  159   const unique_ptr<Impl> m_impl;
 
shared_ptr< const Buffer > ConstBufferPtr
 
KeyType
The type of a cryptographic key.