[xmlsec] (no subject)

SanZ sanxius at yahoo.it
Sat May 3 10:44:34 PDT 2003

   i tried to compile the encrypt3.c example in the aleksey website,
but it tells me that 

encrypt3.c: In function `encrypt_file':
encrypt3.c:232: `xmlSecNssTransformRsaOaepId' undeclared (first use in this function)
encrypt3.c:232: (Each undeclared identifier is reported only once
encrypt3.c:232: for each function it appears in.)

the error is 
"/* add <enc:EncryptedKey/> to store the encrypted session key */
    encKeyNode = xmlSecTmplKeyInfoAddEncryptedKey(keyInfoNode, 
			    NULL, NULL, NULL);

i looked in XML Security Library for NSS API Reference and i found that is a 
xmlNodePtr  xmlSecTmplKeyInfoAddEncryptedKey
                                            (xmlNodePtr keyInfoNode,
                                             xmlSecTransformId encMethodId,
                                             const xmlChar *id,
                                             const xmlChar *type,
                                             const xmlChar *recipient);

isn't it already declared???
that make me quizzed :P

thanks for anyone that can explain this.


p.s. i'm doing a thesis about this so i'm not good as a programmer...i'm tryng to do my best to
understand what happens.

Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino

More information about the xmlsec mailing list