Love Hörnquist Åstrand
ace0c11152
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:53:32 +00:00
Love Hörnquist Åstrand
d27456dd83
(hx509_select): new function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:53:12 +00:00
Love Hörnquist Åstrand
d825268bc1
add peer.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19121 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:52:31 +00:00
Love Hörnquist Åstrand
ddfe47e5e1
Update hx509_cms_create_signed_1.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:50:48 +00:00
Love Hörnquist Åstrand
1ad4760402
add struct hx509_peer_info
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:49:25 +00:00
Love Hörnquist Åstrand
bdf17144c3
Allow selection of digest/sig-alg
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19118 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:49:01 +00:00
Love Hörnquist Åstrand
a8539398d9
Allow selection of a better digest using hx509_peer_info.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:48:26 +00:00
Love Hörnquist Åstrand
84293fbe7c
Add hx509_peer_info and hx509_select selectors.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19116 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:18:47 +00:00
Love Hörnquist Åstrand
2a62f68e43
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-25 23:56:17 +00:00
Love Hörnquist Åstrand
7d2e784271
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-25 23:54:30 +00:00
Love Hörnquist Åstrand
2c0f78e9c0
Handle that _hx509_verify_signature takes a context.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-25 23:53:05 +00:00
Love Hörnquist Åstrand
647a299beb
Sprinkle error strings.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-25 12:40:13 +00:00
Love Hörnquist Åstrand
85ee798833
Sprinkle context and error strings.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-25 12:31:34 +00:00
Love Hörnquist Åstrand
c0eada204f
test printing and parsing raw oids in name.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19106 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-24 06:11:35 +00:00
Love Hörnquist Åstrand
a111935bca
Handle printing and parsing raw oids in name.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-24 06:09:48 +00:00
Love Hörnquist Åstrand
23105c3230
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 18:15:10 +00:00
Love Hörnquist Åstrand
1a89ccbde3
(_hx509_calculate_path): allow to calculate optimistic path when we
...
don't know the trust anchors, just follow the chain upward until we no
longer find a parent or we hit the max limit.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 18:11:22 +00:00
Love Hörnquist Åstrand
b10833408a
regen
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 18:09:59 +00:00
Love Hörnquist Åstrand
94d63f5092
(hx509_cms_create_signed_1): provide a best effort path to the trust
...
anchors to be stored in the SignedData packet, if find parents until
trust anchor or max length.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 18:08:23 +00:00
Love Hörnquist Åstrand
36b3f8b61a
Build pk-init proxy cert.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 18:06:10 +00:00
Love Hörnquist Åstrand
f6a0b79caf
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19062 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-16 15:08:26 +00:00
Love Hörnquist Åstrand
aaf8aff1c6
(hx509_get_error_string): Put ", " between strings in error message.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-16 15:08:09 +00:00
Love Hörnquist Åstrand
3580cf19b8
Change realm to TEST.H5L.SE
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19023 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 08:22:52 +00:00
Love Hörnquist Åstrand
edd8dd277c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19022 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 08:20:46 +00:00
Love Hörnquist Åstrand
73d8cedc12
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 08:20:13 +00:00
Love Hörnquist Åstrand
8835bc2f1f
Update all strings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 08:19:07 +00:00
Love Hörnquist Åstrand
ef6a951382
SE not ORG
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19019 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 07:44:50 +00:00
Love Hörnquist Åstrand
bd69f9fb24
regen with TEST.H5L.SE
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:50:22 +00:00
Love Hörnquist Åstrand
314fb19bfd
Use TEST.H5L.ORG instead of EXAMPLE.ORG
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19015 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:34:56 +00:00
Love Hörnquist Åstrand
dcb53a0099
Sprinkle error strings.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 17:19:17 +00:00
Love Hörnquist Åstrand
62430a07d1
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 23:55:26 +00:00
Love Hörnquist Åstrand
343b2cb1c2
(hx509_query_match_cmp_func): return 0
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 23:43:24 +00:00
Love Hörnquist Åstrand
159fc828ab
add context variable to cmp function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 23:31:41 +00:00
Love Hörnquist Åstrand
c226612caa
(hx509_query_match_cmp_func): allow setting the match function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 23:27:49 +00:00
Love Hörnquist Åstrand
1186389444
set more error strings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 19:58:16 +00:00
Love Hörnquist Åstrand
77e4ca555d
Return less EINVAL.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 19:57:16 +00:00
Love Hörnquist Åstrand
b80776d43c
add more pkcs11 errors
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 19:56:02 +00:00
Love Hörnquist Åstrand
9a6b638fb0
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 14:39:27 +00:00
Love Hörnquist Åstrand
b5eb125380
more error-codes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 14:38:08 +00:00
Love Hörnquist Åstrand
1f10971511
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18870 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 14:37:11 +00:00
Love Hörnquist Åstrand
de70ab808f
Return less EINVAL.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18869 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 14:36:20 +00:00
Love Hörnquist Åstrand
6bc5a77a26
sprinkel more hx509_set_error_string
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 14:26:58 +00:00
Love Hörnquist Åstrand
3d552d8a43
Return less EINVAL.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 14:08:32 +00:00
Love Hörnquist Åstrand
a6726ae8e3
Pass in context to _hx509_parse_private_key.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18865 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 14:00:29 +00:00
Love Hörnquist Åstrand
a6ad00f6e0
return less EINVAL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 13:57:59 +00:00
Love Hörnquist Åstrand
ff31485ed0
Sprinkle more hx509_context so we can return propper errors.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 13:48:18 +00:00
Love Hörnquist Åstrand
43c1cc11e7
add HX509_PARSING_KEY_FAILED
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 13:45:03 +00:00
Love Hörnquist Åstrand
f58f609484
Sprinkle more hx509_context so we can return propper errors.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 13:34:21 +00:00
Love Hörnquist Åstrand
7f316a5b1e
Sprinkle more hx509_context so we can return propper errors.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 13:21:17 +00:00
Love Hörnquist Åstrand
e04a318438
add context variable to _hx509_collector_private_key_add
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 13:13:34 +00:00