I have a similar requirement. it worked for me too. Thank you
I have a similar requirement. I am able to sign and verify, but unable to see the signed data object in the .p7 file when I parse it. .p7 file only shows the list of certificates no signed data in it. Do you know how to find this?