Commit Graph

363 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand 64e02c3d8d Include <hex.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 15:22:17 +00:00
Love Hörnquist Åstrand 76a4c45ce5 (verify_ocsp): require issuer to match too.
(free_ocsp): new function
(hx509_revoke_ocsp_print): new function, print ocsp reply


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 15:21:24 +00:00
Love Hörnquist Åstrand 890533d4f6 build CRMF files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 12:18:46 +00:00
Love Hörnquist Åstrand 253d40df60 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 12:17:46 +00:00
Love Hörnquist Åstrand 339a7ab662 needed for cert request test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 12:17:20 +00:00
Love Hörnquist Åstrand 137496caa9 adapt to rename of pkcs10-create to request-create
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16982 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 07:56:34 +00:00
Love Hörnquist Åstrand b630b37558 Rename pkcs10-create to request-create
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 07:55:13 +00:00
Love Hörnquist Åstrand 66fce528ed Avoid crashing on bad input.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 07:45:48 +00:00
Love Hörnquist Åstrand dad83f50d7 (pkcs10_create): use opt->subject_string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:33:29 +00:00
Love Hörnquist Åstrand c32b846d53 Add pkcs10-create --subject
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:32:57 +00:00
Love Hörnquist Åstrand 2f417fa784 Add test_req to commands
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:32:10 +00:00
Love Hörnquist Åstrand ccdec7c9ae Test for pkcs10 commands.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16976 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:31:42 +00:00
Love Hörnquist Åstrand 10dbe873a1 make rsa_private_key2SPKI static.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:28:26 +00:00
Love Hörnquist Åstrand aeeed9cab8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:18:50 +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 1e9fea9d39 (pkcs10_create): implement
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:13:48 +00:00
Love Hörnquist Åstrand d612a40b89 (pkcs10-create): Add arguments to
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:12:14 +00:00
Love Hörnquist Åstrand 6a6823b916 Add _hx509_private_key2SPKI and support functions (only support RSA for now).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:10:34 +00:00
Love Hörnquist Åstrand 5de3822ce3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16967 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:21:07 +00:00
Love Hörnquist Åstrand 6a07652c01 Add pkcs10-create command.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16965 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:15:40 +00:00
Love Hörnquist Åstrand 3a78c8c3a4 Add hx509_request.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:15:14 +00:00
Love Hörnquist Åstrand 1a1066f5b7 more stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:14:44 +00:00
Love Hörnquist Åstrand cd4cbf630e Add req.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:13:55 +00:00
Love Hörnquist Åstrand f2be3565f5 Create certificate requests, prototype converts the request in a pkcs10 packet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:13:30 +00:00
Love Hörnquist Åstrand 2a5793e1f2 Add pkcs10_create
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:12:32 +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 2b6c24ce1a fill out what do
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 09:51:12 +00:00
Love Hörnquist Åstrand b1d1aeacf6 add pkcs10-print
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16921 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 09:48:47 +00:00
Love Hörnquist Åstrand 71767d72c9 Include <pkcs10_asn1.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 09:48:16 +00:00
Love Hörnquist Åstrand 89e22ec715 Add pkcs10.asn1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 09:47:19 +00:00
Love Hörnquist Åstrand 345a5034c9 PKCS#10
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16918 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 09:46:57 +00:00
Love Hörnquist Åstrand 34cb08bfde (pkcs10_print): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16917 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 09:46:32 +00:00
Love Hörnquist Åstrand ca5ed993fd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 02:17:42 +00:00
Love Hörnquist Åstrand 85093fa177 test ocsp keyhash
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 02:17:26 +00:00
Love Hörnquist Åstrand 0d9209ecbd generate ocsp keyhash version too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16914 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 02:16:30 +00:00
Love Hörnquist Åstrand feb71a9269 (load_ocsp): test that we got back a BasicReponse
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 02:15:02 +00:00
Love Hörnquist Åstrand 3bf4bb0e77 Add asn1_id_pkix_ocsp*.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 02:11:41 +00:00
Love Hörnquist Åstrand 7a53af1e6a Add HX509_QUERY_MATCH_KEY_HASH_SHA1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 02:10:24 +00:00
Love Hörnquist Åstrand 95d72c00e1 Support OCSPResponderID.byKey, indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 02:09:38 +00:00
Love Hörnquist Åstrand 71bbb60d93 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 01:39:21 +00:00
Love Hörnquist Åstrand ca809dc7cf (hx509_ocsp_request): Add nonce to ocsp request.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 01:36:21 +00:00
Love Hörnquist Åstrand 046a67d1ea Add nonce to ocsp request.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16907 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 01:36:04 +00:00
Love Hörnquist Åstrand bf9a313b9e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16906 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 01:08:52 +00:00
Love Hörnquist Åstrand cdc5d08112 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 01:04:35 +00:00
Love Hörnquist Åstrand 89d2c7f34d rename missing-crl to missing-revoke
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 01:04:16 +00:00
Love Hörnquist Åstrand 002c19e076 revoked cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 01:02:14 +00:00
Love Hörnquist Åstrand 396411d822 generate crl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 01:01:35 +00:00
Love Hörnquist Åstrand 6d47c9c790 Added crl tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 01:00:22 +00:00
Love Hörnquist Åstrand b4f2aeb697 make ca use openssl ca command so we can add ocsp tests, and regen certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 00:41:04 +00:00
Love Hörnquist Åstrand 4bffd93906 Add revoked ocsp cert test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 00:37:54 +00:00