Hi, I need to use last bouncycastle jars in my project so I provide a little change in your source code, in Class Pcks7parser, you must only update the bc jar and adding the bcpkix, the version is the 150 the last on bouncycastle site. This is the update:
CMSSignedDataParser parser = new CMSSignedDataParser(new JcaDigestCalculatorProviderBuilder().setProvider("BC").build(), new CloseShieldInputStream(stream)); catch (OperatorCreationException e) { throw new TikaException("Unable to parse pkcs7 signed data", e); } I have attached the source. Thanx Emiliano