nRF Connect SDK API 2.8.99
|
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
struct | asn1_ctx_t |
Macros | |
#define | UP4 0x04 |
#define | UP6 0x06 |
#define | UC16 0x30 |
#define | AP15 0x4F |
#define | AP16 0x50 |
#define | CC1 0xA1 |
#define | CC7 0xA7 |
Typedefs | |
typedef void(* | asn1_sequence_func_t) (asn1_ctx_t *ctx, void *data) |
Functions | |
bool | asn1_dec_head (asn1_ctx_t *ctx, uint8_t *tag, size_t *len) |
Decode ASN.1 header. | |
void | asn1_dec_octet_string (asn1_ctx_t *ctx, size_t len, uint8_t *value, size_t max_len) |
Decode ASN.1 OCTET STRING. | |
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. | |