aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-05-29 19:48:32 +0000
committerlloyd <[email protected]>2006-05-29 19:48:32 +0000
commit88113f8fa8b50134e14e20f948ce1e7e8ca9003b (patch)
treeb729cbd5c8ae0404f87fa8068cbd6023d9e44fef /include
parent244f85eb1d225839403b0e98ccd2dc9a6e94d34f (diff)
Reorder the ASN1_Tag enum so the class taggings are listed first.
Diffstat (limited to 'include')
-rw-r--r--include/enums.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/enums.h b/include/enums.h
index d09e8129d..9ad5288c5 100644
--- a/include/enums.h
+++ b/include/enums.h
@@ -12,6 +12,13 @@ namespace Botan {
* ASN.1 Type and Class Tags *
*************************************************/
enum ASN1_Tag {
+ UNIVERSAL = 0x00,
+ APPLICATION = 0x40,
+ CONTEXT_SPECIFIC = 0x80,
+ PRIVATE = 0xC0,
+
+ CONSTRUCTED = 0x20,
+
EOC = 0x00,
BOOLEAN = 0x01,
INTEGER = 0x02,
@@ -34,13 +41,6 @@ enum ASN1_Tag {
UTC_TIME = 0x17,
GENERALIZED_TIME = 0x18,
- CONSTRUCTED = 0x20,
-
- UNIVERSAL = 0x00,
- APPLICATION = 0x40,
- CONTEXT_SPECIFIC = 0x80,
- PRIVATE = 0xC0,
-
NO_OBJECT = 0xFF00,
DIRECTORY_STRING = 0xFF01
};