Class TimestampRequest

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    RequestTimestamp

    public class TimestampRequest
    extends java.lang.Object
    implements java.io.Serializable

    Class that represents the request for the server signature service.

    Project:

    Library for the integration with the services of @Firma, eVisor and TS@.

    Date:

    04/03/2016.

    Version:
    1.0, 04/03/2016.
    Author:
    Gobierno de España.
    See Also:
    Serialized Form
    • Constructor Detail

      • TimestampRequest

        public TimestampRequest()
        Constructor method for the class TimestampRequest.java.
    • Method Detail

      • setTimestampType

        public final void setTimestampType​(TimestampTypeEnum timestampTypeParam)
        Sets the value of the attribute timestampType.
        Parameters:
        timestampTypeParam - The value for the attribute timestampType.
      • getDataToStamp

        public final byte[] getDataToStamp()
        Gets the value of the attribute dataToStamp.
        Returns:
        the value of the attribute dataToStamp.
      • setDataToStamp

        public final void setDataToStamp​(byte[] dataToStampParam)
        Sets the value of the attribute dataToStamp.
        Parameters:
        dataToStampParam - The value for the attribute dataToStamp.
      • getApplicationId

        public final java.lang.String getApplicationId()
        Gets the value of the attribute applicationId.
        Returns:
        the value of the attribute applicationId.
      • setApplicationId

        public final void setApplicationId​(java.lang.String applicationIdParam)
        Sets the value of the attribute applicationId.
        Parameters:
        applicationIdParam - The value for the attribute applicationId.
      • setDocumentHash

        public final void setDocumentHash​(DocumentHash documentHashParam)
        Sets the value of the attribute documentHash.
        Parameters:
        documentHashParam - The value for the attribute documentHash.
      • setDocumentType

        public final void setDocumentType​(DocumentTypeEnum documentTypeParam)
        Sets the value of the attribute documentType.
        Parameters:
        documentTypeParam - The value for the attribute documentType.
      • setTransformData

        public final void setTransformData​(TransformData transformDataParam)
        Sets the value of the attribute transformData.
        Parameters:
        transformDataParam - The value for the attribute transformData.
      • setTimestampTimestampToken

        public final void setTimestampTimestampToken​(byte[] timestampTimestampTokenParam)
        Sets the value of the attribute timestampTimestampToken.
        Parameters:
        timestampTimestampTokenParam - The value for the attribute timestampTimestampToken.
      • setTimestampPreviousTimestampToken

        public final void setTimestampPreviousTimestampToken​(byte[] timestampPreviousTimestampTokenParam)
        Sets the value of the attribute timestampPreviousTimestampToken.
        Parameters:
        timestampPreviousTimestampTokenParam - The value for the attribute timestampPreviousTimestampToken.