Commit Graph
1904 Commits
Author SHA1 Message Date
Tobias Brunner 68c7f18643 Alternative to mem_cred_t.add_cert added, which returns the certificate.
If the certificate is already cached, the cached version is returned.
2010-12-03 17:59:59 +01:00
Tobias Brunner 3023a75e67 Function added to mem_cred_t to add shared secret with a linked list of owners. 2010-12-03 17:59:59 +01:00
Tobias Brunner 88f97e5c34 Added functions to modify/create settings in settings_t. 2010-12-03 17:40:52 +01:00
Tobias Brunner e997706273 Added an option to create non-existing key/value pairs during search. 2010-12-03 17:40:52 +01:00
Tobias Brunner 011f901d55 Compare shorter "boolean" values first. 2010-12-03 17:40:52 +01:00
Tobias Brunner d657edf576 Helper functions added to easily convert enumerated values. 2010-12-03 17:40:52 +01:00
Tobias Brunner f2649f354d Ensure that sections exist when using load_files_section. 2010-12-03 17:40:52 +01:00
Tobias Brunner 67c464d1a9 Skip values and sections without key. 2010-12-03 17:40:52 +01:00
Tobias Brunner dc46fd5879 Some refactorings in lookup code in settings_t. 2010-12-03 17:40:52 +01:00
Tobias Brunner 9a1e5261d6 Added documentation about new features of settings_t. 2010-12-03 17:40:52 +01:00
Tobias Brunner b79f7d4208 Made settings_t thread-safe. 2010-12-03 17:40:52 +01:00
Tobias Brunner 0552135213 Added functions to settings_t to load files dynamically at runtime. 2010-12-03 17:40:52 +01:00
Tobias Brunner 6388a758ba Allow inclusion of other files in strongswan.conf. 2010-12-03 17:38:37 +01:00
Tobias Brunner 65d88a09f5 Loading of strongswan.conf refactored to a separate function. 2010-12-03 17:38:37 +01:00
Tobias Brunner 5e3be75829 Allow to replace/extend previously defined values/sections in strongswan.conf. 2010-12-03 17:38:37 +01:00
Tobias Brunner 3eb23f3864 Don't create a section in parse_section.
Just add subsections and values to the passed section.
2010-12-03 17:38:37 +01:00
Tobias Brunner f6037d79cf Removed unused static variable "lev". 2010-12-03 17:38:36 +01:00
Andreas Steffen 375dacca8e removed superfluous whitespace 2010-12-03 11:26:13 +01:00
Andreas Steffen 3cd69cfab1 Migrated asn1_parser_t to INIT/METHOD macros 2010-12-02 22:12:02 +01:00
Andreas Steffen 5cf523c012 Migrated settings_t to INIT/METHOD macros 2010-12-02 06:25:59 +01:00
Andreas Steffen 0ff4942f85 Migrated printf_hook_t to INIT/METHOD macros 2010-12-02 06:17:24 +01:00
Andreas Steffen 779e797a50 Migrated integrity_checker_t to INIT/METHOD macros 2010-12-02 06:10:50 +01:00
Martin Willi b78ca4b04c Do not query for CKA_ALWAYS_AUTHENTICATE if PKCS#11 Cryptoki version < 2.20 2010-11-18 08:56:12 +01:00
Martin Willi cfa18d14f1 Use static args for C_Initialize(), OpenSC does not get a copy of the pointers 2010-11-18 08:44:22 +01:00
Andreas Steffen 0ebff9f442 added ITA and strongSwan OIDs 2010-11-17 22:46:45 +01:00
Andreas Steffen ba1ad6c430 corrected TCGID OID 2010-11-17 22:46:45 +01:00
Martin Willi d93060759e Remove obsolete pool_size argument in processor_create() 2010-11-16 09:39:06 +01:00
Martin Willi 9cda39923e Added a PKCS#11 module option to enforce OS Locking functions 2010-11-12 16:14:03 +01:00
Martin Willi 57398f621a Do not use CKA_TRUSTED attribute for Cryptoki version < 2.20, handling all certs as trusted 2010-11-10 18:36:15 +01:00
Martin Willi 59df2d2a6f Add flags for PKCS#11 libraries with reduced feature set 2010-11-10 18:36:15 +01:00
Andreas Steffen 1888dd6bd5 implemented IMC/IMV handler 2010-11-09 20:43:50 +01:00
Martin Willi c8f5aaf0a4 Renamed mem_cred_t clear function internally to clear_, fixes potential name conflict 2010-10-28 13:06:19 +00:00
Tobias Brunner 4915ea8217 Updated Android.mk to latest Makefile.am. 2010-10-21 15:02:32 +02:00
Tobias Brunner ed174fd7e2 Added missing include for RAND_seed and RAND_status. 2010-10-21 14:16:09 +02:00
Tobias Brunner 889c7947a6 Avoid duplicate certificates in mem_cred_t. 2010-10-14 17:36:20 +02:00
Tobias Brunner 5232ebb1b4 Added function to clear all credentials from mem_cred_t. 2010-10-14 17:36:19 +02:00
Tobias Brunner e29aa7696f Fixed possible segmentation fault. 2010-10-14 17:36:18 +02:00
Andreas Steffen 8e91079f7f ignore : separator characters in chunk_from_hex() 2010-10-12 19:13:05 +02:00
Andreas Steffen ed08f7ce83 use DBG_TNC for TNC debugging output 2010-10-09 16:01:19 +02:00
Martin Willi a8809bb0cb Fixed status_t enum names definition 2010-10-04 10:48:00 +02:00
Martin Willi 663e735553 Compare subject against all key identifiers in has_subject() 2010-09-09 17:46:20 +02:00
Andreas Steffen f85f0c2795 has_subject() now resolves ID_KEY_IDs 2010-09-09 17:15:46 +02:00
Andreas Steffen 52d4dc7fe2 added qcStatements OID 2010-09-07 11:17:51 +02:00
Martin Willi a92a348092 Register missing AUTH_HMAC_SHA384 algorithm without truncation 2010-09-06 16:50:58 +02:00
Martin Willi d987946e80 Added a final flag to builder registration to enumerate the actually supported algorithms 2010-09-03 18:09:48 +02:00
Martin Willi 7d7711aba4 Added a generic function to check if a DH group is an EC group 2010-09-03 16:22:10 +02:00
Martin Willi 033fe95f0b Added support for a non-truncated SHA384 HMAC variant, as used by TLS 2010-09-03 14:54:43 +02:00
Martin Willi ed60dfa14f Added support for MODP_CUSTOM to gcrypt plugin 2010-09-03 09:33:15 +02:00
Martin Willi 42b1ac91c4 Added support for MODP_CUSTOM to openssl plugin 2010-09-03 09:33:15 +02:00
Martin Willi 08d8b9405b Added support for MODP_CUSTOM to gmp plugin 2010-09-02 19:33:08 +02:00