[xmlsec] Re: get PKCS11 slot
Andrew Fan
Andrew.Fan@sun.com
Thu, 19 Jun 2003 15:05:55 +0800
Aleksey Sanin wrote:
>
>>
>> I think, in PKCS11 environment, if the keys are not created
>> internally in xmlSec, the problem will arise.
>
>
>
> So how about my previous sugegstion: transform (AES encryption,
> for example) gets slot from a key. If it is not available, then it calls
> "GetBestSlot".
I also thought about that the way is OK, but I failed to find a
effective way to set the slot into a _xmlSecNssEvpBlockCipherCtx or
KeyDataCtx.So I think of the urgly global variables.
I think Tej's suggestion is considerable.
>
>
> Aleksey
>