[xmlsec] Verifying HMAC signature

Monica Lau mllau2004 at yahoo.com
Mon Oct 11 18:35:42 PDT 2004


Hi, 
 
How do I verify the HMAC signature?  Is it similar to verify2.c in the examples directory?  In the xmlSecCryptoAppKeyLoad function, it passes in an xmlSecKeyDataFormat (listed below).  However, I don't see an HMAC format...
 
Also, instead of loading the key from a file, is there a file where I can load the key from memory?
 
Thanks for your help,
Monica
 
 
typedef enum {
    xmlSecKeyDataFormatUnknown = 0,
    xmlSecKeyDataFormatBinary,
    xmlSecKeyDataFormatPem,
    xmlSecKeyDataFormatDer,
    xmlSecKeyDataFormatPkcs8Pem,
    xmlSecKeyDataFormatPkcs8Der,
    xmlSecKeyDataFormatPkcs12,
    xmlSecKeyDataFormatCertPem,
    xmlSecKeyDataFormatCertDer
} xmlSecKeyDataFormat;

		
---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20041011/b2eb668d/attachment-0002.htm


More information about the xmlsec mailing list