Interface ITimeStampTokenInfo

  • All Known Implementing Classes:
    TimeStampTokenInfoBC

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

      • getHashAlgorithm

        IAlgorithmIdentifier getHashAlgorithm()
        Calls actual getHashAlgorithm method for the wrapped TimeStampTokenInfo object.
        Returns:
        IAlgorithmIdentifier the wrapper for the received AlgorithmIdentifier object.
      • toASN1Structure

        ITSTInfo toASN1Structure()
        Calls actual toASN1Structure method for the wrapped TimeStampTokenInfo object.
        Returns:
        ITSTInfo TSTInfo wrapper.
      • getGenTime

        java.util.Date getGenTime()
        Calls actual getGenTime method for the wrapped TimeStampTokenInfo object.
        Returns:
        Date the received genTime.
      • getEncoded

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