Go to the source code of this file.
|
| tlv::Value | ndnph::ec::detail::getSpkiHeader () |
| | Return EC P-256 SPKI except the key.
|
| |
| tlv::Value | ndnph::ec::detail::getOid () |
| | Return '1.2.840.10045.2.1 ecPublicKey' OID bytes.
|
| |
| const uint8_t * | ndnph::ec::detail::findPublicKeyInCertificate (const Data &data) |
| | Extract raw public key from a certificate.
|
| |
| bool | ndnph::ec::generateRaw (uint8_t pvt[EcPrivateKey::KeyLen::value], uint8_t pub[EcPublicKey::KeyLen::value]) |
| | Generate key pair in raw format.
|
| |
| bool | ndnph::ec::generate (Region ®ion, const Name &name, EcPrivateKey &pvt, EcPublicKey &pub) |
| | Generate key pair.
|
| |
| bool | ndnph::ec::generate (Region ®ion, const Name &name, EcPrivateKey &pvt, EcPublicKey &pub, KeyChain &keyChain, const char *id) |
| | Generate key pair and save in KeyChain.
|
| |
| bool | ndnph::ec::load (KeyChain &keyChain, const char *id, Region ®ion, EcPrivateKey &pvt, EcPublicKey &pub) |
| | Load key pair from KeyChain.
|
| |
| bool | ndnph::ec::isCertificate (const Data &data) |
| | Determine if the Data packet is a certificate that contains an EC public key.
|
| |