I am using the Bouncy Castle to generate the CMSSignedData. However, the resulting signature is always different after running the generation process with exact
CMSSignedData