[xmlsec] Re: get PKCS11 slot
Andrew Fan
Andrew.Fan@sun.com
Thu, 19 Jun 2003 16:02:47 +0800
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
>