Public Member Functions | |
| 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.
| keyDer | The blob of the SubjectPublicKeyInfo DER. |
| UnrecognizedKeyFormatException | if can't decode the key DER. |
| ptr_lib::shared_ptr< DerNode > ndn::PublicKey::toDer | ( | ) |
Encode the public key into DER.
1.8.6