From e848d50225e222e158fd3a15b316fdad30a6b9f7 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Thu, 23 Feb 2006 14:37:21 +0000 Subject: Move from der.h. --- lib/int.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/int.h b/lib/int.h index 09680de..6357f84 100644 --- a/lib/int.h +++ b/lib/int.h @@ -39,11 +39,18 @@ #define MAX_NAME_SIZE 128 /* maximum number of characters of a name inside an ASN1 file definiton */ #define MAX_ERROR_DESCRIPTION_SIZE 128 /* maximum number of characters of a description message */ -/* define used for visiting trees */ +/* Define used for visiting trees. */ #define UP 1 #define RIGHT 2 #define DOWN 3 +/* DER classes. */ +#define UNIVERSAL 0x00 +#define APPLICATION 0x40 +#define CONTEXT_SPECIFIC 0x80 +#define PRIVATE 0xC0 +#define STRUCTURED 0x20 + /****************************************/ /* Returns the first 8 bits. */ /* Used with the field type of node_asn */ -- cgit v1.2.3