asn1.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  asn1_hdr
struct  asn1_oid

Defines

#define ANS1_TAG_RELATIVE_OID   0x0D
#define ASN1_CLASS_APPLICATION   1
#define ASN1_CLASS_CONTEXT_SPECIFIC   2
#define ASN1_CLASS_PRIVATE   3
#define ASN1_CLASS_UNIVERSAL   0
#define ASN1_MAX_OID_LEN   20
#define ASN1_TAG_BITSTRING   0x03
#define ASN1_TAG_BMPSTRING   0x1D
#define ASN1_TAG_BOOLEAN   0x01
#define ASN1_TAG_ENUMERATED   0x0A
#define ASN1_TAG_EOC   0x00
#define ASN1_TAG_EXTERNAL   0x08
#define ASN1_TAG_GENERALIZEDTIME   0x18
#define ASN1_TAG_GENERALSTRING   0x1B
#define ASN1_TAG_GRAPHICSTRING   0x19
#define ASN1_TAG_IA5STRING   0x16
#define ASN1_TAG_INTEGER   0x02
#define ASN1_TAG_NULL   0x05
#define ASN1_TAG_NUMERICSTRING   0x12
#define ASN1_TAG_OBJECT_DESCRIPTOR   0x07
#define ASN1_TAG_OCTETSTRING   0x04
#define ASN1_TAG_OID   0x06
#define ASN1_TAG_PRINTABLESTRING   0x13
#define ASN1_TAG_REAL   0x09
#define ASN1_TAG_SEQUENCE   0x10
#define ASN1_TAG_SET   0x11
#define ASN1_TAG_TG1STRING   0x14
#define ASN1_TAG_UNIVERSALSTRING   0x1C
#define ASN1_TAG_UTCTIME   0x17
#define ASN1_TAG_UTF8STRING   0x0C
#define ASN1_TAG_VIDEOTEXSTRING   0x15
#define ASN1_TAG_VISIBLESTRING   0x1A

Functions

unsigned long asn1_bit_string_to_long (const u8 *buf, size_t len)
int asn1_get_next (const u8 *buf, size_t len, struct asn1_hdr *hdr)
int asn1_get_oid (const u8 *buf, size_t len, struct asn1_oid *oid, const u8 **next)
void asn1_oid_to_str (struct asn1_oid *oid, char *buf, size_t len)
int asn1_parse_oid (const u8 *buf, size_t len, struct asn1_oid *oid)

Define Documentation

#define ANS1_TAG_RELATIVE_OID   0x0D

Definition at line 30 of file asn1.h.

#define ASN1_CLASS_APPLICATION   1

Definition at line 47 of file asn1.h.

#define ASN1_CLASS_CONTEXT_SPECIFIC   2

Definition at line 48 of file asn1.h.

#define ASN1_CLASS_PRIVATE   3

Definition at line 49 of file asn1.h.

#define ASN1_CLASS_UNIVERSAL   0

Definition at line 46 of file asn1.h.

#define ASN1_MAX_OID_LEN   20

Definition at line 58 of file asn1.h.

#define ASN1_TAG_BITSTRING   0x03

Definition at line 21 of file asn1.h.

#define ASN1_TAG_BMPSTRING   0x1D

Definition at line 44 of file asn1.h.

#define ASN1_TAG_BOOLEAN   0x01

Definition at line 19 of file asn1.h.

#define ASN1_TAG_ENUMERATED   0x0A

Definition at line 28 of file asn1.h.

#define ASN1_TAG_EOC   0x00

Definition at line 18 of file asn1.h.

#define ASN1_TAG_EXTERNAL   0x08

Definition at line 26 of file asn1.h.

#define ASN1_TAG_GENERALIZEDTIME   0x18

Definition at line 39 of file asn1.h.

#define ASN1_TAG_GENERALSTRING   0x1B

Definition at line 42 of file asn1.h.

#define ASN1_TAG_GRAPHICSTRING   0x19

Definition at line 40 of file asn1.h.

#define ASN1_TAG_IA5STRING   0x16

Definition at line 37 of file asn1.h.

#define ASN1_TAG_INTEGER   0x02

Definition at line 20 of file asn1.h.

#define ASN1_TAG_NULL   0x05

Definition at line 23 of file asn1.h.

#define ASN1_TAG_NUMERICSTRING   0x12

Definition at line 33 of file asn1.h.

#define ASN1_TAG_OBJECT_DESCRIPTOR   0x07

Definition at line 25 of file asn1.h.

#define ASN1_TAG_OCTETSTRING   0x04

Definition at line 22 of file asn1.h.

#define ASN1_TAG_OID   0x06

Definition at line 24 of file asn1.h.

#define ASN1_TAG_PRINTABLESTRING   0x13

Definition at line 34 of file asn1.h.

#define ASN1_TAG_REAL   0x09

Definition at line 27 of file asn1.h.

#define ASN1_TAG_SEQUENCE   0x10

Definition at line 31 of file asn1.h.

#define ASN1_TAG_SET   0x11

Definition at line 32 of file asn1.h.

#define ASN1_TAG_TG1STRING   0x14

Definition at line 35 of file asn1.h.

#define ASN1_TAG_UNIVERSALSTRING   0x1C

Definition at line 43 of file asn1.h.

#define ASN1_TAG_UTCTIME   0x17

Definition at line 38 of file asn1.h.

#define ASN1_TAG_UTF8STRING   0x0C

Definition at line 29 of file asn1.h.

#define ASN1_TAG_VIDEOTEXSTRING   0x15

Definition at line 36 of file asn1.h.

#define ASN1_TAG_VISIBLESTRING   0x1A

Definition at line 41 of file asn1.h.


Function Documentation

unsigned long asn1_bit_string_to_long ( const u8 buf,
size_t  len 
)

Definition at line 189 of file asn1.c.

int asn1_get_next ( const u8 buf,
size_t  len,
struct asn1_hdr hdr 
)

Definition at line 20 of file asn1.c.

int asn1_get_oid ( const u8 buf,
size_t  len,
struct asn1_oid oid,
const u8 **  next 
)

Definition at line 129 of file asn1.c.

void asn1_oid_to_str ( struct asn1_oid oid,
char *  buf,
size_t  len 
)

Definition at line 149 of file asn1.c.

int asn1_parse_oid ( const u8 buf,
size_t  len,
struct asn1_oid oid 
)

Definition at line 85 of file asn1.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:01:37 2013