Class ImageSignature

  • 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.

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

      • deepClone

        public Object deepClone()

        Clone Barcode Signature instance.

        deepClone in class BaseSignature
        Returns cloned Barcode Signature instance.
      • equals

        public boolean equals(Object signature)

        Overwrites Equals method to compare signature properties

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

        public final byte[] getContent()

        Specifies image binary data content of type Format(getFormat()/setFormat(FileType)). By default this property will not be set. Use property ImageSearchOptions.ReturnContent({ ImageSearchOptions#getReturnContent}/{ ImageSearchOptions#setReturnContent(boolean)}) to enable this feature.

      • getFormat

        public final FileType getFormat()

        Specifies the format of signature image.

      • getSize

        public final int getSize()

        Specifies the size in bytes of signature image.

      • hashCode

        public int hashCode()

        Overrides GetHashCode method

        hashCode in class BaseSignature
        Signature hash code
      • setFormat

        public final void setFormat(FileType value)

        Specifies the format of signature image.

      • setSize

        public final void setSize(int value)

        Specifies the size in bytes of signature image.