/**
  * Validate the passed in timestamp token against the tokens and data present in the message.
  *
  * @param calculatorProvider provider for digest calculators
  * @param dataDigest the calculated data digest for the message.
  * @param timeStampToken the timestamp token of interest.
  * @throws ImprintDigestInvalidException if the token is not present in the message, or an imprint
  *     digest fails to compare.
  * @throws CMSException if an exception occurs processing the message.
  */
 public void validate(
     DigestCalculatorProvider calculatorProvider, byte[] dataDigest, TimeStampToken timeStampToken)
     throws ImprintDigestInvalidException, CMSException {
   util.validate(calculatorProvider, dataDigest, timeStampToken);
 }
 /**
  * Validate the digests present in the TimeStampTokens contained in the CMSTimeStampedData.
  *
  * @param calculatorProvider provider for digest calculators
  * @param dataDigest the calculated data digest for the message
  * @throws ImprintDigestInvalidException if an imprint digest fails to compare
  * @throws CMSException if an exception occurs processing the message.
  */
 public void validate(DigestCalculatorProvider calculatorProvider, byte[] dataDigest)
     throws ImprintDigestInvalidException, CMSException {
   util.validate(calculatorProvider, dataDigest);
 }