#include <public-key.hpp>
Definition at line 43 of file v1/public-key.hpp.
ndn::security::v1::PublicKey::PublicKey |
( |
| ) |
|
ndn::security::v1::PublicKey::PublicKey |
( |
const uint8_t * |
keyDerBuf, |
|
|
size_t |
keyDerSize |
|
) |
| |
Create a new PublicKey from keyDerBuf
in DER buffer.
- Parameters
-
keyDerBuf | The pointer to the first byte of buffer containing DER of public key |
keyDerSize | Size of the buffer |
- Exceptions
-
Definition at line 40 of file v1/public-key.cpp.
const Block & ndn::security::v1::PublicKey::computeDigest |
( |
| ) |
const |
- Returns
- a KeyDigest block that matches this public key
Definition at line 48 of file v1/public-key.cpp.
void ndn::security::v1::PublicKey::decode |
( |
CryptoPP::BufferedTransformation & |
in | ) |
|
void ndn::security::v1::PublicKey::encode |
( |
CryptoPP::BufferedTransformation & |
out | ) |
const |
const Buffer& ndn::security::v1::PublicKey::get |
( |
| ) |
const |
|
inline |
KeyType ndn::security::v1::PublicKey::getKeyType |
( |
| ) |
const |
|
inline |
bool ndn::security::v1::PublicKey::operator!= |
( |
const PublicKey & |
key | ) |
const |
|
inline |
bool ndn::security::v1::PublicKey::operator== |
( |
const PublicKey & |
key | ) |
const |
|
inline |
void ndn::security::v1::PublicKey::set |
( |
const uint8_t * |
keyDerBuf, |
|
|
size_t |
keyDerSize |
|
) |
| |
|
inline |