Re: [opensc-devel] pkcs15init: dissociate object ID and file index

2010-01-15 Thread Viktor TARASOV
Hi Andreas, Viktor TARASOV wrote: > Andreas Jellinghaus wrote: > >> Am Freitag 15 Januar 2010 14:48:30 schrieb Viktor TARASOV: >> >> >>> Any objections? >>> >>> >> looks good. >> >> >> >>> for a new pkcs15 object of a given type >>> the file index is chosen as a firs

Re: [opensc-devel] pkcs15init: dissociate object ID and file index

2010-01-15 Thread Viktor TARASOV
Andreas Jellinghaus wrote: > Am Freitag 15 Januar 2010 14:48:30 schrieb Viktor TARASOV: > >> Any objections? >> > > looks good. > > >> for a new pkcs15 object of a given type >> the file index is chosen as a first value in the range from 'file-id' to >> 'max-id', >> excluding the values

Re: [opensc-devel] pkcs15init: dissociate object ID and file index

2010-01-15 Thread Andreas Jellinghaus
Am Freitag 15 Januar 2010 14:48:30 schrieb Viktor TARASOV: > Any objections? looks good. > for a new pkcs15 object of a given type > the file index is chosen as a first value in the range from 'file-id' to > 'max-id', > excluding the values that are already assigned to the file indexes of > the

Re: [opensc-devel] pkcs15init: dissociate object ID and file index

2010-01-15 Thread Viktor TARASOV
Andreas Jellinghaus wrote: > the old mechanism for selecting IDs was maybe too simple, so implementing > a better mechanism would be a good idea. I guess the card driver should > have some control over it, as different cards have different requirements. > > for example: > * with some cards, file i

Re: [opensc-devel] pkcs15init: dissociate object ID and file index

2009-11-13 Thread Viktor TARASOV
Andreas Jellinghaus wrote: > the old mechanism for selecting IDs was maybe too simple, so implementing > a better mechanism would be a good idea. I guess the card driver should > have some control over it, as different cards have different requirements. > Yes!!! That's the point! IMHO, it's the

Re: [opensc-devel] pkcs15init: dissociate object ID and file index

2009-11-12 Thread Andreas Jellinghaus
the old mechanism for selecting IDs was maybe too simple, so implementing a better mechanism would be a good idea. I guess the card driver should have some control over it, as different cards have different requirements. for example: * with some cards, file index must be uniq (e.g. you can't have