21 #ifndef NDN_EC_PUBLIC_KEY_H
22 #define NDN_EC_PUBLIC_KEY_H
24 #include <ndn-cpp/c/common.h>
25 #include <ndn-cpp/c/errors.h>
26 #include <ndn-cpp/c/security/ec-public-key-types.h>
59 ndn_EcPublicKey_decode
61 size_t publicKeyDerLength);
78 ndn_EcPublicKey_encode
79 (
const struct ndn_EcPublicKey *
self,
int includeParameters, uint8_t *encoding,
80 size_t *encodingLength);
92 ndn_EcPublicKey_verifyWithSha256
94 size_t signatureLength,
const uint8_t *data,
size_t dataLength);
110 ndn_verifySha256WithEcdsaSignature
111 (
const uint8_t *signature,
size_t signatureLength,
const uint8_t *data,
112 size_t dataLength,
const uint8_t *publicKeyDer,
size_t publicKeyDerLength,
A struct ndn_EcPublicKey holds a decoded EC public key for use in crypto operations.
Definition: ec-public-key-types.h:34