[xmlsec] Password Callback

Aleksey Sanin aleksey at aleksey.com
Fri Dec 16 12:12:11 PST 2005


I believe in xmlsec you should be able specify callback in the
function call (e.g. read key from file). However, I don't know
if xmlsec-mscrypto or mscrypto itself supports it or not.

Aleksey

Edward Shallow wrote:
> Hi Aleksey,
> 
>    Is there an equivalent password callback that is similar in functionality
> to the xmlsec xmlSecErrorsSetCallback ?
> 
> I am using private keys with passwords loaded by name from the MS Crypto
> Store. At run time the Windows password prompt dialog box pops up. I would
> like to be able to specify/set a password callback which would take a string
> argument and return a password.
> 
> Is this possible with mscrypto ? If not is there another way to do this ? 
> 
> Ed
> 
> 
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec



More information about the xmlsec mailing list