Interface ITSTInfo

All Superinterfaces:
IASN1Encodable
All Known Implementing Classes:
TSTInfoBC, TSTInfoBCFips

public interface ITSTInfo extends IASN1Encodable
This interface represents the wrapper for TSTInfo that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
  • Method Summary

    Modifier and Type
    Method
    Description
    Calls actual getGenTime method for the wrapped TSTInfo object and gets date.
    Calls actual getMessageImprint method for the wrapped TSTInfo object.

    Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable

    isNull, toASN1Primitive
  • Method Details

    • getMessageImprint

      IMessageImprint getMessageImprint()
      Calls actual getMessageImprint method for the wrapped TSTInfo object.
      Returns:
      IMessageImprint wrapper for the received MessageImprint object.
    • getGenTime

      Date getGenTime() throws ParseException
      Calls actual getGenTime method for the wrapped TSTInfo object and gets date.
      Returns:
      the received Date object.
      Throws:
      ParseException - when parsing cannot be completed.