Love Hörnquist Åstrand
dd02f9c6a5
(p11_printinfo): print proper plural s
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 08:30:08 +00:00
Love Hörnquist Åstrand
efd8f3e585
(p11_printinfo): print mechs in diffrent order
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 08:26:37 +00:00
Love Hörnquist Åstrand
a16e48e582
save the mechs supported when initing the token, print them in printinfo.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 08:23:40 +00:00
Love Hörnquist Åstrand
a99e6303d5
Iterate over all slots, not just the first/selected one.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-29 09:24:47 +00:00
Love Hörnquist Åstrand
4abe3b3bce
Add reference counting on certifiates, push out CK_SESSION_HANDLE from slot.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-27 10:58:07 +00:00
Love Hörnquist Åstrand
ef9ea4272e
Sprinkle some hx509_set_error_strings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-22 16:14:07 +00:00
Love Hörnquist Åstrand
f86b0321a6
Hidden field of prompter is removed.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 10:14:50 +00:00
Love Hörnquist Åstrand
0da37e5388
Make compile.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 07:11:51 +00:00
Love Hörnquist Åstrand
c0f2bd14d6
Catch more errors.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17527 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 07:05:39 +00:00
Love Hörnquist Åstrand
aaeb02de1b
Use the prompter from the lock function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 16:40:09 +00:00
Love Hörnquist Åstrand
8f6bef250c
_hx509_set_cert_attribute changed signature
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17403 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 15:27:18 +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
163c6cb7b5
delete crypto_headers.h, use global file instead
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 14:02:49 +00:00
Love Hörnquist Åstrand
e3f2a6b60a
(p11_rsa_public_decrypt): since is wrong, don't provide it. PKCS11
...
can't do public_decrypt, it support verify though. All this doesn't
matter, since the code never go though this path.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-11 01:56:51 +00:00
Love Hörnquist Åstrand
434d46a8fa
Add code for public key decryption (not supported yet) and use
...
"crypto-headers.h".
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 21:57:09 +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
0ef14a76b5
fix syntax error.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 14:57:06 +00:00
Love Hörnquist Åstrand
5952012ed9
more paranoid on refcount, set refcounter ealier, reset pointers after free
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 14:55:50 +00:00
Love Hörnquist Åstrand
71a46fa08f
(rsa_pkcs1_method): constify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16467 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 08:23:11 +00:00
Love Hörnquist Åstrand
03838a117c
drop extra wrapping of p11_init
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 06:41:58 +00:00
Love Hörnquist Åstrand
f2ebc403b0
Implement rsa_private_decrypt and add stubs for public ditto.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16461 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 06:31:28 +00:00
Love Hörnquist Åstrand
c5f932ca38
Less printf, less memory leaks.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16459 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 06:23:14 +00:00
Love Hörnquist Åstrand
24329dc0fc
Implement signing using pkcs11.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16458 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 06:16:37 +00:00
Love Hörnquist Åstrand
33038f7586
Partly assign private key, enough to complete collection, but not
...
any crypto functionallity.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 03:14:59 +00:00
Love Hörnquist Åstrand
93072e953d
Add enough glue to support certificate iteration.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 16:28:09 +00:00
Love Hörnquist Åstrand
546c8bd55b
Starting point for a pkcs11 module.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-14 15:51:29 +00:00