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 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
http://mxr.mozilla.org/security/source/security/nss/lib/util/pkcs11t.h#1208
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to