|
Leancrypto 1.7.2
Post-Quantum Cryptographic Library
|
#include "lc_pkcs7_common.h"
Include dependency graph for lc_pkcs7_generator.h:Go to the source code of this file.
Enumerations | |
| enum | lc_pkcs7_set_data_flags { lc_pkcs7_set_data_noflag , lc_pkcs7_set_data_embed } |
Functions | |
| int | lc_pkcs7_encode (const struct lc_pkcs7_message *pkcs7, uint8_t *data, size_t *avail_datalen) |
| Encode a PKCS#7 message. More... | |
| int | lc_pkcs7_encode_ctx_init (struct lc_pkcs7_generate_context *ctx) |
| Initialize a context for encoding a PKCS#7 message. More... | |
| void | lc_pkcs7_encode_ctx_clear (struct lc_pkcs7_generate_context *ctx) |
| Clear the context for encoding a PKCS#7 message. More... | |
| int | lc_pkcs7_encode_ctx_set_pkcs7 (struct lc_pkcs7_generate_context *ctx, const struct lc_pkcs7_message *pkcs7) |
| Set the PKCS#7 message definition. More... | |
| int | lc_pkcs7_encode_ctx_set_signer_data_type (struct lc_pkcs7_generate_context *ctx, enum OID oid) |
| Set the PKCS#7 SignedData contentType. More... | |
| int | lc_pkcs7_encode_ctx (struct lc_pkcs7_generate_context *ctx, uint8_t *data, size_t *avail_datalen) |
| Encode a PKCS#7 message using the provided context. More... | |
| int | lc_pkcs7_set_certificate (struct lc_pkcs7_message *pkcs7, struct lc_x509_certificate *x509) |
| Set an PKCS#7 certificate to be added to a PKCS#7 message. More... | |
| int | lc_pkcs7_set_signer (struct lc_pkcs7_message *pkcs7, struct lc_x509_certificate *x509_with_sk, const struct lc_hash *signing_hash, unsigned long auth_attribute) |
| Set an PKCS#7 certificate as signer for a PKCS#7 message. More... | |
| int | lc_pkcs7_set_data (struct lc_pkcs7_message *pkcs7, const uint8_t *data, size_t data_len, enum lc_pkcs7_set_data_flags flags) |
| Set the data to be signed with PKCS#7. More... | |
| int | lc_pkcs7_set_data_with_type (struct lc_pkcs7_message *pkcs7, const uint8_t *data, size_t data_len, enum lc_pkcs7_set_data_flags flags, enum OID data_type) |
| Set the data to be signed with PKCS#7. More... | |
| Enumerator | |
|---|---|
| lc_pkcs7_set_data_noflag | Define no flags |
| lc_pkcs7_set_data_embed | Embed data into PKCS#7 message |
Definition at line 275 of file lc_pkcs7_generator.h.