[xmlsec] Re: get PKCS11 slot
Aleksey Sanin
aleksey@aleksey.com
Thu, 19 Jun 2003 00:37:22 -0700
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