diff options
author | Simon Josefsson <simon@josefsson.org> | 2006-02-23 14:37:21 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2006-02-23 14:37:21 +0000 |
commit | e848d50225e222e158fd3a15b316fdad30a6b9f7 (patch) | |
tree | ba6bf85b0f037bd78881dc23cb6f82f473745e6b /lib/int.h | |
parent | 98a584b96d845c98ff1cf1ba149ce9e238d1bf4e (diff) | |
download | libtasn1-e848d50225e222e158fd3a15b316fdad30a6b9f7.tar.gz libtasn1-e848d50225e222e158fd3a15b316fdad30a6b9f7.tar.bz2 libtasn1-e848d50225e222e158fd3a15b316fdad30a6b9f7.zip |
Move from der.h.
Diffstat (limited to 'lib/int.h')
-rw-r--r-- | lib/int.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 */ |