Lines Matching +full:created +full:- +full:for

4  * Copyright (c) 2018-2019, Laurence Lundblade.
5 * Copyright (c) 2020-2023, Arm Limited. All rights reserved.
7 * SPDX-License-Identifier: BSD-3-Clause
9 * See BSD-3-Clause license in README.md
35 * -# Create and initialize an attest_token_encode_ctx indicating the
38 * -# Use various add methods to fill in the payload with claims. The
39 * encoding context can also be borrowed for more rich payloads.
41 * -# Call attest_token_encode_finish() to create the signature and finish
62 /** CBOR Syntax not well-formed -- a CBOR syntax error. */
64 /** Bad CBOR structure, for example not a map when was is
67 /** Bad CBOR type, for example an not a text string, when a text
70 /** Integer too large, for example an \c int32_t is required, but
115 * The context for creating an attestation token. The caller of
119 * any memory requirements for the cryptographic operations.
121 * The structure is opaque for the caller.
142 * for example \ref TOKEN_OPT_OMIT_CLAIMS.
153 * The size of the buffer in \c out_buffer->len
154 * determines the size of the token that can be created. It must be
157 * signing key size. It is about 150 bytes for 256-bit ECDSA.
159 * If \c out_buffer->ptr is \c NULL and \c out_buffer_ptr->len is
160 * large like \c UINT32_MAX no token will be created but the length of
161 * the token that would be created will be in \c completed_token as
191 * \brief Add a 64-bit signed integer claim
194 * \param[in] label Integer label for claim.
205 * \param[in] label Integer label for claim.
216 * \param[in] label Integer label for claim.
224 * \brief Add some already-encoded CBOR to payload
227 * \param[in] label Integer label for claim.
228 * \param[in] encoded The already-encoded CBOR.
230 * Encoded CBOR must be a full map or full array or a non-aggregate