Commit Graph

1857 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
d82349fba1 Add proxy certificate errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 14:41:14 +00:00
Love Hörnquist Åstrand
db9e1df818 Fix comment about subject name of proxy certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17258 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:49:27 +00:00
Love Hörnquist Åstrand
cf3c9e7986 Make proxy certificate work.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:35:20 +00:00
Love Hörnquist Åstrand
e9a7ef8057 tests for proxy certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:32:17 +00:00
Love Hörnquist Åstrand
104b2bda39 gen proxy and non-proxy tests certificates
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:31:58 +00:00
Love Hörnquist Åstrand
a52db0479d Add definition for proxy certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:31:26 +00:00
Love Hörnquist Åstrand
0c10f202f4 proxy certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:30:50 +00:00
Love Hörnquist Åstrand
1b98d3a6ff (hx509_verify_path): verify proxy certificate have no san or ian
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17252 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 12:36:49 +00:00
Love Hörnquist Åstrand
253352539c (hx509_verify_set_proxy_certificate): Add
(*): rename policy cert to proxy cert


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 12:21:20 +00:00
Love Hörnquist Åstrand
3d4b238a8b Initial support for policy certificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 12:05:10 +00:00
Love Hörnquist Åstrand
cfb3a670d7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 11:12:39 +00:00
Love Hörnquist Åstrand
bdf6508cbf some error checking
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 11:09:56 +00:00
Love Hörnquist Åstrand
8e39cadc48 Switch over to asn1 generaed oids.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 10:29:16 +00:00
Love Hörnquist Åstrand
1d1cb24d77 merge with old todo file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 06:18:08 +00:00
Love Hörnquist Åstrand
0030f7ffe6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 21:07:57 +00:00
Love Hörnquist Åstrand
6e0da2025d make quiet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 21:07:38 +00:00
Love Hörnquist Åstrand
90828a636b SKIP test if there is no RSA support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 21:04:56 +00:00
Love Hörnquist Åstrand
a2f3d68355 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 20:45:12 +00:00
Love Hörnquist Åstrand
d392dd4448 print dh method too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17184 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 20:43:17 +00:00
Love Hörnquist Åstrand
b98b142233 SKIP test if there is no RSA support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 20:41:53 +00:00
Love Hörnquist Åstrand
db186f538d (info): new function, prints info about that default modules are in use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 20:38:03 +00:00
Love Hörnquist Åstrand
d4b5b1b420 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 12:08:19 +00:00
Love Hörnquist Åstrand
614ecd6947 Allow passing in pool and anchor to signedData
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 12:07:58 +00:00
Love Hörnquist Åstrand
4e36fc3e98 Test that certs in signed data is picked up.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 12:07:01 +00:00
Love Hörnquist Åstrand
8699156461 Expose the path building function to internal functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 11:38:39 +00:00
Love Hörnquist Åstrand
0cf7710dea (hx509_cms_create_signed_1): calculate path and add it to the
SignedData structure.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 11:37:17 +00:00
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
5f000f25e6 cms-envelope: Add support for choosing the encryption type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 07:40:23 +00:00
Love Hörnquist Åstrand
46e2119c8d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17163 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 07:39:15 +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
d459cbb457 Test generating des-ede3 aes-128 aes-256 enveloped data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 07:35:13 +00:00
Love Hörnquist Åstrand
2ecd5af5e2 Add names to cipher types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 07:23:28 +00:00
Love Hörnquist Åstrand
7391a1abf9 (hx509_query_match_friendly_name): fix return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 07:22:15 +00:00
Love Hörnquist Åstrand
4ddd614491 generate tests for enveloped data using des-ede3 and aes256
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 07:12:12 +00:00
Love Hörnquist Åstrand
81f51b2dba add tests for enveloped data using des-ede3 and aes256
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 07:11:38 +00:00
Love Hörnquist Åstrand
8bbd1c18e7 quiet down
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 07:07:26 +00:00
Love Hörnquist Åstrand
8baf696034 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 22:17:49 +00:00
Love Hörnquist Åstrand
5f7eeddc5e (hx509_query_match_friendly_name): New function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 22:16:55 +00:00
Love Hörnquist Åstrand
2e5cb05193 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 22:01:23 +00:00
Love Hörnquist Åstrand
19256d0fbd Add support for parsing slot-number.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 21:58:09 +00:00
Love Hörnquist Åstrand
44ffd3d770 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 21:19:32 +00:00
Love Hörnquist Åstrand
f574f03d70 (oid_private_rc2_40): simply
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 21:18:14 +00:00
Love Hörnquist Åstrand
cfdc3e297c Use oid from asn1 generator.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 21:14:46 +00:00
Love Hörnquist Åstrand
67e0d93a8a (file_init): reset length when done with a part
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 21:13:49 +00:00
Love Hörnquist Åstrand
60581c73b0 check with test.combined.crt.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 21:12:15 +00:00
Love Hörnquist Åstrand
fbb94a10bc Create test.combined.crt.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 21:09:06 +00:00
Love Hörnquist Åstrand
2c77a16770 Test signed data using keyfile that is encrypted.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 15:04:52 +00:00
Love Hörnquist Åstrand
af56b03fd1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 15:03:20 +00:00
Love Hörnquist Åstrand
01c7345f08 Remove (commented out) debug printf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 15:03:07 +00:00
Love Hörnquist Åstrand
f4e2e10360 (parse_rsa_private_key): use EVP_get_cipherbyname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 15:00:10 +00:00