Class DocumentHash

  • All Implemented Interfaces:
    java.io.Serializable

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

    Class 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 Detail

      • DocumentHash

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

      • setDigestMethod

        public final void setDigestMethod​(HashAlgorithmEnum digestMethodParam)
        Sets the value of the attribute digestMethod.
        Parameters:
        digestMethodParam - The value for the attribute digestMethod.
      • getDigestValue

        public final byte[] getDigestValue()
        Gets the value of the attribute digestValue.
        Returns:
        the value of the attribute digestValue.
      • setDigestValue

        public final void setDigestValue​(byte[] digestValueParam)
        Sets the value of the attribute digestValue.
        Parameters:
        digestValueParam - The value for the attribute digestValue.
      • setTransform

        public final void setTransform​(TransformData transformParam)
        Sets the value of the attribute transform.
        Parameters:
        transformParam - The value for the attribute transform.