Packages

 

com.groupdocs.signature.domain.signatures

Class QrCodeSignature



  • public class QrCodeSignature
    extends BaseSignature

    Contains QR-code signature properties.

    • Constructor Detail

      • QrCodeSignature

        public QrCodeSignature()

        Initialize QRCodeSignature with default parameters.

      • QrCodeSignature

        public QrCodeSignature(QrCodeType encodeType,
                       String text)

        Initialize QRCodeSignature with specified Encode Type.

        Parameters:
        encodeType - Encode type of QR-code.
        text - QR-code text property.
      • QrCodeSignature

        public QrCodeSignature(String text)

        Initialize BarcodeSignature with barcode text.

        Parameters:
        text - Barcode text property.
    • Method Detail

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

      • getText

        public final String getText()

        Specifies text of QR-code.

      • setEncodeType

        public final void setEncodeType(QrCodeType value)

        Specifies the QR-code Encode Type.

      • setText

        public final void setText(String value)

        Specifies text of QR-code.