okir
f23480d491
- return objects when searching for a generic type (e.g. all PRKEY objects)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@554 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 20:44:54 +00:00
okir
9c502889d4
- correctly initialize PKCDF2 params
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@553 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 20:44:25 +00:00
okir
736d250c34
- fixes for PrKDF encoding/decoding for indirect-protected
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@552 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 20:44:06 +00:00
okir
79d0902155
- fix for decoding CHOICE
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@551 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 20:43:12 +00:00
okir
b7a22e2df6
- new error code SC_ERROR_INCOMPATIBLE_KEY
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@550 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 20:42:54 +00:00
okir
fcbbb6c3e5
- eliminated RSA specific code to support generic pubkeys instead
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@548 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 18:33:27 +00:00
okir
95a7fafe31
- use SC_ASN1_ALGORITHM_ID when decoding x509 certs
...
- handle certificates with non-RSA keys as well
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@547 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 18:32:06 +00:00
okir
5d8b1000ca
- eToken patches from Markus Friedl
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@546 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 13:36:35 +00:00
okir
f87bbcee4c
- some fixes to the ASN.1 we generate
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@545 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 13:34:40 +00:00
aet
0e24215b1f
Minor warning fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@544 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 13:13:44 +00:00
okir
a5dd0dbb99
- support NULL tag for encoding/decoding
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@542 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 12:19:57 +00:00
okir
228b6645c8
- correctly encode AlgorithmIdentifier w/o params as OID+NULL
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@541 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 12:19:43 +00:00
okir
1424c83854
- minor bugfix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@540 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 10:33:26 +00:00
okir
b05cc1e557
- error out for non-native keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@539 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 09:06:55 +00:00
okir
19132bea59
- new error code SC_ERROR_EXTRACTABLE_KEY
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@538 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 09:06:42 +00:00
okir
8ef6b71bb6
- added new files
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@537 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 09:01:54 +00:00
okir
56191b8d20
- functions for file content protection
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@536 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 09:01:49 +00:00
okir
0a458d66b9
- new file path type SC_PATH_TYPE_PATH_PROT
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@535 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 09:01:11 +00:00
okir
af262521e7
- new generic function sc_pkcs15_read_file
...
- structs and functions for data wrap/unwrap
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@534 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 09:00:52 +00:00
okir
29c7639bbd
- new generic function sc_pkcs15_read_file
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@533 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 09:00:16 +00:00
okir
996f5b7f2e
- renamed sc_pkcs15_parse_pubkey_rsa -> sc_pkcs15_decode_pubkey_rsa
...
- added sc_pkcs15_decode_pubkey_dsa
- sc_pkcs15_read_pubkey now uses sc_pkcs15_read_file
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@532 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 08:59:52 +00:00
okir
d248263d36
- initial support for non-native keys
...
- implemented generic functions sc_pkcs15_{encode,decode,read}_prkey
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@531 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 08:58:57 +00:00
okir
b63cfcf70d
- renamed sc_pkcs15_parse_pubkey_rsa -> sc_pkcs15_decode_pubkey_rsa
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@530 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 08:57:29 +00:00
okir
b4d224b5a1
- added SC_ALGORITHM_{MD5,SHA1,PBKDF2,PBES2} and corresponding
...
AlgorithmIdentifier parameter structs
- added params pointer to struct sc_algorithm_id
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@529 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 08:56:58 +00:00
okir
5eb1921a64
- new error code SC_ERROR_PASSPHRASE_REQUIRED
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@528 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 08:55:39 +00:00
okir
77a2db5f5e
- Moved ASN.1 handling of AlgorithmIdentifier to separate file
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@527 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 08:55:06 +00:00
okir
f49cb6b0f1
- implemented encoding of OBJECT IDENTIFIER
...
- enhanced support for encoding/decoding of CHOICE
- moved encoding/decoding of AlgorithmIdentifier to separate file,
and added encoding/decoding of algorithm parameters
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@526 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 08:54:36 +00:00
okir
596220e821
- pkcs15-init does not require openssl anymore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@523 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-15 13:42:10 +00:00
jey
43ecd78941
- Fixed ACL handling in MioCOS driver
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@521 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-14 12:43:47 +00:00
okir
b6119fc92e
- avoid unchecked memcpy
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@515 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-11 15:13:09 +00:00
okir
34a3912fdf
- in set_security_env, select the PK file prior to read_record
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@514 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-11 15:12:41 +00:00
jey
3ec97d9815
- Added a missing file from a previous commit
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@512 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-10 23:10:47 +00:00
jey
87e27b00a4
- Changed an error code as per Andreas' suggestion
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@511 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-10 23:00:38 +00:00
jey
52c433a7ae
- Added support for Aladdin eToken PRO; patch by
...
Andreas Jellinghaus <aj@dungeon.inka.de>
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@510 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-10 22:25:44 +00:00
okir
2d47103692
- implemented sc_pkcs15_find_so_pin
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@496 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 15:45:28 +00:00
okir
01e506e5ed
- When the application selected the EF, then the container DF, all
...
PIN info would be lost.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@495 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 15:45:13 +00:00
okir
517395b2eb
- pin flags were not encoded correctly
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@488 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 09:23:17 +00:00
aet
2936e46e12
Warning fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@484 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-07 10:21:00 +00:00
jey
5259182d3e
- Changed CLA byte to 0xA0 in miocos_delete_file()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@483 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-06 15:04:14 +00:00
jey
6e0b7dea2c
- Divided errors into different groups, added new ones
...
and renamed some
- Moved sc_strerror() to errors.c
- Added a 'sensitive' flag to struct sc_apdu
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@479 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-06 12:02:28 +00:00
aet
f781a14ae4
Fix some typos
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@478 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-06 08:21:40 +00:00
aet
6efa88796f
Add errors.h and types.h
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@477 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-06 08:02:58 +00:00
aet
11c937991b
Change calling convention for sc_module_close()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@474 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 18:10:17 +00:00
jey
0875849c61
- Started to split opensc.h into smaller parts
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@472 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 15:06:33 +00:00
jey
22636c2df9
- Added SC_ERROR_FILE_ALREADY_EXISTS
...
- Changed call convention for reader finish()
- CT-API driver now frees its resources correctly
- Added year 2002 to some of the copyright statements
- sc_pkcs15_decipher() and sc_pkcs15_compute_signature()
now select only the parent DF of the private key file
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@463 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 14:46:44 +00:00
aet
076a26bbac
Rework the header structure
...
Currently fails to compile, unless you symlink
all the necessary headers to src/include/opensc
by yourself.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@459 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 13:48:00 +00:00
aet
d81d10ba90
Upgrade sources to use new headers, part #1
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@458 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 10:44:51 +00:00
aet
97faef3c6f
Obsolete.
...
opensc-emv.h, opensc-pkcs15.h --> emv.h, pkcs15.h
sc-asn1.h, sc-internal.h, sc-log.h --> asn1.h, internal.h, log.h
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@457 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 10:37:29 +00:00
aet
fbf86e6728
Install headers to ${prefix}/include/opensc
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@456 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 10:25:14 +00:00
jey
e172e6678d
- Cleaned up MioCOS driver and added PIN code creation
...
- Added an error message in case ODF parsing fails
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@449 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 20:40:40 +00:00
jey
2b49129311
- DER decoder now treats 0xFF tags the same way as 0x00 tags
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@448 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 20:38:09 +00:00
aet
1ef47d245b
Workaround for a compiler problem (Sun WorkShop 6 update 2 C 5.3 Patch 111679-05 2002/02/07)
...
Still lots of bogus warnings, but at least everything compiles
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@444 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 15:02:08 +00:00
aet
6f197a035d
Fix minor compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@441 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 12:44:57 +00:00
aet
7d055a17a3
Update TODO and Changelog
...
'make dist' fixes
Add missing README for OpenSC-Signer
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@440 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 11:14:07 +00:00
jey
d232bf29dd
- ctapi_release() now calls CT_close(), as it should
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@437 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 09:20:44 +00:00
jey
0fe85e6563
- Added typedefs for the most common structs
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@436 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 09:20:19 +00:00
jey
28fc4bc0cd
- fixed a typo
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@435 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 14:16:19 +00:00
aet
fef2ac364c
Minor warning fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@433 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 12:59:53 +00:00
okir
0683b3463f
- added two new error codes for pkcs15init
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@426 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 11:51:07 +00:00
jey
369889ace5
- fixed a small bug regarding prop_attr in the SetCOS driver
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@425 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 21:26:42 +00:00
okir
4c48335672
- sc_pkcs15_get_objects() now lets you search for generic types
...
(e.g. SC_PKCS15_TYPE_PRKEY) too.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@414 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 12:58:09 +00:00
okir
7a87a5c156
- added SC_AC_SYMBOLIC for pkcs15init support
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@413 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 12:57:17 +00:00
aet
5a824f3fab
Add maintainer-clean patch by Andreas Jellinghaus <aj@dungeon.inka.de>
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@411 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 09:38:06 +00:00
aet
2fbf01e87d
Remove #include "config.h", sc-internal.h already does that
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@409 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-31 16:32:07 +00:00
aet
b308cabd5f
- Upgrade scldap to use scconf_parse_entries();
...
- Fix compiler warnings for ct-api driver, untested.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@407 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-31 15:26:25 +00:00
jey
7ddcb3d692
- sec_attr and prop_attr are now dynamically allocated in
...
struct sc_file
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@404 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-28 14:13:36 +00:00
aet
88530c8dba
- Added sanity check for sc_establish_context.
...
If no readers are found, fail and return
SC_ERROR_NO_READERS_FOUND.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@403 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-28 13:34:51 +00:00
aet
e589a94aac
Add missing @LIBDL@ to libopensc linking
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@402 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-28 13:10:53 +00:00
aet
8f6ffee6a9
- Minor cleanups to build process
...
- Add header check for dlfcn.h
- Add internal functions sc_module_{open,close,get_address}
- Use environ instead __environ for scldap_search, should be
more portable.
- Fix compiler warnings noticed by Tru64 / AIX cc
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@401 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-27 13:13:54 +00:00
aet
19f7f1073a
Rename scconf_init to scconf_new
...
Rename scconf_deinit to scconf_free
Add initial comments to scldap.h
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@398 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-26 20:56:13 +00:00
jey
59d4e9b7be
- Added support for CT-API
...
- Improved config file loading
- Implemented ATR parsing
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@396 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-26 11:38:40 +00:00
aet
b2d2bc77ae
Rename scconf_find_value to scconf_find_list
...
Rename scconf_find_value_first to scconf_get_str
Add functions scconf_get_int and scconf_get_bool
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@395 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-25 22:39:22 +00:00
aet
c69d1b59df
Always allocate scconf_list for block structure
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@394 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-25 21:23:32 +00:00
aet
aa5ec6bae1
Add sanity checks and more comments
...
Add new parameter for scconf_find_blocks
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@393 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-25 20:10:44 +00:00
jey
c730a4dab7
- fixed some memory leaks in sc_establish_context
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@388 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 22:54:41 +00:00
jey
cd4e3650a4
- Moved functions from sc.c to ctx.c
...
- Card and reader drivers are now configurable
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@387 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 22:47:35 +00:00
aet
7d27225e0c
Oops, scconf_parse was called twice. Fixed.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@382 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 17:09:47 +00:00
aet
21aae9c4d0
- Fix a potential segfault for the new sc_establish_context
...
- Keep the variable names in opensc.conf the same as they
are in code structs.
Always try to parse app default { } first, then upgrade
the settings with the application specific configuration block.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@381 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 16:57:39 +00:00
aet
0cad904c86
Move opensc/src/scldap/etc to opensc/etc
...
SCLDAP_CONFIG -> SCLDAP_CONF_PATH
Upgrade the rest of the programs to use new core API
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@380 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 15:41:33 +00:00
jey
f21926af00
- Started to add configuration file support to
...
libopensc
- Added typedefs for some basic structs (e.g.
struct sc_card --> sc_card_t)
- Added a second argument to sc_establish_context()
to identify the calling application
- Renamed sc_destroy_context() to sc_release_context()
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@378 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 14:12:38 +00:00
jey
ffe0282a93
- fixed a typo in one ATR string
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@377 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 14:06:40 +00:00
aet
6e3a09fa7b
Remove bogus "len = len;" statement from pkcs15-cert
...
Other minor cleanups
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@368 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-21 23:45:03 +00:00
okir
5006b0d151
- added some #include string.h statements for RH 7.2
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@357 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-21 09:36:38 +00:00
okir
8f07d6706d
- now extracting issuer from certificate
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@346 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-20 13:08:09 +00:00
jey
3fa7a056f1
- Fixed a couple of memory leaks
...
- Fixed a bug in decoding EF(TokenInfo)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@344 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-19 10:04:11 +00:00
okir
7d6cf8fa81
- extract certificate issuer and store it in sc_pkcs15_cert
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@338 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 15:19:34 +00:00
jey
a3b521a704
- started adding support for DSA private keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@337 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 12:48:06 +00:00
jey
67ffdfa213
- Added support for big serial numbers in certificates
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@332 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 10:10:33 +00:00
okir
41cd4c4d2c
- implemented sc_pkcs15_free_pubkey
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@330 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 10:01:25 +00:00
okir
7ec8498962
- removed SC_CARDCTL_GET_PK_ALGORITHMS card_ctl
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@329 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 09:43:31 +00:00
okir
ccb6bb1b1c
- implemented decipher() operation
...
- removed SC_CARDCTL_GET_PK_ALGORITHMS card_ctl
- minor signing fixes
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@328 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 09:43:10 +00:00
okir
6ca0cb108c
- moved sc_decipher implementation to iso7816.c
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@326 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 09:42:07 +00:00
aet
3161964a4b
Add missing static for parse_tokeninfo();
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@322 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-14 11:50:48 +00:00
okir
bf5f0f6fe1
- fixed a typo that caused bad auth_id's
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@321 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-14 11:50:09 +00:00
okir
f3b7c99e1a
- if the offset shift is 2 in update binary et al, make sure the
...
application provided offset is a multiple of 4.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@319 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-13 20:25:37 +00:00
okir
ca2f725f05
- make sure SC_APDU_CHOP_SIZE is a multiple of 4 (otherwise, update binary
...
et al of large files will fail on the GPK)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@318 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-13 20:24:31 +00:00
jey
23e956cf9b
- Fixed PKCS #15 structure generation on Cryptoflex cards
...
and implemented a default profile
- Cryptoflex now reports its supported PK algorithms
correctly
- Various pkcs15-init fixes
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@295 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-12 13:00:57 +00:00
okir
cf795aa7b8
- exporting sc_update_dir to applications
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@292 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-11 14:12:46 +00:00
okir
f84f5e5825
- we cache just the DF portion of the currently selected file path,
...
excluding the EF's FID
- when sending the hash to the card (as part of compute_signature),
revert the sequence of hashed bytes
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@291 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-11 12:41:18 +00:00
jey
52dac164ba
*** empty log message ***
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@289 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-11 11:40:30 +00:00