diff options
author | lloyd <[email protected]> | 2008-11-08 20:35:54 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-08 20:35:54 +0000 |
commit | 3c77da389db0769cf07cddf7629a62e156fe577b (patch) | |
tree | c79a275c7df6ebbdff6d7277673e488bd9b80f49 /src/core | |
parent | 73ba6c48e349955f05e81d674172c9c737540280 (diff) |
Split the last parts of the 'core' module
Add some missing info.txts
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/botan.h | 14 | ||||
-rw-r--r-- | src/core/enums.h | 90 | ||||
-rw-r--r-- | src/core/info.txt | 10 |
3 files changed, 0 insertions, 114 deletions
diff --git a/src/core/botan.h b/src/core/botan.h deleted file mode 100644 index c7109aaa5..000000000 --- a/src/core/botan.h +++ /dev/null @@ -1,14 +0,0 @@ -/************************************************* -* Botan Core Interface Header File * -* (C) 1999-2007 Jack Lloyd * -*************************************************/ - -#include <botan/init.h> -#include <botan/lookup.h> -#include <botan/rng.h> -#include <botan/version.h> -#include <botan/parsing.h> - -#if defined(BOTAN_HAS_AUTO_SEEDING_RNG) - #include <botan/auto_rng.h> -#endif diff --git a/src/core/enums.h b/src/core/enums.h deleted file mode 100644 index f86c0105d..000000000 --- a/src/core/enums.h +++ /dev/null @@ -1,90 +0,0 @@ -/************************************************* -* Enumerations Header File * -* (C) 1999-2007 Jack Lloyd * -*************************************************/ - -#ifndef BOTAN_ENUMS_H__ -#define BOTAN_ENUMS_H__ - -#include <botan/types.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 * -*************************************************/ - -/** -* The type of checking to be performed: -* NONE - no checks, IGNORE_WS - perform checks, but ignore -* whitespaces, FULL_CHECK - perform checks, also complain -* about white spaces. -*/ -enum Decoder_Checking { NONE, IGNORE_WS, FULL_CHECK }; - -/** -* The two types of X509 encoding supported by Botan. -*/ -enum X509_Encoding { RAW_BER, PEM }; - -/** -* The two possible directions for cipher filters, determining whether they -* actually perform encryption or decryption. -*/ -enum Cipher_Dir { ENCRYPTION, DECRYPTION }; - -/** -* The different charsets supported by Botan. -*/ -enum Character_Set { - LOCAL_CHARSET, - UCS2_CHARSET, - UTF8_CHARSET, - LATIN1_CHARSET -}; - -/** -* Value to encode in case of no path limit in the X509 -* BasicConstraints extension. -*/ -static const u32bit NO_CERT_PATH_LIMIT = 0xFFFFFFF0; - -} - -#endif diff --git a/src/core/info.txt b/src/core/info.txt deleted file mode 100644 index df1d73b77..000000000 --- a/src/core/info.txt +++ /dev/null @@ -1,10 +0,0 @@ -realname "Botan Core Module" - -load_on auto - -define CORE_MODULE - -<add> -botan.h -enums.h -</add> |