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



_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to