[xmlsec] xmlsec-nss patches from Sun( 2003-07-22 )

Aleksey Sanin aleksey@aleksey.com
Thu, 24 Jul 2003 00:44:06 -0700


> If we can avoid "getSlot" except the xmlSec*Generate functions,.... 

PK11_GetBestSlot() is used when we need to put a key into keys slot.
To my knowledge, there are only two cases when it is used:
    1) when we read key from processed XML document (X509 cert,
    encrypted key, etc.)
    2) when we call GenerateKey() function (these functions are used
    by xmlsec command line utility, not by xmlsec library itself)

Aleksey