Commit Graph

139 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
2742f6e454 swich to the public query interface
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17165 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 09:49:30 +00:00
Love Hörnquist Åstrand
ee70aac58c (cms_create_enveloped): Add support for choosing the encryption type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 07:37:46 +00:00
Love Hörnquist Åstrand
cb1f6e5345 Use hx509_cms_{,un}wrap_ContentInfo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17116 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-20 19:37:32 +00:00
Love Hörnquist Åstrand
2eb3049463 control sending nonce
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16996 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 18:44:07 +00:00
Love Hörnquist Åstrand
b3a92619c0 (request_create): store the request in a file, no in bitbucket.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 17:10:30 +00:00
Love Hörnquist Åstrand
ae6e238600 Add ocsp_print.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 15:23:08 +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
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
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
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
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
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
d7379e76d2 rename missing-crl to missing-revoke
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 00:30:45 +00:00
Love Hörnquist Åstrand
1428ca8c82 implement ocsp-fetch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16889 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 22:11:05 +00:00
Love Hörnquist Åstrand
3c28ff7607 Add stub for ocsp-fetch, _hx509_map_file changed prototype, add ocsp
parsing to verify command.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16867 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 01:47:31 +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
1caa24e4ee Parse CRL info.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:11:19 +00:00
Love Hörnquist Åstrand
b7fb7b3c80 Attach revoke context to verify context.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16602 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 21:08:09 +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
e66ec6f703 (print_f): print if there is a friendly name and if there is a private key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16454 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 03:00:49 +00:00
Love Hörnquist Åstrand
02d27ea231 Use _hx509_abort.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 08:26:26 +00:00
Love Hörnquist Åstrand
9d3f7175b2 Remove pcert_pkcs11.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:18:34 +00:00
Love Hörnquist Åstrand
84ec5f8b73 Print error code on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16382 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:44:29 +00:00
Love Hörnquist Åstrand
9974253444 Split verify and print.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:24:55 +00:00
Love Hörnquist Åstrand
bd113d976f Use option --pass.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16023 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:05:22 +00:00
Love Hörnquist Åstrand
7b67cbffb6 Use --certificate= for enveloped/unenvelope.
Clean up.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 07:40:33 +00:00
Love Hörnquist Åstrand
1664de4c46 use id-envelopedData for ContentInfo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:52:50 +00:00
Love Hörnquist Åstrand
b49ccf6f28 add contentinfo wrapping for create/unwrap enveloped data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15819 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:49:18 +00:00
Love Hörnquist Åstrand
4044d83371 (cms_create_sd): support wrapping in content info
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:35:18 +00:00
Love Hörnquist Åstrand
9717fcdc7f (cms_create_sd): support certificate store, add support to unwrap a
ContentInfo the SignedData inside.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:19:50 +00:00
Love Hörnquist Åstrand
ed0a230297 add query, add more options to verify-sd and create-sd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:01:44 +00:00
Love Hörnquist Åstrand
defa66507d use (some of the) options for -create-sd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 15:23:36 +00:00
Love Hörnquist Åstrand
b49dd2f6b0 switch to slc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15769 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 11:45:55 +00:00
Love Hörnquist Åstrand
b01e981819 free hx509_verify_ctx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 23:12:45 +00:00
Love Hörnquist Åstrand
a856bf7a9d return error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15748 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 21:50:53 +00:00
Love Hörnquist Åstrand
fe95b0a1a3 (cms_create_sd): add KU digitalSigature as a requirement to the query
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15730 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 11:47:05 +00:00
Love Hörnquist Åstrand
534d106cc9 Use _hx509_map_file, _hx509_unmap_file and _hx509_write_file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 20:23:41 +00:00
Love Hörnquist Åstrand
9a65106a30 fix id tags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 20:05:40 +00:00
Love Hörnquist Åstrand
0a70228c08 Initial revision
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15716 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 16:59:14 +00:00