21 #ifndef NDN_RSA_PRIVATE_KEY_H
22 #define NDN_RSA_PRIVATE_KEY_H
24 #include <ndn-cpp/c/common.h>
25 #include <ndn-cpp/c/errors.h>
26 #include <ndn-cpp/c/encrypt/algo/encrypt-params-types.h>
27 #include <ndn-cpp/c/security/rsa-private-key-types.h>
61 ndn_RsaPrivateKey_decode
63 size_t privateKeyDerLength);
89 ndn_RsaPrivateKey_encodePrivateKey
91 size_t *encodingLength);
106 ndn_RsaPrivateKey_encodePublicKey
108 size_t *encodingLength);
123 ndn_RsaPrivateKey_signWithSha256
125 uint8_t *signature,
size_t *signatureLength);
142 ndn_RsaPrivateKey_decrypt
144 size_t encryptedDataLength, ndn_EncryptAlgorithmType algorithmType,
145 uint8_t *plainData,
size_t *plainDataLength);
A struct ndn_RsaPrivateKey holds a decoded RSA private key for use in crypto operations.
Definition: rsa-private-key-types.h:34