11#ifndef __T_COSE_SIGN1_H__
12#define __T_COSE_SIGN1_H__
62 uint8_t buffer_for_protected_headers[
63 T_COSE_SIGN1_MAX_PROT_HEADER];
65 int32_t cose_algorithm_id;
67 bool short_circuit_sign;
154 bool short_circuit_sign,
155 int32_t cose_algorithm_id,
Q C B O R E n c o d e / D e c o d e.
This is the context for creating a COSE_Sign1 structure.
UsefulBufC and UsefulBuf are simple data structures to hold a pointer and length for a binary data.
Defines common to all public t_cose interfaces.
t_cose_err_t
Error codes return by t_cose.
enum t_cose_err_t t_cose_sign1_finish(struct t_cose_sign1_ctx *me, struct useful_buf_c payload)
Finish creation of the COSE_Sign1.
enum t_cose_err_t t_cose_sign1_init(struct t_cose_sign1_ctx *me, bool short_circuit_sign, int32_t cose_algorithm_id, int32_t key_select, QCBOREncodeContext *cbor_encode_ctx)
Initialize to start creating a COSE_Sign1.