com.groupdocs.signature.domain.signatures

Class QrCodeSignature

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


    public class QrCodeSignature
    extends BaseSignature

    Contains QR-code signature properties.

    • Constructor Detail

      • QrCodeSignature

        public QrCodeSignature()
      • QrCodeSignature

        public QrCodeSignature(String signatureId)

        Initialize QrCodeSignature 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.
    • Method Detail

      • deepClone

        public Object deepClone()

        Clone QR-Code Signature instance.

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Overrides:
        deepClone in class BaseSignature
        Returns:
        Returns cloned QR-code 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.
      • getData

        public final <T> T getData(Class<T> type)

        Obtain object from QR-Code Signature Text over deserialization.

        Returns:

        T: Type of object to deserialize from QR-Code Text

      • getData

        public final <T> T getData(IDataEncryption dataEncryption,
                    Class<T> type)

        Obtain object from QR-Code Signature Text over deserialization.

        Parameters:
        dataEncryption - Set custom data encryption implementation

        T: Type of object to deserialize from QR-Code Text

        Returns:
      • getEncodeType

        public final QrCodeType getEncodeType()

        Specifies the QR-code Encode Type.

      • getFormat

        public final FileType getFormat()

        Specifies the format of QR-code signature image.

      • getText

        public final String getText()

        Specifies text of QR-code.

      • hashCode

        public int hashCode()

        Overrides GetHashCode method

        Overrides:
        hashCode in class BaseSignature
        Returns:
        Signature hash code