hmac 256
#768
Replies: 2 comments
-
I don't think there are examples of HMAC signatures, but you can take the example with RSA signatures and simply replace the template and key to HMAC: https://github.com/lsh123/xmlsec/blob/master/examples/sign1.c |
Beta Was this translation helpful? Give feedback.
0 replies
-
Also, you can run tests and the exact xmlsec command line tool commands will be printed in the log file. Then you can follow the logic in the command line tool to recreate the standalone code: https://github.com/lsh123/xmlsec/blob/master/tests/testDSig.sh#L644 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, could you tell me where I can find an example code to get an hmac signature as in \tests\aleksey-xmldsig-01\enveloping-sha256-hmac-sha256.xml
Beta Was this translation helpful? Give feedback.
All reactions