|
esp8266ndn
NDN Arduino library for ESP8266 and more
|
Namespaces | |
| namespace | detail |
Classes | |
| class | EcPrivateKey |
| EC private key. More... | |
| class | EcPublicKey |
| EC public key. More... | |
Functions | |
| bool | generateRaw (uint8_t pvt[EcPrivateKey::KeyLen::value], uint8_t pub[EcPublicKey::KeyLen::value]) |
| Generate key pair in raw format. | |
| bool | generate (Region ®ion, const Name &name, EcPrivateKey &pvt, EcPublicKey &pub) |
| Generate key pair. | |
| bool | generate (Region ®ion, const Name &name, EcPrivateKey &pvt, EcPublicKey &pub, KeyChain &keyChain, const char *id) |
| Generate key pair and save in KeyChain. | |
| bool | load (KeyChain &keyChain, const char *id, Region ®ion, EcPrivateKey &pvt, EcPublicKey &pub) |
| Load key pair from KeyChain. | |
| bool | isCertificate (const Data &data) |
| Determine if the Data packet is a certificate that contains an EC public key. | |
|
inline |
Generate key pair.
| region | where to allocate key name. | |
| name | subject name or key name; can be released afterwards. | |
| [out] | pvt | the private key. |
| [out] | pub | the public key. |
|
inline |
Generate key pair and save in KeyChain.
| region | where to allocate key name. | |
| name | subject name or key name; can be released afterwards. | |
| [out] | pvt | the private key. |
| [out] | pub | the public key. |
| keyChain | where to save the key pair. | |
| id | id within keyChain. |
|
inline |
Generate key pair in raw format.
|
inline |
Determine if the Data packet is a certificate that contains an EC public key.
It is unnecessary to call this function before EcPublicKey::import().
|
inline |
Load key pair from KeyChain.