[xmlsec] xmlSecNssTransformRsaOaepId' undeclared ???

SanZ sanxius at yahoo.it
Sat May 3 10:46:23 PDT 2003


hello,
   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, 
				    xmlSecTransformRsaOaepId, 
			    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.

SZ

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
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html



More information about the xmlsec mailing list