Commit Graph

1537 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
5f1b3a853b Add flags to generate detached signatures.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 22:45:20 +00:00
Love Hörnquist Åstrand
1820a1f17b Flag to generate detached signatures.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 22:45:00 +00:00
Love Hörnquist Åstrand
b9f5ea7628 Support detached sigatures.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 22:44:14 +00:00
Love Hörnquist Åstrand
ea7f403c7c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 09:55:07 +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
50009d684a Use less printf. Use hx509_general_name_unparse.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 09:53:46 +00:00
Love Hörnquist Åstrand
07cea9d767 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 09:04:47 +00:00
Love Hörnquist Åstrand
7e32c2becf Fix printing and plug leak-on-error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 09:03:01 +00:00
Love Hörnquist Åstrand
e629fa7c61 add printing of SubjectKeyIdentifier and AuthorityKeyIdentifier
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 08:46:49 +00:00
Love Hörnquist Åstrand
9244476504 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:55:42 +00:00
Love Hörnquist Åstrand
60c4c908c9 Add test for ca --crl-uri.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20106 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:55:33 +00:00
Love Hörnquist Åstrand
7c237a0685 Add ca --crl-uri.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:55:14 +00:00
Love Hörnquist Åstrand
f2b0cd7d5a add ca --crl-uri
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:54:40 +00:00
Love Hörnquist Åstrand
c9d7b42f9d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:37:15 +00:00
Love Hörnquist Åstrand
4156103f1a Code to set CRLDistributionPoints in certificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:37:05 +00:00
Love Hörnquist Åstrand
c6fb026eb1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:34:31 +00:00
Love Hörnquist Åstrand
c135a37d37 Check CRLDistributionPointNames.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:34:20 +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
bb82e186fd indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 11:29:11 +00:00
Love Hörnquist Åstrand
c86d7c38d6 (is_proxy_cert): free info if we wont return it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20077 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 11:24:45 +00:00
Love Hörnquist Åstrand
9ed66398de x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20070 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-30 21:13:29 +00:00
Love Hörnquist Åstrand
b6379492f9 Try to help how to use this command.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-30 21:13:09 +00:00
Love Hörnquist Åstrand
cbb9bd8b2b Fix sha2 oids.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 10:38:54 +00:00
Love Hörnquist Åstrand
33995b7b61 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 00:00:52 +00:00
Love Hörnquist Åstrand
8f77211c55 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20019 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 00:00:13 +00:00
Love Hörnquist Åstrand
5820ca3c54 switch to sha256 as default digest for signinging
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20017 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-20 23:58:14 +00:00
Love Hörnquist Åstrand
c0b88c68eb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19996 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-20 11:27:33 +00:00
Love Hörnquist Åstrand
2b855619e6 Really test sub-ca code, add basic constraints tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19995 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-20 11:23:15 +00:00
Love Hörnquist Åstrand
0a66d3e486 use LIBADD_roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 18:45:03 +00:00
Love Hörnquist Åstrand
d90ec6ba6b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 18:00:45 +00:00
Love Hörnquist Åstrand
87a341d0e9 Fix makefile problem.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 18:00:30 +00:00
Love Hörnquist Åstrand
b6d9890960 update version number and remove depenency on libvers for libraries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 17:30:31 +00:00
Love Hörnquist Åstrand
14e1ffb962 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 22:12:05 +00:00
Love Hörnquist Åstrand
98c0634251 Set num of bits before we generate the key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19938 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 22:11:12 +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
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