aboutsummaryrefslogtreecommitdiffstats
path: root/include/enums.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-29 00:15:14 +0000
committerlloyd <[email protected]>2008-09-29 00:15:14 +0000
commit68d3d539ad7752dc80c20c1a2ade909b1a4c4a6e (patch)
treec7e588d28427960c95eca9900844d5bf36c079df /include/enums.h
parent8269e2897e0a652bbd949d38b74873976a98adeb (diff)
Move what is left of the uncategorized library to 'core'. There is still
a lot of public key stuff in here that needs to be extracted however, and probably 2-3 other modules worth of stuff to split off (engines, etc)
Diffstat (limited to 'include/enums.h')
-rw-r--r--include/enums.h67
1 files changed, 0 insertions, 67 deletions
diff --git a/include/enums.h b/include/enums.h
deleted file mode 100644
index dc404b728..000000000
--- a/include/enums.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/*************************************************
-* Enumerations Header File *
-* (C) 1999-2007 Jack Lloyd *
-*************************************************/
-
-#ifndef BOTAN_ENUMS_H__
-#define BOTAN_ENUMS_H__
-
-namespace Botan {
-
-/*************************************************
-* X.509v3 Key Constraints *
-*************************************************/
-enum Key_Constraints {
- NO_CONSTRAINTS = 0,
- DIGITAL_SIGNATURE = 32768,
- NON_REPUDIATION = 16384,
- KEY_ENCIPHERMENT = 8192,
- DATA_ENCIPHERMENT = 4096,
- KEY_AGREEMENT = 2048,
- KEY_CERT_SIGN = 1024,
- CRL_SIGN = 512,
- ENCIPHER_ONLY = 256,
- DECIPHER_ONLY = 128
-};
-
-/*************************************************
-* X.509v2 CRL Reason Code *
-*************************************************/
-enum CRL_Code {
- UNSPECIFIED = 0,
- KEY_COMPROMISE = 1,
- CA_COMPROMISE = 2,
- AFFILIATION_CHANGED = 3,
- SUPERSEDED = 4,
- CESSATION_OF_OPERATION = 5,
- CERTIFICATE_HOLD = 6,
- REMOVE_FROM_CRL = 8,
- PRIVLEDGE_WITHDRAWN = 9,
- AA_COMPROMISE = 10,
-
- DELETE_CRL_ENTRY = 0xFF00,
- OCSP_GOOD = 0xFF01,
- OCSP_UNKNOWN = 0xFF02
-};
-
-/*************************************************
-* Various Other Enumerations *
-*************************************************/
-enum Decoder_Checking { NONE, IGNORE_WS, FULL_CHECK };
-
-enum X509_Encoding { RAW_BER, PEM };
-
-enum Cipher_Dir { ENCRYPTION, DECRYPTION };
-
-enum Character_Set {
- LOCAL_CHARSET,
- UCS2_CHARSET,
- UTF8_CHARSET,
- LATIN1_CHARSET
-};
-
-static const u32bit NO_CERT_PATH_LIMIT = 0xFFFFFFF0;
-
-}
-
-#endif