17 #ifndef COAP_ASN1_INTERNAL_H_
18 #define COAP_ASN1_INTERNAL_H_
57 size_t asn1_len(
const uint8_t **ptr);
coap_asn1_tag_t asn1_tag_c(const uint8_t **ptr, int *constructed, int *class)
Get the asn1 tag from the current ptr.
size_t asn1_len(const uint8_t **ptr)
Get the asn1 length from the current ptr.
coap_binary_t * get_asn1_tag(coap_asn1_tag_t ltag, const uint8_t *ptr, size_t tlen, asn1_validate validate)
Get the asn1 tag and data from the current ptr.
int(* asn1_validate)(const uint8_t *data, size_t size)
Callback to validate the asn1 tag and data.
CoAP binary data definition.