bool asn1_dec_head(asn1_ctx_t *ctx, uint8_t *tag, size_t *len)
Decode ASN.1 header.
void(* asn1_sequence_func_t)(asn1_ctx_t *ctx, void *data)
Definition asn1_decode.h:43
void asn1_dec_sequence(asn1_ctx_t *ctx, size_t len, void *data, asn1_sequence_func_t sequence_func)
Decode ASN.1 SEQUENCE.
void asn1_dec_skip(asn1_ctx_t *ctx, size_t len)
Skip a subset of ASN.1 content. This is used to skip parts of the content which is not of interest.
void asn1_dec_octet_string(asn1_ctx_t *ctx, size_t len, uint8_t *value, size_t max_len)
Decode ASN.1 OCTET STRING.
size_t length
Definition asn1_decode.h:37
const uint8_t * asnbuf
Definition asn1_decode.h:36
uint32_t offset
Definition asn1_decode.h:38
bool error
Definition asn1_decode.h:39
Definition asn1_decode.h:35