OpenSC fork, with some Italian healthcare smart card utils
Go to file
Andreas Schwier d4be8ec747 sc_pkcs15_encode_pubkey_as_spki replaces sc_pkcs15_encode_pubkey_with_param.
The name implies what the format of the returned value, a SPKI.

The support for spki as a pkcs15 format of a pubkey, is extended to
work for any algorithm not just EC pubkeys. PKCS#15 appears to allow this.

sc_pkcs15_decode_pubkey_with_param will look for a SPKI
and attempt to use it for any algorithm, including RSA.
(RSA is the null case, as there are no algorithm parameters.)

sc_pkcs15_encode_pubkey_as_spki is exported from libopensc.

pkcs15-piv.c will use sc_pkcs15_encode_pubkey_as_spki to load public keys
as SPKI for RSA and EC.

The pubkey->data is never a SPKI, it is the DER encoding of the
pubkey without the parameters.  If an spki is needed, use the
sc_pkcs15_encode_pubkey_as_spki to get the DER encoding of the spki.

As in the previous set of patches, pkcs15-tool.c will output both
sc_pkcs15_decode_pubkey_with_param and its internal.
This was left for testing, and the pubkey_pem_encode should be deleted
2013-12-06 09:23:57 +01:00
MacOSX Fix typo 2013-11-01 18:00:49 +01:00
doc Add documentation for --list-token-slots, -T 2013-10-20 13:32:45 +02:00
etc By default 'default' card driver is disabled ... 2013-08-02 22:01:51 +02:00
m4 Use AX_PTHREAD instead of ACX_PTHREAD 2012-09-25 23:03:38 +02:00
packaging/debian.templates fix LGPL version 2013-09-29 20:55:41 +02:00
solaris Thomas Uhle: modify Makefile so configure finds the include files 2009-12-03 07:05:15 +00:00
src sc_pkcs15_encode_pubkey_as_spki replaces sc_pkcs15_encode_pubkey_with_param. 2013-12-06 09:23:57 +01:00
win32 Adding support for DNIe. 2013-06-13 17:31:56 +02:00
.gitignore Adding support for DNIe. 2013-06-13 17:31:56 +02:00
COPYING - changed license to LGPL 2001-11-06 18:34:19 +00:00
Makefile.am packaging: debian packaging templates 2013-08-07 10:34:13 +02:00
Makefile.mak build: 'auto-config' parameters 2012-06-08 20:17:36 +02:00
NEWS release 0.13.0 2012-12-04 14:58:10 +01:00
README Update wiki URL 2013-01-06 20:49:14 +01:00
bootstrap build: Illegal char '-' in: 'Version: 0.13.0-pre1' 2012-09-16 22:39:12 +02:00
configure.ac Merge pull request #168 from germanblanco/opendnie 2013-08-27 01:52:55 -07:00

README

OpenSC documentation wiki is available online at
	https://github.com/OpenSC/OpenSC/wiki

Please take a look at the documentation before trying to use OpenSC.