#include <public-key.hpp>
Definition at line 19 of file public-key.hpp.
| ndn::PublicKey::PublicKey |
( |
| ) |
|
| ndn::PublicKey::PublicKey |
( |
const uint8_t * |
keyDerBuf, |
|
|
size_t |
keyDerSize |
|
) |
| |
Create a new PublicKey with the given values.
- Parameters
-
| algorithm | The algorithm of the public key. |
| keyDer | The blob of the PublicKeyInfo in terms of DER. |
- Exceptions
-
- Parameters
-
| algorithm | The algorithm of the public key. |
| keyDer | The blob of the PublicKeyInfo in terms of DER. |
Definition at line 29 of file public-key.cpp.
| void ndn::PublicKey::decode |
( |
CryptoPP::BufferedTransformation & |
in | ) |
|
| void ndn::PublicKey::encode |
( |
CryptoPP::BufferedTransformation & |
out | ) |
const |
| const Buffer& ndn::PublicKey::get |
( |
| ) |
const |
|
inline |
| bool ndn::PublicKey::operator!= |
( |
const PublicKey & |
key | ) |
const |
|
inline |
| bool ndn::PublicKey::operator== |
( |
const PublicKey & |
key | ) |
const |
|
inline |
| void ndn::PublicKey::set |
( |
const uint8_t * |
keyDerBuf, |
|
|
size_t |
keyDerSize |
|
) |
| |
|
inline |