Commit Graph

15096 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
01b6a65862 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:37:45 +00:00
Love Hörnquist Åstrand
516409901f add another oid for rc2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:37:30 +00:00
Love Hörnquist Åstrand
4cdb843b8c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:51:21 +00:00
Love Hörnquist Åstrand
430ca62d97 Add HX509_QUERY_MATCH_FUNCTION that allows caller to match by
function, note that this doesn't not work directly for backends that
implements ->query, they must do their own processing.
(I'm running out of flags, only 12 left now)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:45:25 +00:00
Love Hörnquist Åstrand
09977986dc verify ContentInfo wrapping code in hxtool
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:42:32 +00:00
Love Hörnquist Åstrand
d5ceba204e (cms_create_sd): support wrapping in content info
spelling


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:35:40 +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
73187c0202 test more cms signeddata messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:23:03 +00:00
Love Hörnquist Åstrand
46bbb370e4 generate SignedData
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:21:52 +00:00
Love Hörnquist Åstrand
a41a9123b4 CMS SignedData messages, wrapped inside ContentInfo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:21:26 +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
e84e12d06e sprinkel rk_UNCONST
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:18:21 +00:00
Love Hörnquist Åstrand
db921e48f1 add DER NULL to the digest oid's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:07:15 +00:00
Love Hörnquist Åstrand
aae0d9d220 add --content-info to cms-verify-sd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:06:21 +00:00
Love Hörnquist Åstrand
2524a63c87 (hx509_cms_create_signed_1): pass in a full AlgorithmIdentifier
instead of heim_oid for digest_alg


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:02:13 +00:00
Love Hörnquist Åstrand
4fa74ad527 make digest_alg a digest_oid, it's not needed right now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15798 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 20:31:44 +00:00
Love Hörnquist Åstrand
a7c5af0827 add CERT_NOT_FOUND
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 20:30:12 +00:00
Love Hörnquist Åstrand
3f7e96f387 (_hx509_certs_find): add error code for keyset not found
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15796 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 20:29:49 +00:00
Love Hörnquist Åstrand
a2cf1e1758 (hx509_cms_verify_signed): add external store of certificates, use the
right digest algorithm identifier.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 20:29:01 +00:00
Love Hörnquist Åstrand
8e29b2d8f8 fix const warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:21:50 +00:00
Love Hörnquist Åstrand
cbf73d7f8f slightly less verboese
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:20:47 +00:00
Love Hörnquist Åstrand
f1fdd9b275 add hx509_cert_find_subjectAltName_otherName
add HX509_QUERY_MATCH_FRIENDLY_NAME


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:19:41 +00:00
Love Hörnquist Åstrand
fdbb09ce51 add hx509_octet_string_list, remove bad comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:19:03 +00:00
Love Hörnquist Åstrand
765e4bf4ad add HX509_QUERY_MATCH_FRIENDLY_NAME
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:07:34 +00:00
Love Hörnquist Åstrand
15822411b5 (hx509_certs_append): needs a hx509_lock, add one
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:07:07 +00:00
Love Hörnquist Åstrand
9c1ee5d947 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:05:00 +00:00
Love Hörnquist Åstrand
968da2e639 add test cases turds to CLEANFILES
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:04:36 +00:00
Love Hörnquist Åstrand
f85f390567 add test_query to TESTS, fix dependency on hxtool sources on hxtool-commands.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:02:48 +00:00
Love Hörnquist Åstrand
ad070bdb2f explain what signer is for create-sd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:02:07 +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
03717b6fd4 add more cms tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:01:21 +00:00
Love Hörnquist Åstrand
6215763ddb add query, add more options to verify-sd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 18:56:36 +00:00
Love Hörnquist Åstrand
8d5e771c77 test query interface
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 18:55:44 +00:00
Love Hörnquist Åstrand
13e9a40274 fix filenames for ds/ke files, add pkcs12 files, regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 18:55:01 +00:00
Love Hörnquist Åstrand
e757fa8562 add test for cms
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 15:24:04 +00:00
Love Hörnquist Åstrand
1c9aeb2f70 test for cms
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 15:23:46 +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
0eacf30968 add more options for create-sd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 15:23:12 +00:00
Love Hörnquist Åstrand
7d99983112 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15775 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 15:00:52 +00:00
Love Hörnquist Åstrand
08e64c0d1b (gen_wrapper): use the generated version of name for function, if no
function is is used, also use the generated name for the structure
name.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15774 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 15:00:40 +00:00
Love Hörnquist Åstrand
8c8ebcd9aa x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 11:54:50 +00:00
Love Hörnquist Åstrand
56686ca406 Make variable initiation constant by moving them to global context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15772 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 11:54:36 +00:00
Love Hörnquist Åstrand
a1d804e568 change to c89 comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15771 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 11:53:39 +00:00
Love Hörnquist Åstrand
04f1a146d5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15770 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 11:46:54 +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
d93bbaaf99 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15768 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 06:48:43 +00:00
Love Hörnquist Åstrand
e83339d3f7 remove duplicate asn1_CMSAttributes.x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 06:48:19 +00:00
Love Hörnquist Åstrand
4368c9e814 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15766 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-26 21:32:20 +00:00
Love Hörnquist Åstrand
62327ac49e rename optind to optidx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15765 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-26 21:32:07 +00:00
Love Hörnquist Åstrand
268bcef1fe x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-26 18:38:22 +00:00