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! > _______________________________________________ xmlsec mailing list [email protected] http://www.aleksey.com/mailman/listinfo/xmlsec
