I have a pkcs7 SignedData(see my attachment), I want to validated it by Bouncy Castle. But at first, the data can't parsed by new CmsSignedData(byte[] sigBlock) or new CmsSignedDataParser(byte[] sigBlock):
byte[] sigBlock = File.ReadAllBytes("SignedData.bin.txt");
var signedData = new CmsSignedData(sigBlock);
//or var signedDataParser = new CmsSignedDataParser(sigBlock);
By the way, there was a similar issue in bc-java, but it had been fixed.
Or, is there any other way to validate this real PKCS7 message?
SignedData.bin.txt
I have a pkcs7 SignedData(see my attachment), I want to validated it by Bouncy Castle. But at first, the data can't parsed by
new CmsSignedData(byte[] sigBlock)ornew CmsSignedDataParser(byte[] sigBlock):By the way, there was a similar issue in bc-java, but it had been fixed.
Or, is there any other way to validate this real PKCS7 message?
SignedData.bin.txt