22 #ifndef NDN_CXX_SECURITY_TRANSFORM_PUBLIC_KEY_HPP
23 #define NDN_CXX_SECURITY_TRANSFORM_PUBLIC_KEY_HPP
25 #include "../security-common.hpp"
26 #include "../../encoding/buffer.hpp"
40 class Error :
public std::runtime_error
45 :
std::runtime_error(what)
72 loadPkcs8(
const uint8_t* buf,
size_t size);
110 encrypt(
const uint8_t* plainText,
size_t plainLen)
const;
126 rsaEncrypt(
const uint8_t* plainText,
size_t plainLen)
const;
130 unique_ptr<Impl> m_impl;
137 #endif // NDN_CXX_SECURITY_TRANSFORM_PUBLIC_KEY_HPP
Copyright (c) 2013-2016 Regents of the University of California.
shared_ptr< const Buffer > ConstBufferPtr