[xmlsec] Re: get PKCS11 slot

Andrew Fan Andrew.Fan at sun.com
Thu Jun 19 00:05:55 PDT 2003


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
>





More information about the xmlsec mailing list