Class VriDictionaryTimestampIdentifierBuilder

java.lang.Object
eu.europa.esig.dss.pades.validation.dss.VriDictionaryTimestampIdentifierBuilder
All Implemented Interfaces:
Serializable

public class VriDictionaryTimestampIdentifierBuilder extends Object
Builds a unique identifier for a time-stamp encapsulated within a VRI dictionary
See Also:
  • Field Details

    • timestampTokenBinaries

      protected final byte[] timestampTokenBinaries
  • Constructor Details

    • VriDictionaryTimestampIdentifierBuilder

      public VriDictionaryTimestampIdentifierBuilder(byte[] timestampTokenBinaries, String name)
      Default constructor to build an identifier for a time-stamp extracted from a VRI dictionary
      Parameters:
      timestampTokenBinaries - byte array containing DER-encoded time-stamp
      name - String name identifier of the /VRI dictionary
  • Method Details

    • getTimestampPosition

      protected String getTimestampPosition()
    • setFilename

      public eu.europa.esig.dss.spi.x509.tsp.TimestampIdentifierBuilder setFilename(String arg0)
    • build

      public eu.europa.esig.dss.spi.x509.tsp.TimestampTokenIdentifier build()
    • buildBinaries

      protected byte[] buildBinaries()
    • writeTimestampBinaries

      protected void writeTimestampBinaries(ByteArrayOutputStream arg0) throws IOException
      Throws:
      IOException
    • writeTimestampPosition

      protected void writeTimestampPosition(ByteArrayOutputStream arg0) throws IOException
      Throws:
      IOException
    • getUniquePositionId

      protected String getUniquePositionId()