Matthieu Patou
d083ae19af
export hx509_private_key_ops
...
export hx509_private_key_ops
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2011-01-12 17:45:17 +01:00
Simon Wilkinson
3d7fc1001a
Assign a value for HX509_CMS_EV_ID_NAME
...
667ec8eb81
introduced the flag
HX509_CMS_EV_ID_NAME, without defining a value for that flag.
Assign a value using the next available bit.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2010-10-11 20:05:26 -07:00
Love Hornquist Astrand
48ad3e1e65
add import/export type for private keys
2010-10-03 16:32:01 -07:00
Love Hornquist Astrand
6f328a9194
add padding support via hx509_crypto_set_padding
2010-09-22 14:41:17 -07:00
Love Hornquist Astrand
bcf2cbca83
add HX509_CMS_SIGNATURE_NO_CERTS and HX509_CMS_SIGNATURE_LEAF_ONLY
2010-08-10 10:19:51 -07:00
Love Hörnquist Åstrand
1859798544
allow weak flags for cms
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24819 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:24:18 +00:00
Love Hörnquist Åstrand
50c7425369
include <stdio.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:28:57 +00:00
Love Hörnquist Åstrand
74377bbf5c
include <stdarg.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:28:38 +00:00
Love Hörnquist Åstrand
89e9107f8d
drop <heim_extra.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24796 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:28:28 +00:00
Love Hörnquist Åstrand
9b8c1d9569
spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:06:01 +00:00
Love Hörnquist Åstrand
de35928c20
add HX509_CMS_SIGATURE_NO_SIGNER and indent
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:04:38 +00:00
Love Hörnquist Åstrand
7e1b5d3a55
better name for zero signer
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:03:37 +00:00
Love Hörnquist Åstrand
2e93ad7a9f
add more hx509_cms_verify_signed flags.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:03:17 +00:00
Love Hörnquist Åstrand
26abb7e637
option to turn off the KeyUsage check in CMS verify SignedData
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24204 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:32:49 +00:00
Love Hörnquist Åstrand
e893e7bd5b
Add HX509_CMS_EV_NO_KU_CHECK and HX509_CMS_VS_ALLOW_DATA_OID_MISMATCH
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:31:51 +00:00
Love Hörnquist Åstrand
6937d41a02
remove trailing whitespace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898
switch to utf8 encoding of all files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
e447e5b619
Make self-standing by including missing files.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:32 +00:00
Love Hörnquist Åstrand
7776ed30a9
Add language to support querying certificates to find a match. Support constructs like "1.3.6.1.5.2.3.5" IN %{certificate.eku} AND %{certificate.subject} TAILMATCH "C=SE"".
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22677 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-13 17:35:49 +00:00
Love Hörnquist Åstrand
634a0a544f
add HX509_CERTS_UNPROTECT_ALL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-16 14:24:50 +00:00
Love Hörnquist Åstrand
a959e6cd3e
Add HX509_VHN_F_ALLOW_NO_MATCH.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 22:43:15 +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
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
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
0d7c929c6d
Add hx509_crl.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20798 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 03:28:55 +00:00
Love Hörnquist Åstrand
c1da454788
Add HX509_SELECT_SECRET_ENC.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 18:38:14 +00:00
Love Hörnquist Åstrand
1820a1f17b
Flag to generate detached signatures.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 22:45:00 +00:00
Love Hörnquist Åstrand
9b40125782
Add template flags.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:19:27 +00:00
Love Hörnquist Åstrand
342aad4138
add hx509_env
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 11:18:33 +00:00
Love Hörnquist Åstrand
80977a02f6
Factor out private key operation out of the signing, operations, support import, export, and generation of private keys. Add support for writing PEM and PKCS12 files with private keys in them.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 10:52:13 +00:00
Love Hörnquist Åstrand
23b2e5ae89
Add hx509_ca_tbs and HX509_QUERY_OPTION_KU_KEYCERTSIGN.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:50:05 +00:00
Love Hörnquist Åstrand
9b5b13dc57
update (c)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:43:28 +00:00
Love Hörnquist Åstrand
2022239dd6
Spelling.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:43:15 +00:00
Love Hörnquist Åstrand
03ef18c610
add HX509_SELECT_ALL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:42:48 +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
15a66286ab
Add HX509_CMS_UE_DONT_REQUIRE_KU_ENCIPHERMENT.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 06:35:53 +00:00
Love Hörnquist Åstrand
69b7cec07b
Reshuffle the prompter types, remove the hidden field.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 10:13:18 +00:00
Love Hörnquist Åstrand
775dc15b9b
Make hx509_prompt.reply not a pointer.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 16:38:32 +00:00
Love Hörnquist Åstrand
4123507b93
Add support for error strings.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17393 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 14:04:21 +00:00
Love Hörnquist Åstrand
3a78c8c3a4
Add hx509_request.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:15:14 +00:00
Love Hörnquist Åstrand
e0955cb5ba
Add hx509_query.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-26 23:33:55 +00:00
Love Hörnquist Åstrand
da94d04998
Add hx509_revoke_ctx.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 20:49:21 +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
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
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