<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial><FONT size=2><SPAN class=419235315-06022006><FONT
color=#0000ff>Hi, </FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=419235315-06022006><FONT
color=#0000ff>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.</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=419235315-06022006> </SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=419235315-06022006><short
Code></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2>xmlSecKeyPtr key =
xmlSecKeyGenerate(xmlSecKeyDataRsaId, 512, xmlSecKeyDataTypePermanent);<BR>int
res = xmlSecKeyIsValid(key);<BR>xmlSecKeyDataPtr keydata = xmlSecKeyGetValue
(key);<BR>res = xmlSecKeyDataGenerate( key->value, 512,
xmlSecKeyDataTypeTrusted ); </FONT></FONT></DIV></BODY></HTML>