Hello Viktor,

> > Besides the sigh_with_decipher hack there is another problem which
> > arises when on card pkcs15 structure states only one operation per key.
> >   
> It's the subject of the next enhancement.
> I suggest something like
> http://www.opensc-project.org/opensc/browser/branches/vtarasov/opensc-sm.trunk/src/libopensc/pkcs15-prkey.c#L38

This is the definition form PKCS15 v1.1

CommonKeyAttributes ::= SEQUENCE {
     iD                 Identifier,
     usage              KeyUsageFlags,
     native             BOOLEAN DEFAULT TRUE,
     accessFlags KeyAccessFlags OPTIONAL,
     keyReference Reference OPTIONAL,
     startDate          GeneralizedTime OPTIONAL,
     endDate            [0] GeneralizedTime OPTIONAL,
     ... -- For future extensions
     }

Where did you find the following redefinition?

http://www.opensc-project.org/opensc/browser/branches/vtarasov/opensc-sm.trunk/src/libopensc/pkcs15-prkey.c#L56



_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to