Commit Graph

23 Commits

Author SHA1 Message Date
Viktor Tarasov 04fbf6ad08 pkcs15init: externalize and change name of select_intrinsic_id() 2013-12-29 17:33:36 +01:00
viktor.tarasov 39a70345b9 pkcs15init profile: 'private key' as BSO is differenciated from the one as EF
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3920 c6295689-39f2-0310-b995-f0e70906c6a9
2010-01-21 10:07:40 +00:00
viktor.tarasov bb5b8d0493 oberthur: increase sizes of xDF files; source tabified
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3913 c6295689-39f2-0310-b995-f0e70906c6a9
2010-01-15 14:08:54 +00:00
viktor.tarasov a06c8ef67f set default ID style to 'native'
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3821 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-11 20:18:41 +00:00
viktor.tarasov 4dc884574e Intrinsic ID for the cryptographic objects:
with the new pkcs15 profile option 'pkcs15-id-style'
the method to calculate the unique object ID for the cryptographic
objects 'private key', 'public key' and 'certificate x509'
can be choosen from the followings:
- actually existing one byte ID: 0x45 + 'number of existing object of given type';
- 'Mozilla style': SHA1(rsa.modulus) or SHA(dsa.pub);
- 'rfc2459': 'Subject Key Identifier'.




git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3818 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-10 18:51:24 +00:00
sth ddd696482b Forgotten to add in r2773
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2802 c6295689-39f2-0310-b995-f0e70906c6a9
2006-01-03 14:42:30 +00:00
sth df6657ea18 Belongs to the rev. 2769 patch for adding EF(UnusedSpace) support
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2773 c6295689-39f2-0310-b995-f0e70906c6a9
2005-12-18 07:54:18 +00:00
sth d8639b16ce The lastUpdate field is in the EF(TokenInfo), not in the ODF (thx Nils)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2525 c6295689-39f2-0310-b995-f0e70906c6a9
2005-08-29 20:48:00 +00:00
sth bd76165319 Have the option not to update the ODF (the lastUpdate field), this is usefull for cards that don't have an ODF that is un-writable or too small
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2515 c6295689-39f2-0310-b995-f0e70906c6a9
2005-08-24 09:50:48 +00:00
nils cdd240397f remove unused profile entry
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2159 c6295689-39f2-0310-b995-f0e70906c6a9
2005-02-08 19:49:28 +00:00
aj 52c1b2d700 Very basic and untested oberthur driver. Could possibly work,
as only non-essential parts stripped (or at least that was the plan).

Written by Viktor Tarasov of idealx.

All bugs by Andreas Jellinghaus, please don't blame anyone else.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1793 c6295689-39f2-0310-b995-f0e70906c6a9
2004-06-16 20:59:59 +00:00
okir 961e116006 - Support direct encoding of certificates
- Allow more than one profile option (e.g. pkcs15+small+direct-cert)
- While creating the basic pcks15 structure, store profile options
  in a special file on the card (3F002F01). All susequent operations
  (adding PINs etc) will use this information instead of what's
  given on the command line.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1615 c6295689-39f2-0310-b995-f0e70906c6a9
2003-11-19 20:37:02 +00:00
sth 78949a9bcb Make the PIN for the 'onepin' option look like a user PIN instead of an SO PIN
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1582 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-31 07:48:35 +00:00
okir 23c1e81512 - pkcs15 rewrite
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1508 c6295689-39f2-0310-b995-f0e70906c6a9
2003-10-13 16:13:12 +00:00
okir 1287ed1c6d - doubled file size of PrKDF, PuKDF, CDF etc
- provided old profile as pkcs15-small.profile for e.g. GPK4K


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1328 c6295689-39f2-0310-b995-f0e70906c6a9
2003-08-05 09:50:39 +00:00
okir 3bc3b4f6d5 - bump the CDF size, as we now put the subject name in the label
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1134 c6295689-39f2-0310-b995-f0e70906c6a9
2003-05-16 09:34:09 +00:00
okir b86d2e994b - First shot at pkcs15 data objects from Danny De Cock
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@788 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-18 10:17:01 +00:00
okir 954cfb9f8e - first steps toward eToken key download
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@640 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-07 20:29:07 +00:00
okir 6e3a42fba0 - add pin descriptions
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@489 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-08 09:27:48 +00:00
okir b90104b1de - renamed PKCS15-DIR to DIR per juha's request
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@432 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 12:53:14 +00:00
okir 803124d55d - moved gpk specific MF ACL to the gpk profile, where it belongs
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@431 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 12:46:26 +00:00
okir ae8e3908c4 - rewrote config files to match new parser
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@428 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 11:55:21 +00:00
okir b6bf368fd2 - rewrite of the pkcs15-init stuff
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@415 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 13:26:42 +00:00