Re: How pkcs#11 modules read the CONFIG_STRING from modutil -string command

2010-06-18 Thread Klaus Heinrich Kiwi
On Thu, 17 Jun 2010 16:37:22 -0700 Robert Relyea wrote: > >> > >> I though C_Initialize, OpenSession or even InitToken at first, > >> but looking at the spec I couldn't immediately identify where I > >> could pass arbitrary data to configure the token. > >> > > See the explanation at > > htt

Re: How pkcs#11 modules read the CONFIG_STRING from modutil -string command

2010-06-17 Thread Robert Relyea
On 06/17/2010 04:18 PM, Nelson B Bolyard wrote: > On 2010-06-17 13:45 PDT, Klaus Heinrich Kiwi wrote: > >> If I'm coding a PKCS#11 module, how exactly the "-string" parameter >> from modutil gets passed down to the library? >> >> i.e., >> $ modutil -add mylib -libfile /lib/mylib.so -string "my c

Re: How pkcs#11 modules read the CONFIG_STRING from modutil -string command

2010-06-17 Thread Nelson B Bolyard
On 2010-06-17 13:45 PDT, Klaus Heinrich Kiwi wrote: > If I'm coding a PKCS#11 module, how exactly the "-string" parameter > from modutil gets passed down to the library? > > i.e., > $ modutil -add mylib -libfile /lib/mylib.so -string "my conf string" > > I though C_Initialize, OpenSession or even

How pkcs#11 modules read the CONFIG_STRING from modutil -string command

2010-06-17 Thread Klaus Heinrich Kiwi
If I'm coding a PKCS#11 module, how exactly the "-string" parameter from modutil gets passed down to the library? i.e., $ modutil -add mylib -libfile /lib/mylib.so -string "my conf string" I though C_Initialize, OpenSession or even InitToken at first, but looking at the spec I couldn't immediate