Open nickdurante opened 3 years ago
Hi @pvendil, In the Etsi102941Demo, I believe this function has a typo:
https://github.com/pvendil/c2c-common/blob/987d78f451ebf5e81a6e807482967845d78cf9b8/src/test/java/org/certificateservices/custom/c2x/demo/EtsiTs102941Demo.java#L523-L541
Line:
https://github.com/pvendil/c2c-common/blob/987d78f451ebf5e81a6e807482967845d78cf9b8/src/test/java/org/certificateservices/custom/c2x/demo/EtsiTs102941Demo.java#L538
Should be:
hMac.doFinal(macData,0);
As the content of the HMAC should be saved in the correct byte array.
Hi @pvendil, In the Etsi102941Demo, I believe this function has a typo:
https://github.com/pvendil/c2c-common/blob/987d78f451ebf5e81a6e807482967845d78cf9b8/src/test/java/org/certificateservices/custom/c2x/demo/EtsiTs102941Demo.java#L523-L541
Line:
https://github.com/pvendil/c2c-common/blob/987d78f451ebf5e81a6e807482967845d78cf9b8/src/test/java/org/certificateservices/custom/c2x/demo/EtsiTs102941Demo.java#L538
Should be:
As the content of the HMAC should be saved in the correct byte array.