com.groupdocs.signature.domain.signatures

Class ImageSignature

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable


    public class ImageSignature
    extends BaseSignature

    Contains Image signature properties.

    • Constructor Detail

      • ImageSignature

        public ImageSignature()

        Initialize ImageSignature with default parameters.

      • ImageSignature

        public ImageSignature(String signatureId)

        Initialize ImageSignature object with signature identifier that was obtained after search process. This unique identifier is used to find additional properties for this signature from document signature information layer.

        Parameters:
        signatureId - Unique signature identifier obtained by Sign or Search method of Signature class Signature.
    • Method Detail

      • deepClone

        public Object deepClone()

        Clone Barcode Signature instance.

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Overrides:
        deepClone in class BaseSignature
        Returns:
        Returns cloned Barcode Signature instance.
      • equals

        public boolean equals(Object signature)

        Overwrites Equals method to compare signature properties

        Overrides:
        equals in class BaseSignature
        Parameters:
        signature - Signature object to compare with.
        Returns:
        Returns true if passed signature object has same type and all its properties are equal to this instance properties.
      • getSize

        public final int getSize()

        Specifies the size in bytes of signature image.

      • hashCode

        public int hashCode()

        Overrides GetHashCode method

        Overrides:
        hashCode in class BaseSignature
        Returns:
        Signature hash code
      • setSize

        public final void setSize(int value)

        Specifies the size in bytes of signature image.