1 /* 2 * Generated using zcbor version 0.3.99 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 <string.h> 14 #include "zcbor_decode.h" 15 16 /** Which value for --default-max-qty this file was created with. 17 * 18 * The define is used in the other generated file to do a build-time 19 * compatibility check. 20 * 21 * See `zcbor --help` for more information about --default-max-qty 22 */ 23 #define DEFAULT_MAX_QTY 3 24 25 struct cert { 26 int32_t _cert_type; 27 int32_t _cert_serial_number; 28 struct zcbor_string _cert_issuer; 29 int32_t _cert_validity_not_before; 30 int32_t _cert_validity_not_after; 31 struct zcbor_string _cert_subject; 32 int32_t _cert_subject_public_key_algorithm; 33 struct zcbor_string _cert_pk; 34 int32_t _cert_extensions; 35 int32_t _cert_issuer_signature_algorithm; 36 struct zcbor_string _cert_signature; 37 }; 38 39 40 #endif /* EDHOC_DECODE_CERT_TYPES_H__ */ 41