Love Hörnquist Åstrand
15c8bb00e6
Split out the iv creation from hx509_crypto_encrypt since
...
_hx509_pbe_encrypt needs to use the iv from the s2k function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21318 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 19:46:32 +00:00
Love Hörnquist Åstrand
3c08beb7fd
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:45:53 +00:00
Love Hörnquist Åstrand
c5881d3399
Test PEM and DER FILE writing functionallity.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:45:44 +00:00
Love Hörnquist Åstrand
6af92427cb
Add writing DER certificates.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21314 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:45:07 +00:00
Love Hörnquist Åstrand
78adee3666
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:27:55 +00:00
Love Hörnquist Åstrand
b376cf9ad6
Update to new hx509_pem_write().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:27:28 +00:00
Love Hörnquist Åstrand
1761c997f6
test creation of PEM signeddata.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:26:37 +00:00
Love Hörnquist Åstrand
de375f7467
PEM struct/function declarations.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:26:06 +00:00
Love Hörnquist Åstrand
1f5b66439c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:24:01 +00:00
Love Hörnquist Åstrand
fc504fb042
Use PEM encoding/decoding functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:23:51 +00:00
Love Hörnquist Åstrand
fedd7ad133
PEM encode/decoding functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:23:01 +00:00
Love Hörnquist Åstrand
b442dada5d
Use hx509_pem_write.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 17:24:43 +00:00
Love Hörnquist Åstrand
35a7646bf0
Export some semi-private functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 17:04:12 +00:00
Love Hörnquist Åstrand
5a42c2faa3
export hx509_pem_write
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 16:54:53 +00:00
Love Hörnquist Åstrand
d6310fff09
Enable writing out signed data as a pem attachment.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 16:49:12 +00:00
Love Hörnquist Åstrand
ddc4a41685
(cms-create-signed): add --pem
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 16:44:55 +00:00
Love Hörnquist Åstrand
e1fcd85fb3
(hx509_pem_write): Add.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 16:44:24 +00:00
Love Hörnquist Åstrand
70013f4851
Issue and test null subject cert.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 15:48:55 +00:00
Love Hörnquist Åstrand
d18a09a118
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:43:34 +00:00
Love Hörnquist Åstrand
311d4992f2
Match is first component is in a CN=.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:37:15 +00:00
Love Hörnquist Åstrand
0531be3254
Test hostname if first CN.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:36:36 +00:00
Love Hörnquist Åstrand
1c30ba73a2
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 05:41:48 +00:00
Love Hörnquist Åstrand
51b05361e0
Add version script.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 05:41:38 +00:00
Love Hörnquist Åstrand
bec72a4a8b
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 05:40:20 +00:00
Love Hörnquist Åstrand
d19038227e
Limited exported symbols.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 05:40:09 +00:00
Love Hörnquist Åstrand
e4f0d2a7ce
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:55:37 +00:00
Love Hörnquist Åstrand
64dd4ed468
test --hostname.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:55:02 +00:00
Love Hörnquist Åstrand
fd1661f019
test max-depth.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:54:43 +00:00
Love Hörnquist Åstrand
4f99a5fdd6
fixate HX509_HN_HOSTNAME at 0.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21277 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:54:20 +00:00
Love Hörnquist Åstrand
c5e18ae5eb
add --hostname add --max-depth
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:50:40 +00:00
Love Hörnquist Åstrand
9341a7ec42
Verify hostname and max-depth.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:50:10 +00:00
Love Hörnquist Åstrand
5db583358c
Verify hostname and test max-depth.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:47:55 +00:00
Love Hörnquist Åstrand
c921b79093
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:27:53 +00:00
Love Hörnquist Åstrand
58ecb90252
Test --id-by-name.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:27:34 +00:00
Love Hörnquist Åstrand
a3fec27a13
add cms-create-sd --id-by-name
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:25:28 +00:00
Love Hörnquist Åstrand
1624d81f5f
Use HX509_CMS_SIGATURE_ID_NAME.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:24:53 +00:00
Love Hörnquist Åstrand
bff0a5c11c
Implement and use HX509_CMS_SIGATURE_ID_NAME.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:24:20 +00:00
Love Hörnquist Åstrand
0a6bc4b22c
Add HX509_CMS_SIGATURE_ID_NAME, use subject name for CMS.Identifier.
...
hx509_hostname_type: add hostname type for matching.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:21:00 +00:00
Love Hörnquist Åstrand
0d64623642
(match_general_name): more strict rfc822Name matching.
...
(hx509_verify_hostname): add hostname type for matching.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:20:11 +00:00
Love Hörnquist Åstrand
8781770e97
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21178 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 14:54:21 +00:00
Love Hörnquist Åstrand
401141607b
Make compile again.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 14:53:20 +00:00
Love Hörnquist Åstrand
e4763c806f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 14:08:49 +00:00
Love Hörnquist Åstrand
5e0b8a125f
Added peap-server for to make windows peap clients happy.
...
k
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 14:08:36 +00:00
Love Hörnquist Åstrand
6f8241782d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 05:17:55 +00:00
Love Hörnquist Åstrand
50e2be787d
Unify parse_oid code.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 05:09:37 +00:00
Love Hörnquist Åstrand
a79415dc15
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:22:32 +00:00
Love Hörnquist Åstrand
a3f2a611d8
Also print NULL:
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:16:14 +00:00
Love Hörnquist Åstrand
4149100c58
test --content-type.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:11:53 +00:00
Love Hörnquist Åstrand
ae9c048776
Implement --content-type.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:11:25 +00:00
Love Hörnquist Åstrand
c9d85b6204
Add content-type.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:11:03 +00:00