[xmlsec] Expanding xmlSecKeyDataFormat enum?

Aleksey Sanin aleksey at aleksey.com
Tue Jan 31 11:29:58 PST 2012


I think the second one with a special function is better.

The xmlSecOpenSSLAppKeyLoad() is specifically designed to load
keys from files.

Aleksey

On 1/31/12 11:14 AM, Dmitry Belyavsky wrote:
> Greetings!
> 
> We need to load private key from hardware token using our engine.
> Analyzing the xmlSecOpenSSLAppKeyLoad function, I think it should be
> better to add to the xmlSecKeyDataFormat enum another option,
> xmlSecKeyDataFormatEngine or provide a similar function
> xmlSecOpenSSLAppKeyLoadEngine accepting the engine name, smth as
> filename and not accepting the xmlSecKeyDataFormat arg at all.
> 
> Which variant is more acceptable for you?
> Thank you!
> 


More information about the xmlsec mailing list