Commit Graph

1002 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand 4af0b4f8bf x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 23:31:14 +00:00
Love Hörnquist Åstrand 698d712bfa (hx509_cms_create_signed_1): use hx509_cert_binary
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 23:28:58 +00:00
Love Hörnquist Åstrand e993ff978b (store_func): use hx509_cert_binary
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 23:25:28 +00:00
Love Hörnquist Åstrand 7e631d7fda (hx509_cert_binary): return binary encoded certificate (DER format)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 23:20:43 +00:00
Love Hörnquist Åstrand 9a40fcaf39 (hx509_ca_tbs_subject_expand): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 22:20:17 +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 1e0cd6e775 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:51:28 +00:00
Love Hörnquist Åstrand dd0471e76a test template handling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:20:22 +00:00
Love Hörnquist Åstrand 9b40125782 Add template flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:19:27 +00:00
Love Hörnquist Åstrand c250a963fd clean out new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:18:37 +00:00
Love Hörnquist Åstrand e660fb69bd Add certificate template processing, fix hx509_err usage.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:16:38 +00:00
Love Hörnquist Åstrand 884b0179aa Add certificate template processing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:15:53 +00:00
Love Hörnquist Åstrand aed12a2d7c Add certificate template processing. Fix return messages from
hx509_ca_tbs_add_eku.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19894 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:15:26 +00:00
Love Hörnquist Åstrand 2dfb044b10 Export more stuff from certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19893 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:13:44 +00:00
Love Hörnquist Åstrand 3c4dae18f6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 12:42:10 +00:00
Love Hörnquist Åstrand e3460e2055 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 12:41:11 +00:00
Love Hörnquist Åstrand ecd3180240 Add type email and add email eku when using option --email.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19888 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 12:30:13 +00:00
Love Hörnquist Åstrand ab5ec24f71 (hx509_ca_tbs_add_eku): filter out dups
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 12:29:06 +00:00
Love Hörnquist Åstrand 419060e44f add env.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 12:21:33 +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 342aad4138 add hx509_env
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 11:18:33 +00:00
Love Hörnquist Åstrand 6811e9609f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 01:27:58 +00:00
Love Hörnquist Åstrand f6cbb2eaa5 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 01:02:57 +00:00
Love Hörnquist Åstrand 4b12f3487c less printing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 01:01:53 +00:00
Love Hörnquist Åstrand 0d0948cd9e test name expansion
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 01:01:15 +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 7604f5b544 key-value pair help functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 00:58:39 +00:00
Love Hörnquist Åstrand 3669c75ddd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 22:47:24 +00:00
Love Hörnquist Åstrand 63d4fbb416 Don't issue certs with subject DN that is NULL and have no SANs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 22:46:52 +00:00
Love Hörnquist Åstrand f978746627 Fix previous test.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 22:45:29 +00:00
Love Hörnquist Åstrand 6efa69a5d3 Check there is a SAN if subject DN is NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 22:44:34 +00:00
Love Hörnquist Åstrand 5d38f1ea53 test email, null subject dn
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 22:40:45 +00:00
Love Hörnquist Åstrand 950f043ab4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 22:03:17 +00:00
Love Hörnquist Åstrand e59e71f307 Allow setting parameters to private key generation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 22:01:58 +00:00
Love Hörnquist Åstrand 4401882f8c test issue cert with jid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 08:54:34 +00:00
Love Hörnquist Åstrand dfc6e11891 (eval_types): add jid if user gave one
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 08:53:25 +00:00
Love Hörnquist Åstrand 1739d7acbe (certificate-sign): add --jid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 08:44:58 +00:00
Love Hörnquist Åstrand 68f12e3ffb (hx509_ca_tbs_add_san_jid): Allow adding id-pkix-on-xmppAddr OtherName.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 08:44:18 +00:00
Love Hörnquist Åstrand cd5e0fba78 Print id-pkix-on-xmppAddr OtherName.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 08:43:20 +00:00
Love Hörnquist Åstrand 8a02fd12ed no random, no RSA/DH tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19858 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 20:48:34 +00:00
Love Hörnquist Åstrand 45e6b61402 (info): print status of random generator
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 20:39:26 +00:00
Love Hörnquist Åstrand e233ae5146 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19842 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 10:37:52 +00:00
Love Hörnquist Åstrand e5b1642018 remove files created by tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19841 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 10:37:15 +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 82a45c7036 constify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 09:55:09 +00:00
Love Hörnquist Åstrand 396d442179 make printinfo char * argument const.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 09:38:23 +00:00
Love Hörnquist Åstrand f865e18161 move _hx509_set_digest_alg from cms.c to crypto.c since its only used there.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 09:36:03 +00:00
Love Hörnquist Åstrand 9efb0df9f1 remove no longer used stuff, move set_digest_alg here from cms.c since
its only used here.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19836 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 09:35:25 +00:00
Love Hörnquist Åstrand 18c21c9cc4 Avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19835 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 09:28:42 +00:00
Love Hörnquist Åstrand 7405b522a1 add data/key2.der
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 02:49:44 +00:00