Hi, 
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 );
_______________________________________________
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to