community-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emiliano Bossi <emiliano.bo...@gmail.com>
Subject tika-parsers update
Date Mon, 10 Mar 2014 09:49:31 GMT
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

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message