Packages

 

com.groupdocs.signature.options.sign

Class MetadataSignOptions



  • public class MetadataSignOptions
    extends SignOptions

    Represents Metadata signature options.

    • Constructor Detail

      • MetadataSignOptions

        public MetadataSignOptions()

        Initializes a new instance of the SignMetadataOptions class with default values.

      • MetadataSignOptions

        public MetadataSignOptions(ArrayList<MetadataSignature> signatures)

        Initializes a new instance of the SignMetadataOptions class with Metadata.

        Parameters:
        signatures - Collection of Metadata Signatures MetadataSignature.
    • Method Detail

      • addImageSignature

        public final ImageMetadataSignature addImageSignature(int id,
                                               Object value)

        Creates new ImageMetadataSignature with passed arguments and adds it to collection.

        Parameters:
        id - Unique identifier Image Metadata Signature name. See references for Exif tags specifications for possible id values
        value - Metadata value
        Returns:
        Newly created signature that was added to MetadataSignatures collection
      • addPdfSignature

        public final PdfMetadataSignature addPdfSignature(String name,
                                           Object value,
                                           String tag)

        Creates new PdfMetadataSignature with passed arguments and adds it to collection.

        Parameters:
        name - Name of Metadata signature object
        value - Value of Metadata signature
        tag - Prefix tag of Metadata signature
        Returns:
        Newly created signature that was added to MetadataSignatures collection
      • getDataEncryption

        public final IDataEncryption getDataEncryption()

        Gets or sets implementation of IDataEncryption interface to encode and decode QR-Code Signature Text or Data properties.

      • setDataEncryption

        public final void setDataEncryption(IDataEncryption value)

        Gets or sets implementation of IDataEncryption interface to encode and decode QR-Code Signature Text or Data properties.