sth
bd3eab81e4
Added #include <openssl/rsa.h>, this is needed for openssl 0.9.8 and higher where openssl/evp.h wont include the algorithms anymore (Nils)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1198 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-13 06:51:26 +00:00
sth
c85913c5c7
Fix in pkcs15_gen_keypair(): labels didnt work
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1184 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-04 19:17:51 +00:00
sth
fe3cb3de3f
some fixes to pkcs15_create_object() and pkcs15_gen_keypair()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1181 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-04 12:26:06 +00:00
sth
e3262c5fcd
added a check for CKA_CERTIFICATE_TYPE to attr_extract()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1180 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-04 12:24:19 +00:00
sth
c8c2cf725b
First implementation of C_GenerateKeyPair()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1179 c6295689-39f2-0310-b995-f0e70906c6a9
2003-06-03 13:57:52 +00:00
okir
9d6227ec64
- return value of pkcs15_login was ignored
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1165 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-27 09:58:39 +00:00
sth
fc31b65a88
added sc_logout() functionality
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1153 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-20 08:30:46 +00:00
aj
705103d4d8
fix include paths.
...
include files are supposed to be in opensc/ and opensc/rsaref/.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1145 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-16 22:08:41 +00:00
okir
0f29e7543e
- allow full access to keys not protected by a PIN
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1126 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-15 15:27:33 +00:00
sth
053b10e2bf
If signing/decryption fails because the card lost its security status, try to log in again and then do another attempt to sign/decrypt
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1113 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-15 10:34:03 +00:00
sth
c79e42d82e
Added support for Mac bundles
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1092 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-08 07:54:30 +00:00
aj
c4e49486b9
oops, didn't remove reference to sslrandom.c. fixed.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1091 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-02 15:12:02 +00:00
aj
99d3289ecd
this should fix the libscrandom issue:
...
the obvious solution is to create libscrandom.la (not .a)
and link with ../scrandom/libscrandom.la (not -lscrandom).
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1090 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-02 15:03:02 +00:00
aj
683b946c52
Patch by Robert Bihlmeyer:
...
- remove liscrandom
- use scrandom.c directly (list as part of the SOURCES)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1083 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-01 14:09:11 +00:00
sth
dcf4a94847
Build libscrandom in both .a and .so versions (by R. Bihlmeyer)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1080 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-29 11:10:06 +00:00
sth
f417883e15
Avoid an Assertion Failed (ctx!=NULL) in log.c if sc_establish_context() fails in C_Initialize()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1075 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-28 09:55:36 +00:00
sth
2698dc6cec
Have a compile option to enable PTHREAD locking at the pkcs11 level
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1070 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-24 07:03:48 +00:00
sth
a9692c9c46
Disabled OS thread locking on OSes with PTHREAD due to closing problems with Mozilla
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1067 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-23 09:52:09 +00:00
aj
c0ea6e9554
remove references to SCIDI
...
sanitize pkcs11 include header references
(now they are installed in rsaref/ subdir,
and pkcs11.h is *not* overwritten).
remove automake 1.5 requirement
(automake 1.4 on debian stable/woody works fine)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1064 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-22 17:02:28 +00:00
jey
0aea6fcba5
- applied build fixes from Andreas
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1058 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-21 15:01:55 +00:00
sth
fb417772fb
Allow non-repudation as a signature usage
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1050 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-18 15:42:04 +00:00
sth
01896a8f2e
Added some files to ignore, also for Windows
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1049 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-18 14:57:50 +00:00
sth
b05aadce59
Have a sec delay in C_GetSlotInfo() per reader instead of a global delay
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1048 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-18 11:58:11 +00:00
sth
a85d6d7aa4
Added code for MacOSX
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1047 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-18 11:55:16 +00:00
okir
41a22174dc
- bugfix for unwrap
...
- support getattr(CKA_VALUE) for public key objects
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1045 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-17 14:38:00 +00:00
okir
c94d72f3ea
- fixed signing and hopefully unwrap for split keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1041 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-17 13:13:48 +00:00
okir
9fae9999ea
- fix for the previous change
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1040 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-17 13:03:49 +00:00
okir
d2075b2c13
- implemented split-key support for CardOS
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1038 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-17 12:38:08 +00:00
okir
6faee57a95
- fixed compiler warning
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1037 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-17 11:04:28 +00:00
sth
897e4a87ca
Added debug.obj
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1033 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-16 19:50:30 +00:00
okir
138346a018
- backed out AM_LDFLAGS change
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1022 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-16 14:20:40 +00:00
okir
1714b3147c
- improved debugging output of CK_ATTRIBUTE data
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1021 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-16 14:18:07 +00:00
okir
c53043a97e
- in getattr(CKA_LABEL), do not include trailing NUL
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1020 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-16 14:17:02 +00:00
sth
92c5e24572
Have allways a label in CK_TOKEN_INFO
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1010 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-14 17:29:19 +00:00
sth
f801d14ffd
Removed some errors that occured with unsupported cards
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@996 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-11 14:22:52 +00:00
okir
87a0cc51a1
- build fixes from Andreas
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@991 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-11 11:46:02 +00:00
sth
ac4b6dc45f
Fix: card detection in C_GetSlotInfo is done at most once a second
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@969 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-02 06:59:19 +00:00
sth
0abafd0e9a
Fix: root certs could be shown more then once
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@965 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-27 16:08:10 +00:00
okir
995bcfa2df
- added missing win32.h
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@959 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-27 10:12:02 +00:00
okir
6717b4224b
- dont install rsaref/{unix.h,win32.h}
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@947 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-10 21:35:47 +00:00
sth
ca6a27e429
remove/insert fix: restore the slot->reader in slot_token_removed
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@943 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-07 14:18:55 +00:00
sth
c097704149
added error msg SC_ERROR_KEYPAD_TIMEOUT
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@938 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-03 21:07:42 +00:00
okir
66a8076baa
- more robust handling of concurrent WaitForSlotEvent vs Finalize
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@937 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-03 13:07:28 +00:00
sth
32f532a782
fix: clear the CK_SLOT_INFO flags in slot_token_removed
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@936 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-03 13:03:59 +00:00
sth
a2ff6d66b4
take the last 8 bytes of the card as the pkcs11 serialNumber
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@935 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-28 15:16:56 +00:00
sth
0036545ffa
fix in C_GetSlotInfo that previously cleared the slotDescription and didnt clear the CKF_TOKEN_PRESENT flag
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@934 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-28 12:47:32 +00:00
sth
9fe5baa4b7
added error code CKR_PIN_INVALID
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@932 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-26 07:27:42 +00:00
sth
5c1ae16ac8
fixed wrong return value in C_Finalize
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@931 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-23 20:10:24 +00:00
sth
49760f9cfb
fixed some thread dead-lock bugs
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@930 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-23 19:38:50 +00:00
okir
9173c9934e
- new pkcs15 object creation stuff
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@929 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-23 17:50:33 +00:00
sth
d9e99b0e17
little fix in C_GetInfo
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@927 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-21 15:40:06 +00:00
okir
33133a8d5a
- prevent compiler warning
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@926 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-21 12:47:30 +00:00
sth
b0a8b1a26a
extra check in C_Logout
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@925 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-21 12:29:14 +00:00
sth
252cbd51d2
login should return CKR_ARGUMENTS_BAD if wrong pin length
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@924 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-21 12:27:24 +00:00
sth
a7a5701e0c
added support for max pin length
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@922 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-20 23:19:01 +00:00
sth
a69a309c6e
NULL_PTR check added
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@921 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-20 18:55:35 +00:00
sth
4d4920b661
Let C_FindObjectsInit return correctly
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@920 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-20 18:54:52 +00:00
sth
b75ea0a0b2
more parameter checks + fix in previous checks
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@917 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-19 21:10:39 +00:00
sth
958658102d
added check for NULL pointers and uninitialized pkcs11 lib
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@916 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-19 13:44:36 +00:00
sth
c05cef9678
correct behaviour of C_GetSlotInfo at empty slots
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@914 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-17 16:53:49 +00:00
okir
870d9d9f66
- made card_detect() available to everyone
...
- C_GetSlotInfo now always does card detection, but only for the
reader which which the slot is associated
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@913 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-17 14:57:51 +00:00
okir
cf6037314f
- Introduce locks around all pkcs11 operations, in case the caller
...
is multithreaded and wants to access us from different threads.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@912 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-17 14:21:38 +00:00
sth
e1f4108c33
added error code CKR_USER_NOT_LOGGED_IN
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@909 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-16 18:09:10 +00:00
sth
58985e51c2
reset first_free_slot during C_Initialize
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@908 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-14 16:59:23 +00:00
sth
d944d91714
added the CKR_DEVICE_REMOVED return code
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@907 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-12 14:20:53 +00:00
sth
7dcf350d7b
added p11 error CKR_PIN_LOCKED
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@905 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-11 10:38:43 +00:00
okir
1c66025798
- Each reader now gets a fixed range of slots
...
- Each slot now shows the reader name in the description field
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@903 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-10 14:08:29 +00:00
okir
4ff3821a0a
- suppress bogus insertion events
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@897 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-03 12:32:43 +00:00
okir
5276bbb1c4
- merged Stef's WaitForSlotEvent patches
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@895 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-03 12:20:54 +00:00
okir
76e7ce90e4
- fixed compiled warning
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@894 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-03 12:20:24 +00:00
sth
f6a343712e
added: opensc SC_ERROR_KEYPAD_CANCELLED -> pkcs11 CKR_FUNCTION_CANCELED
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@890 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-31 12:50:26 +00:00
sth
16dfb55118
the slot's slotDescription is now the reader name
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@888 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-28 15:39:47 +00:00
sth
5c1b8d9411
selection between SHA-1 and RIPEMD160 sigs when 35 bytes supplied
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@887 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-28 15:37:54 +00:00
sth
dfc01ab7ed
typo fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@885 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-27 13:43:06 +00:00
sth
a383ed91d5
added return value + fix (needed if hide_empty_slots = true
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@883 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-27 13:17:08 +00:00
okir
7c6896ad73
- link against libscrandom.a, no libscrandom.la
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@873 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-20 09:57:23 +00:00
okir
c83a6468ac
- fixed typo in previous patch
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@872 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-20 09:56:53 +00:00
okir
4867251671
- fix sc_pkcs11_signature_size to return modulus size in bytes, not bits (Stef)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@869 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-20 09:52:05 +00:00
okir
69f8588f47
- added card_detect_all
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@868 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-20 09:50:33 +00:00
okir
5b1eb43b93
- add some support for card removal in pkcs11
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@867 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-19 17:47:07 +00:00
okir
a7551e1822
- Patches from Stef implementing PKCS11 RNG related functions
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@866 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-16 20:10:28 +00:00
aet
b1eff66867
C++ warning fixes (assuan excluded)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@863 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-14 19:55:45 +00:00
okir
0af2a35b9c
- Another go at the empty slot/empty token issue
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@857 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-13 21:38:43 +00:00
aet
037dbdfa13
Fix compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@845 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-06 23:46:24 +00:00
okir
67608feffb
- Win32 fixes in case openssl is not present (Stef)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@842 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-06 19:52:11 +00:00
okir
9c5782e2b2
- pin pad changes from Stef
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@839 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-06 19:28:48 +00:00
okir
bd96ae9be3
- C_Sign* and C_Digest* now return the proper codes when the output buffer
...
is too small, or when the caller is doing and output buffer size query
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@822 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 14:28:50 +00:00
okir
1c22c55655
- Try to fix pkcs11.hide_empty_slots
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@818 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 11:40:11 +00:00
okir
0ffa466eab
- sc_pkcs11_slot_t typedef added
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@817 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 11:39:59 +00:00
okir
36930668fb
- Added run-time option pkcs11.cache_pins, default false
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@816 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 11:09:45 +00:00
okir
8e6dc966b5
- Added run-time option pkcs11.lock_login
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@815 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 10:49:07 +00:00
okir
8abb5fa801
- Getattr(CKA_MODULUS_BITS) would fail for keys w/o certificate
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@813 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-02 15:23:08 +00:00
okir
4419574608
- NUL-terminate strings returned by getattr(CKA_LABEL)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@809 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-23 17:02:05 +00:00
okir
8c7bfd1a3d
- define enough reader slots
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@807 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-22 20:50:25 +00:00
okir
d1fa35e1d0
- slightly changed previous patch; new flag hide_empty_slots
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@805 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-22 11:50:41 +00:00
okir
0babb91194
- Allow the admin to configure how many slots are used per card
...
(opensc.conf; pkcs11.num_slots)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@804 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-21 16:45:37 +00:00
okir
d22d1b13a4
- Another fix to mechanism handling: ripemd160 signatures should work now
...
- Got rid of get_mechanism_{list,info} in framework_ops, as they're not
needed anymore.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@795 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-19 09:27:08 +00:00
okir
fc26b49ee5
- Values of CKA_SIGN and similar attributes now based on the pkcs15
...
usage flags rather than on some hardwired defaults.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@792 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-18 19:26:18 +00:00
okir
2e4f640c2d
- More win32 fixes from Stef
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@785 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 20:44:48 +00:00
okir
647d4bcdef
- Register only those mechanisms the card actually supports
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@783 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 20:16:31 +00:00