Class BouncyCastleDigester

java.lang.Object
org.apache.tika.parser.digest.CompositeDigester
org.apache.tika.parser.digestutils.BouncyCastleDigester
All Implemented Interfaces:
DigestingParser.Digester

public class BouncyCastleDigester extends CompositeDigester
Digester that relies on BouncyCastle for MessageDigest implementations.
  • Constructor Details

    • 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 -