Commit Graph

15 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
f58f609484 Sprinkle more hx509_context so we can return propper errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 13:34:21 +00:00
Love Hörnquist Åstrand
da56224c8e No more EINVAL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 12:43:45 +00:00
Love Hörnquist Åstrand
94c6bdf852 indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 15:58:33 +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
7b967d0631 Sprinkle setting error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17407 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-02 10:31:05 +00:00
Love Hörnquist Åstrand
61ab887d2a handle PEM RSA PRIVATE KEY files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 11:26:05 +00:00
Love Hörnquist Åstrand
f4e25d6573 (match_localkeyid): no need to add back the cert to the cert pool, its
already there.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 22:09:28 +00:00
Love Hörnquist Åstrand
6e3958b47e (_hx509_collector_alloc): handle errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 04:26:05 +00:00
Love Hörnquist Åstrand
099a14e094 hx509_certs_find is now exposed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-26 23:49:04 +00:00
Love Hörnquist Åstrand
163c6cb7b5 delete crypto_headers.h, use global file instead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 14:02:49 +00:00
Love Hörnquist Åstrand
4a4b90d3b8 Use "crypto-headers.h".
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16484 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 21:58:46 +00:00
Love Hörnquist Åstrand
7dcf3289bb add a hx509_context where we can store configuration
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16476 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 20:33:31 +00:00
Love Hörnquist Åstrand
d4c217034c (struct private_key): remove temporary key data storage, convert directly to a key
(match_localkeyid): match certificate and key using localkeyid
(match_keys): match certificate and key using _hx509_match_keys
(_hx509_collector_collect): rewrite to use match_keys and match_localkeyid


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 14:54:32 +00:00
Love Hörnquist Åstrand
971cfe76fa Use hx509_private_key to assign private keys.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16456 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 03:13:49 +00:00
Love Hörnquist Åstrand
d231839e98 Support functions to collect certificates and private keys and then match them.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16446 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 16:29:25 +00:00