ASN.1 DER parsing.
More...
#include "includes.h"
#include "common.h"
#include "asn1.h"
|
int | asn1_get_next (const u8 *buf, size_t len, struct asn1_hdr *hdr) |
|
int | asn1_parse_oid (const u8 *buf, size_t len, struct asn1_oid *oid) |
|
int | asn1_get_oid (const u8 *buf, size_t len, struct asn1_oid *oid, const u8 **next) |
|
void | asn1_oid_to_str (const struct asn1_oid *oid, char *buf, size_t len) |
|
unsigned long | asn1_bit_string_to_long (const u8 *buf, size_t len) |
|
int | asn1_oid_equal (const struct asn1_oid *a, const struct asn1_oid *b) |
|
Initial value:= {
.oid = { 1, 3, 14, 3, 2, 26 },
.len = 6
}
Initial value:= {
.oid = { 2, 16, 840, 1, 101, 3, 4, 2, 1 },
.len = 9
}