Class BouncyCastleDigester

  • All Implemented Interfaces:
    org.apache.tika.parser.DigestingParser.Digester

    public class BouncyCastleDigester
    extends org.apache.tika.parser.digest.CompositeDigester
    Digester that relies on BouncyCastle for MessageDigest implementations.
    • Constructor Detail

      • BouncyCastleDigester

        public BouncyCastleDigester​(int markLimit,
                                    String algorithmString)
        Include a string representing the comma-separated algorithms to run: e.g. "md5,sha1". If you want base 32 encoding instead of hexadecimal, add ":32" to the algorithm, e.g. "md5,sha1:32"

        Will throw an IllegalArgumentException if an algorithm isn't supported

        Parameters:
        markLimit -
        algorithmString -