[xmlsec] How to get keys

Jürgen Heiss jheiss at Mesonic.com
Mon Feb 6 07:54:41 PST 2006

I tried to create a keypair. I works fine, but how can I write this keypair to a file now? Is there dome function for this.
<short Code>
xmlSecKeyPtr key = xmlSecKeyGenerate(xmlSecKeyDataRsaId, 512, xmlSecKeyDataTypePermanent);
int res = xmlSecKeyIsValid(key);
xmlSecKeyDataPtr keydata = xmlSecKeyGetValue (key);
res = xmlSecKeyDataGenerate( key->value, 512, xmlSecKeyDataTypeTrusted ); 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20060206/f608a0b6/attachment-0002.htm

More information about the xmlsec mailing list