Package es.gob.afirma.integraFacade.pojo
Class TimestampRequest
- java.lang.Object
-
- es.gob.afirma.integraFacade.pojo.TimestampRequest
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
RequestTimestamp
public class TimestampRequest extends java.lang.Object implements java.io.SerializableClass 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 Summary
Constructors Constructor Description TimestampRequest()Constructor method for the class TimestampRequest.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetApplicationId()Gets the value of the attributeapplicationId.byte[]getDataToStamp()Gets the value of the attributedataToStamp.DocumentHashgetDocumentHash()Gets the value of the attributedocumentHash.DocumentTypeEnumgetDocumentType()Gets the value of the attributedocumentType.byte[]getTimestampPreviousTimestampToken()Gets the value of the attributetimestampPreviousTimestampToken.byte[]getTimestampTimestampToken()Gets the value of the attributetimestampTimestampToken.TimestampTypeEnumgetTimestampType()Gets the value of the attributetimestampType.TransformDatagetTransformData()Gets the value of the attributetransformData.voidsetApplicationId(java.lang.String applicationIdParam)Sets the value of the attributeapplicationId.voidsetDataToStamp(byte[] dataToStampParam)Sets the value of the attributedataToStamp.voidsetDocumentHash(DocumentHash documentHashParam)Sets the value of the attributedocumentHash.voidsetDocumentType(DocumentTypeEnum documentTypeParam)Sets the value of the attributedocumentType.voidsetTimestampPreviousTimestampToken(byte[] timestampPreviousTimestampTokenParam)Sets the value of the attributetimestampPreviousTimestampToken.voidsetTimestampTimestampToken(byte[] timestampTimestampTokenParam)Sets the value of the attributetimestampTimestampToken.voidsetTimestampType(TimestampTypeEnum timestampTypeParam)Sets the value of the attributetimestampType.voidsetTransformData(TransformData transformDataParam)Sets the value of the attributetransformData.
-
-
-
Method Detail
-
getTimestampType
public final TimestampTypeEnum getTimestampType()
Gets the value of the attributetimestampType.- Returns:
- the value of the attribute
timestampType.
-
setTimestampType
public final void setTimestampType(TimestampTypeEnum timestampTypeParam)
Sets the value of the attributetimestampType.- Parameters:
timestampTypeParam- The value for the attributetimestampType.
-
getDataToStamp
public final byte[] getDataToStamp()
Gets the value of the attributedataToStamp.- Returns:
- the value of the attribute
dataToStamp.
-
setDataToStamp
public final void setDataToStamp(byte[] dataToStampParam)
Sets the value of the attributedataToStamp.- Parameters:
dataToStampParam- The value for the attributedataToStamp.
-
getApplicationId
public final java.lang.String getApplicationId()
Gets the value of the attributeapplicationId.- Returns:
- the value of the attribute
applicationId.
-
setApplicationId
public final void setApplicationId(java.lang.String applicationIdParam)
Sets the value of the attributeapplicationId.- Parameters:
applicationIdParam- The value for the attributeapplicationId.
-
getDocumentHash
public final DocumentHash getDocumentHash()
Gets the value of the attributedocumentHash.- Returns:
- the value of the attribute
documentHash.
-
setDocumentHash
public final void setDocumentHash(DocumentHash documentHashParam)
Sets the value of the attributedocumentHash.- Parameters:
documentHashParam- The value for the attributedocumentHash.
-
getDocumentType
public final DocumentTypeEnum getDocumentType()
Gets the value of the attributedocumentType.- Returns:
- the value of the attribute
documentType.
-
setDocumentType
public final void setDocumentType(DocumentTypeEnum documentTypeParam)
Sets the value of the attributedocumentType.- Parameters:
documentTypeParam- The value for the attributedocumentType.
-
getTransformData
public final TransformData getTransformData()
Gets the value of the attributetransformData.- Returns:
- the value of the attribute
transformData.
-
setTransformData
public final void setTransformData(TransformData transformDataParam)
Sets the value of the attributetransformData.- Parameters:
transformDataParam- The value for the attributetransformData.
-
getTimestampTimestampToken
public final byte[] getTimestampTimestampToken()
Gets the value of the attributetimestampTimestampToken.- Returns:
- the value of the attribute
timestampTimestampToken.
-
setTimestampTimestampToken
public final void setTimestampTimestampToken(byte[] timestampTimestampTokenParam)
Sets the value of the attributetimestampTimestampToken.- Parameters:
timestampTimestampTokenParam- The value for the attributetimestampTimestampToken.
-
getTimestampPreviousTimestampToken
public final byte[] getTimestampPreviousTimestampToken()
Gets the value of the attributetimestampPreviousTimestampToken.- Returns:
- the value of the attribute
timestampPreviousTimestampToken.
-
setTimestampPreviousTimestampToken
public final void setTimestampPreviousTimestampToken(byte[] timestampPreviousTimestampTokenParam)
Sets the value of the attributetimestampPreviousTimestampToken.- Parameters:
timestampPreviousTimestampTokenParam- The value for the attributetimestampPreviousTimestampToken.
-
-