[xmlsec] Re: get PKCS11 slot

Andrew Fan Andrew.Fan at sun.com
Thu Jun 19 01:02:47 PDT 2003

If I also want to create every internal key from a particular slot when 
I specify a slot, instead of create the key first, what can I do?

Aleksey Sanin wrote:

> If you have key on the slot then you'll have pointer to key
> in the xmlSecKeyData structure. Thus you'll be able to
> retrieve it from xmlSecTransform.
> IMHO, this makes much better sense than global callbacks
> because there might be two, three or more different slots.
> Writing callback quickly became a tricky task. This approach
> makes it very easy for user: create key on the slot and don't
> worry about everything else.
> Aleksey

More information about the xmlsec mailing list