Martin Willi
bbf6a4c0ff
removed obsolete init_rdn()/get_next_rdn() functions
2009-07-06 13:15:29 +02:00
Martin Willi
8309798fae
reimplemented dnota() using RDN enumerator
2009-07-06 13:15:29 +02:00
Martin Willi
d692557298
replaced {same,match}_dn() by compare_dn(), using the RDN enumerator
2009-07-06 13:15:29 +02:00
Martin Willi
ed680e33c0
fixed memleak if RND parsing fails
2009-07-06 13:15:29 +02:00
Martin Willi
01da687f78
contains_wildcard() for DNs uses RDN enumerator
2009-07-06 13:15:28 +02:00
Martin Willi
2147da40a5
simplified identification_t.clone() using memcpy
2009-07-06 13:15:28 +02:00
Martin Willi
6bdd79d86c
use an enumerator to parse RDNs, based on asn1_unwrap() function
2009-07-06 13:15:28 +02:00
Tobias Brunner
8c5d72cd0b
removing svn keyword $Id$ from all files
2009-04-30 13:19:35 +00:00
Andreas Steffen
cfa42285a4
asn1_build_known_oid() includes ASN1_OID tag and length
2009-04-16 08:18:22 +00:00
Martin Willi
0bd7ad6cff
added create_part_enumerator() to indentity, allows to enumerate RDNs etc.
2009-04-14 14:32:22 +00:00
Martin Willi
c31687daa7
moved RDN OIDs to oid.txt, use asn1_get_known_oid() for lookup
2009-04-14 13:53:06 +00:00
Martin Willi
a44bb9345f
merged multi-auth branch back into trunk
2009-04-14 10:34:24 +00:00
Martin Willi
e82c369519
implementation of contains_wildcards() for ID_DER_ASN1_DN identities
2009-03-26 13:25:46 +00:00
Tobias Brunner
d25ce3701e
printf hooks refactored to increase portability (i.e. support for platforms without glibc-compatible customizable printf - the Vstr string library is currently required on such platforms).
2009-03-12 18:07:32 +00:00
Andreas Steffen
c59825fbfc
support of dynamic/128 and %any6
2009-02-05 22:13:48 +00:00
Andreas Steffen
b33c11b6c7
stroke parses and lists AC groups
2008-09-17 02:17:01 +00:00
Martin Willi
822901061b
ported parts of two-sim branch
...
eap_identity parameter to exchange in eap_identity
some auth_info/peer_cfg refactorings
fixed some bugs, introduced new ones
2008-08-22 10:44:51 +00:00
Martin Willi
eab63e8476
fixed matches() check for RFC822/FQDN without wildcards
2008-06-13 15:10:01 +00:00
Martin Willi
1726ca1027
implemented identification_t.match() case insensitive for RFC822/FQDN
2008-06-12 14:17:37 +00:00
Martin Willi
5dc317192a
support for left bounded padding in %H and %D
2008-05-09 12:25:39 +00:00
Martin Willi
9f9903a3b3
supporting width modifier in identification_t printf hook (e.g. %30D)
...
cleanups in host_t %H printf hook
2008-05-09 11:34:58 +00:00
Martin Willi
86ab5636c2
support for @#hex ID_KEY_ID identification_t
2008-05-06 13:45:14 +00:00
Andreas Steffen
d3d7e46b8c
refactoring of the ASN.1 parser
2008-04-26 09:24:14 +00:00
Tobias Brunner
6439267a8c
support for hash and URL encoded certificate payloads in charon
2008-04-18 11:24:45 +00:00
Andreas Steffen
ae8715f956
attempt to achieve consistent debugging output
2008-03-19 12:06:38 +00:00
Martin Willi
552cc11b1f
merged the modularization branch (credentials) back to trunk
2008-03-13 14:14:44 +00:00
Andreas Steffen
27e715cb06
replaced strncmp() == 0 by strneq()
2007-10-07 13:42:43 +00:00
Andreas Steffen
3f76aebe74
cosmetics
2007-10-07 09:17:59 +00:00
Martin Willi
8f561d4409
prototype implemementation of an sqlite configuration backend
2007-09-18 07:12:21 +00:00
Andreas Steffen
3c1100187f
replaced hex_str() by fprintf(#B) for printing unknown OIDs
2007-08-14 12:24:35 +00:00
Martin Willi
ac1557af51
updated XML interface to new schema
2007-07-19 10:57:33 +00:00
Martin Willi
eda454a261
case insensitive identification_t.equals() for FQDN and RFC822ADDR
2007-06-14 07:02:01 +00:00
Martin Willi
418dbd6243
cloning %any ID without zero-byte memleak
2007-04-16 08:37:52 +00:00
Martin Willi
f925b42a5d
two %any IDs are equal
2007-04-11 07:43:23 +00:00
Martin Willi
c60c7694d2
merged tasking branch into trunk
2007-02-28 14:04:36 +00:00
Martin Willi
d3032a9a82
renamed all static clone() functions to avoid naming conflicts with uclibc
2007-02-01 15:24:10 +00:00
Martin Willi
db7ef62494
better split up of library files "types.h" & "definitions.h"
...
centralized all printf specifier character definitions
reuse of arginfo handlers
more cleanups
fixed more AMD64 issues
added DEBUG_LEVEL compile flag to exclude DBGn() statements
2006-10-31 12:27:59 +00:00
Andreas Steffen
09cb5472bc
do not sanitize '*' character
2006-10-30 09:59:23 +00:00
Andreas Steffen
c27c797e12
spaces should not be sanitized
2006-10-27 18:36:46 +00:00
Martin Willi
b83806d83d
improved signal handling and emitting
2006-10-26 09:46:56 +00:00
Martin Willi
60356f3375
introduced new logging subsystem using bus:
...
passive listeners can register on the bus
active listeners wait for signals actively
multiplexing allows multiple listeners to receive debug signals
a lot more...
2006-10-18 11:46:13 +00:00
Martin Willi
151168f6ea
2006-09-27 14:15:49 +00:00
Andreas Steffen
1c32a71e87
added ID_ANY check to matches_binary()
2006-09-25 06:19:40 +00:00
Martin Willi
2fcc4168f8
fixed some compiler warnings
2006-09-21 09:17:13 +00:00
Andreas Steffen
40f29769fa
identification_t.matches() supports multiple wildcard counts
2006-07-11 06:11:59 +00:00
Martin Willi
c71d53ba4e
updated copyright information
2006-07-07 08:49:06 +00:00
Martin Willi
eecb2da87d
fixed identification_t clone to apply function pointers
2006-06-23 13:20:17 +00:00
Andreas Steffen
fec9cb332f
NULL string argument is treated as %any
2006-06-12 08:26:14 +00:00
Andreas Steffen
353c7b57c8
reworked parsing and matching of subjectAltNames
2006-05-29 07:06:02 +00:00
Andreas Steffen
1f0e3d1114
moved definition of generalNames_t to identification.h
2006-05-23 08:12:36 +00:00
Martin Willi
95806de938
2006-05-10 07:58:29 +00:00