Interface ITimeStampToken

  • All Known Implementing Classes:
    TimeStampTokenBC

    public interface ITimeStampToken
    This interface represents the wrapper for TimeStampToken that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
    • Method Detail

      • getTimeStampInfo

        ITimeStampTokenInfo getTimeStampInfo()
        Calls actual getTimeStampInfo method for the wrapped TimeStampToken object.
        Returns:
        ITimeStampTokenInfo the wrapper for the received TimeStampInfo object.
      • getEncoded

        byte[] getEncoded()
                   throws java.io.IOException
        Calls actual getEncoded method for the wrapped TimeStampToken object.
        Returns:
        the default encoding for the wrapped object.
        Throws:
        java.io.IOException - on encoding error.