* $Id: asn1.h,v 1.1 2008/01/31 09:31:29 haraldkipp Exp $ *
Definition in file asn1.h.
Go to the source code of this file.
Data Structures | |
struct | UNSIGNED64 |
Defines | |
#define | MAX_OID_LEN 32 |
#define | MAX_SUBID 0xFFFFFFFF |
#define | MIN_OID_LEN 2 |
#define | ASN_BOOLEAN 0x01 |
#define | ASN_INTEGER 0x02 |
#define | ASN_BIT_STR 0x03 |
#define | ASN_OCTET_STR 0x04 |
#define | ASN_NULL 0x05 |
#define | ASN_OBJECT_ID 0x06 |
#define | ASN_SEQUENCE 0x10 |
#define | ASN_SET 0x11 |
#define | ASN_UNIVERSAL 0x00 |
#define | ASN_APPLICATION 0x40 |
#define | ASN_CONTEXT 0x80 |
#define | ASN_PRIVATE 0xC0 |
#define | ASN_PRIMITIVE 0x00 |
#define | ASN_CONSTRUCTOR 0x20 |
#define | ASN_LONG_LEN 0x80 |
#define | ASN_EXTENSION_ID 0x1F |
#define | ASN_IPADDRESS (ASN_APPLICATION | 0) |
#define | ASN_COUNTER (ASN_APPLICATION | 1) |
#define | ASN_GAUGE (ASN_APPLICATION | 2) |
#define | ASN_UNSIGNED (ASN_APPLICATION | 2) |
#define | ASN_TIMETICKS (ASN_APPLICATION | 3) |
#define | ASN_OPAQUE (ASN_APPLICATION | 4) |
#define | ASN_NSAP (ASN_APPLICATION | 5) |
#define | ASN_COUNTER64 (ASN_APPLICATION | 6) |
#define | ASN_UINTEGER (ASN_APPLICATION | 7) |
#define | ACL_RONLY 0xAAAA |
#define | ACL_RWRITE 0xAABA |
#define | ACL_NOACCESS 0x0000 |
#define | ASN_BIT8 0x80 |
Typedefs | |
typedef u_long | OID |
Functions | |
const u_char * | AsnHeaderParse (const u_char *, size_t *, u_char *) |
u_char * | AsnHeaderBuild (u_char *, size_t *, u_char, size_t) |
const u_char * | AsnSequenceParse (const u_char *, size_t *, u_char) |
u_char * | AsnSequenceBuild (u_char *, size_t *, u_char, size_t) |
const u_char * | AsnIntegerParse (const u_char *, size_t *, u_char *, long *) |
u_char * | AsnIntegerBuild (u_char *, size_t *, u_char, long *) |
const u_char * | AsnUnsignedParse (const u_char *, size_t *, u_char *, u_long *) |
u_char * | AsnUnsignedBuild (u_char *, size_t *, u_char, u_long *) |
const u_char * | AsnOctetStringParse (const u_char *, size_t *, u_char *, u_char *, size_t *) |
u_char * | AsnOctetStringBuild (u_char *, size_t *, u_char, const u_char *, size_t) |
const u_char * | AsnOidParse (const u_char *, size_t *, u_char *, OID *, size_t *) |
u_char * | AsnOidBuild (u_char *, size_t *, u_char, const OID *, size_t) |
const u_char * | AsnNullParse (const u_char *, size_t *, u_char *) |
u_char * | AsnNullBuild (u_char *, size_t *, u_char) |
const u_char * | AsnBitStringParse (const u_char *, size_t *, u_char *, u_char *, size_t *) |
u_char * | AsnBitStringBuild (u_char *, size_t *, u_char, const u_char *, size_t) |
const u_char * | AsnUnsigned64Parse (const u_char *, size_t *, u_char *, UNSIGNED64 *) |
u_char * | AsnUnsigned64Build (u_char *, size_t *, u_char, const UNSIGNED64 *) |
const u_char* AsnUnsigned64Parse | ( | const u_char * | , | |
size_t * | , | |||
u_char * | , | |||
UNSIGNED64 * | ||||
) |
u_char* AsnUnsigned64Build | ( | u_char * | , | |
size_t * | , | |||
u_char | , | |||
const UNSIGNED64 * | ||||
) |