1 /* 2 * Generated using zcbor version 0.8.0 3 * https://github.com/NordicSemiconductor/zcbor 4 * Generated with a --default-max-qty of 3 5 */ 6 7 #ifndef EDHOC_DECODE_CERT_TYPES_H__ 8 #define EDHOC_DECODE_CERT_TYPES_H__ 9 10 #include <stdint.h> 11 #include <stdbool.h> 12 #include <stddef.h> 13 #include <zcbor_common.h> 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 /** Which value for --default-max-qty this file was created with. 20 * 21 * The define is used in the other generated file to do a build-time 22 * compatibility check. 23 * 24 * See `zcbor --help` for more information about --default-max-qty 25 */ 26 #define DEFAULT_MAX_QTY 3 27 28 struct cert { 29 int32_t cert_type; 30 int32_t cert_serial_number; 31 struct zcbor_string cert_issuer; 32 int32_t cert_validity_not_before; 33 int32_t cert_validity_not_after; 34 struct zcbor_string cert_subject; 35 int32_t cert_subject_public_key_algorithm; 36 struct zcbor_string cert_pk; 37 int32_t cert_extensions; 38 int32_t cert_issuer_signature_algorithm; 39 struct zcbor_string cert_signature; 40 }; 41 42 #ifdef __cplusplus 43 } 44 #endif 45 46 #endif /* EDHOC_DECODE_CERT_TYPES_H__ */ 47