|
|
| PublicKey () |
| | The default constructor.
|
| |
| | PublicKey (const Blob &keyDer) |
| | Create a new PublicKey by decoding the keyDer. More...
|
| |
| ptr_lib::shared_ptr< DerNode > | toDer () |
| | Encode the public key into DER. More...
|
| |
|
KeyType | getKeyType () const |
| |
|
Blob | getDigest (DigestAlgorithm digestAlgorithm=DIGEST_ALGORITHM_SHA256) const |
| |
|
const Blob & | getKeyDer () const |
| |
| ndn::PublicKey::PublicKey |
( |
const Blob & |
keyDer | ) |
|
Create a new PublicKey by decoding the keyDer.
Set the key type from the decoding.
- Parameters
-
| keyDer | The blob of the SubjectPublicKeyInfo DER. |
- Exceptions
-
| ptr_lib::shared_ptr< DerNode > ndn::PublicKey::toDer |
( |
| ) |
|
Encode the public key into DER.
- Returns
- the encoded DER syntax tree.
The documentation for this class was generated from the following files:
- include/ndn-cpp/security/certificate/public-key.hpp
- src/security/certificate/public-key.cpp