<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Map the existing use of xmlsec on an engine ?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi all,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I'm trying to adapt an existing library (already using xmlsec-openssl) in using a CHIL engine. The actual code calls </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">xmlSecCryptoAppKeyLoad(private_key_file, xmlSecKeyDataFormatPem, NULL, NULL, NULL) </FONT>
<BR><FONT SIZE=2 FACE="Arial">and then </FONT>
<BR><FONT SIZE=2 FACE="Arial">xmlSecDSigCtxSign</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">Which value should I set in the second parameter of xmlSecCryptoAppKeyLoad to identify the correct format of the "key ID" . It's not a PEM, nor a CERT, it's an ID corresponding to the private_key stored in the Ncipher hardware… I feel lost :'(, in the same way the first parameter <private_key_file> describes the valuer of the ID, not a file.</FONT></P>
<BR>
<P><FONT SIZE=2 FACE="Arial">Many thanks in advance</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">--</FONT>
<BR><FONT SIZE=2 FACE="Arial">Cyrille Bénard</FONT>
</P>
</BODY>
</HTML>