Love Hörnquist Åstrand
7776ed30a9
Add language to support querying certificates to find a match. Support constructs like "1.3.6.1.5.2.3.5" IN %{certificate.eku} AND %{certificate.subject} TAILMATCH "C=SE"".
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22677 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-13 17:35:49 +00:00
Love Hörnquist Åstrand
8b9c6c4121
Use ldap-prep (with libwind) to compare names
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-11 20:46:21 +00:00
Love Hörnquist Åstrand
7f8059130a
Replace hx509_name_to_der_name with hx509_name_binary.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-13 14:08:03 +00:00
Love Hörnquist Åstrand
b3efcbda59
more documentation
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-15 04:49:37 +00:00
Love Hörnquist Åstrand
d651f2187d
More documentation
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 11:02:11 +00:00
Love Hörnquist Åstrand
1a0d3ae4bc
spelling.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22220 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 08:03:56 +00:00
Love Hörnquist Åstrand
382da5981b
fix doxygen compiling.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22218 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 07:56:22 +00:00
Love Hörnquist Åstrand
0c2180d1de
(_hx509_Name_to_string): make printableString handle space (0x20)
...
diffrences as required by rfc3280.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-02 22:20:25 +00:00
Love Hörnquist Åstrand
0f76edd889
(quote_string): don't sign extend the (signed) char to avoid printing
...
too much, add an assert to check that we didn't overrun the buffer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 22:51:41 +00:00
Love Hörnquist Åstrand
fcc3edd1aa
Use right element out of the CHOICE for printableString and utf8String
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 22:39:51 +00:00
Love Hörnquist Åstrand
4204cbd8b1
Reset name before parsing it.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 21:11:53 +00:00
Love Hörnquist Åstrand
5ed0a6bdd9
(hx509_general_name_unparse): unparse the other GeneralName nametypes.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 09:54:27 +00:00
Love Hörnquist Åstrand
7d4ebe6f73
(hx509_general_name_unparse): function for unparsing GeneralName, only
...
supports GeneralName.URI
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:33:04 +00:00
Love Hörnquist Åstrand
dd4af7d8b0
Add STREET.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19933 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 13:07:13 +00:00
Love Hörnquist Åstrand
ba9774453c
(hx509_name_expand): if env is NULL, return directly
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 22:17:42 +00:00
Love Hörnquist Åstrand
8ddc5a6aa6
Remove abort, add error handling.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 12:13:37 +00:00
Love Hörnquist Åstrand
a7ffead44c
add hx509_name_expand
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 01:00:06 +00:00
Love Hörnquist Åstrand
91a0892b93
constify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 10:36:29 +00:00
Love Hörnquist Åstrand
5b9b07461e
(hx509_name_cmp): add
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 21:44:25 +00:00
Love Hörnquist Åstrand
2dcbc1ab7e
Split building RDN to a separate function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 23:04:11 +00:00
Love Hörnquist Åstrand
05a31a062b
(no): add S=stateOrProvinceName
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 19:03:44 +00:00
Love Hörnquist Åstrand
a111935bca
Handle printing and parsing raw oids in name.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-24 06:09:48 +00:00
Love Hörnquist Åstrand
96204e40a8
prefix der primitives with der_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:42:43 +00:00
Love Hörnquist Åstrand
bf89bf0115
(_hx509_Name_to_string): remove dup const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 07:23:29 +00:00
Love Hörnquist Åstrand
2acf7df729
New function _hx509_Name_to_string.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-08 09:52:39 +00:00
Love Hörnquist Åstrand
a1e502b177
(no): Add serialNumber
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-05 18:54:55 +00:00
Love Hörnquist Åstrand
35a79e736b
(no): add OU and sort
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 08:41:09 +00:00
Love Hörnquist Åstrand
a848124aa0
Avoid shadowing.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 20:51:59 +00:00
Love Hörnquist Åstrand
cb704efeeb
Rename u_intXX_t to uintXX_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:37:46 +00:00
Love Hörnquist Åstrand
701e7c5038
renamed one error code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 15:28:14 +00:00
Love Hörnquist Åstrand
832c728396
Add hx509_name_is_null_p
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17367 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-30 07:35:36 +00:00
Love Hörnquist Åstrand
5f3de5351d
Expose more of Name.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17365 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-29 21:30:21 +00:00
Love Hörnquist Åstrand
1047c39f0d
(hx509_parse_name): don't abort on error, rather return error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 20:08:36 +00:00
Love Hörnquist Åstrand
d9f7944c9b
(hx509_parse_name): fix length argument to printf string
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:15:57 +00:00
Love Hörnquist Åstrand
fe9bb14be8
(hx509_parse_name): fix length argument to stringtooid, 1 too short.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:12:36 +00:00
Love Hörnquist Åstrand
e944135b02
(hx509_parse_name): make compile pre c99
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:56:26 +00:00
Love Hörnquist Åstrand
8e39cadc48
Switch over to asn1 generaed oids.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 10:29:16 +00:00
Love Hörnquist Åstrand
83a5e521ed
(hx509_parse_name): new function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:14:28 +00:00
Love Hörnquist Åstrand
d64862d6fa
(hx509_name_copy): new function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16959 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 18:12:46 +00:00
Love Hörnquist Åstrand
f0997e90dc
(_hx509_name_ds_cmp): make DirectoryString case insenstive
...
(hx509_name_to_string): less spacing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 21:32:26 +00:00
Love Hörnquist Åstrand
43470798fb
update (c)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-14 10:45:47 +00:00
Love Hörnquist Åstrand
a0e9478679
(hx509_unparse_der_name): Rename from hx509_parse_name.
...
(_hx509_unparse_Name): Add.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:16:36 +00:00
Love Hörnquist Åstrand
8412fc32f1
Avoid warning from missing __attribute__((noreturn))
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16452 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 16:34:13 +00:00
Love Hörnquist Åstrand
fde07b8b17
use _hx509_abort
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 08:22:09 +00:00
Love Hörnquist Åstrand
d3a083863a
(hx509_name_to_string): don't cut bmpString in half.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 22:13:35 +00:00
Love Hörnquist Åstrand
a0be6bbc6e
(hx509_name_to_string): don't overwrite with 1 byte with bmpString.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 22:11:06 +00:00
Love Hörnquist Åstrand
6fd2be56ae
(oidtostring): avoid leaking memory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16429 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 15:48:24 +00:00
Love Hörnquist Åstrand
dbb9803d46
Add DC, handle all Directory strings, fix signless problems.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:11:35 +00:00
Love Hörnquist Åstrand
9a3ddecf98
Fix signedness warning.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16013 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 19:51:29 +00:00
Love Hörnquist Åstrand
f6fb9b1a0f
(_hx509_name_ds_cmp): make sure all strings are not equal
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15751 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 22:41:48 +00:00