Package es.gob.afirma.integraFacade.pojo
Class DocumentHash
- java.lang.Object
-
- es.gob.afirma.integraFacade.pojo.DocumentHash
-
- All Implemented Interfaces:
java.io.Serializable
public class DocumentHash extends java.lang.Object implements java.io.SerializableClass that contains the summary or hash of the original data for verification with respect to the data included in the signature.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 21/11/2014.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentHash()Constructor method for the class DocumentHash.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HashAlgorithmEnumgetDigestMethod()Gets the value of the attributedigestMethod.byte[]getDigestValue()Gets the value of the attributedigestValue.TransformDatagetTransform()Gets the value of the attributetransform.voidsetDigestMethod(HashAlgorithmEnum digestMethodParam)Sets the value of the attributedigestMethod.voidsetDigestValue(byte[] digestValueParam)Sets the value of the attributedigestValue.voidsetTransform(TransformData transformParam)Sets the value of the attributetransform.
-
-
-
Method Detail
-
getDigestMethod
public final HashAlgorithmEnum getDigestMethod()
Gets the value of the attributedigestMethod.- Returns:
- the value of the attribute
digestMethod.
-
setDigestMethod
public final void setDigestMethod(HashAlgorithmEnum digestMethodParam)
Sets the value of the attributedigestMethod.- Parameters:
digestMethodParam- The value for the attributedigestMethod.
-
getDigestValue
public final byte[] getDigestValue()
Gets the value of the attributedigestValue.- Returns:
- the value of the attribute
digestValue.
-
setDigestValue
public final void setDigestValue(byte[] digestValueParam)
Sets the value of the attributedigestValue.- Parameters:
digestValueParam- The value for the attributedigestValue.
-
getTransform
public final TransformData getTransform()
Gets the value of the attributetransform.- Returns:
- the value of the attribute
transform.
-
setTransform
public final void setTransform(TransformData transformParam)
Sets the value of the attributetransform.- Parameters:
transformParam- The value for the attributetransform.
-
-