Packages

 

com.groupdocs.signature.legacy.domain.signatures.metadata

Class PdfMetadataSignature

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


    public final class PdfMetadataSignature
    extends MetadataSignature

    Contains Pdf Metadata Signature properties.

    This class is obsolete and will be removed after February 2020

    • Constructor Detail

      • PdfMetadataSignature

        public PdfMetadataSignature(String name)

        Creates Pdf Metadata Signature with predefined name and empty value

        Parameters:
        name - Pdf Metadata Signature name
      • PdfMetadataSignature

        public PdfMetadataSignature(String name,
                            Object value)

        Creates Pdf Metadata Signature with predefined values

        Parameters:
        name - Name of Metadata signature object
        value - Value of Metadata signature
      • PdfMetadataSignature

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

        Creates Pdf Metadata Signature with predefined values

        Parameters:
        name - Name of Metadata signature object
        value - Value of Metadata signature
        tag - Prefix tag of Metadata signature
    • Method Detail

      • deepClone

        public Object deepClone()

        Clone Metadata Signature instance.

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Overrides:
        deepClone in class MetadataSignature
        Returns:
        Returns cloned Metadata Signature instance
      • deepClone

        public MetadataSignature deepClone(Object value)

        Clone Pdf Metadata Signature instance with given value.

        Overrides:
        deepClone in class MetadataSignature
        Parameters:
        value - Value for new cloned object.
        Returns:
        Returns cloned Metadata Signature instance.
      • getData

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

        Obtain object from Metadata Signature Value over deserialization.

        Returns:
        Instance of T object

        T: Type of object to deserialize from Metadata value

      • getData

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

        Obtain object from Metadata Signature Text over deserialization.

        Parameters:
        dataEncryption - Set custom data encryption implementation

        T: Type of object to deserialize from Metadata Value

        Returns:
      • getDataEncryption

        public final IDataEncryption getDataEncryption()

        Gets or sets implementation of IDataEncryption interface to encode and decode signature Value properties.

      • getTagPrefix

        public final String getTagPrefix()

        The prefix tag of Pdf Metadata Siganture name. By default this property is set to "xmp". Possible values are

      • setDataEncryption

        public final void setDataEncryption(IDataEncryption value)

        Gets or sets implementation of IDataEncryption interface to encode and decode signature Value properties.

      • setTagPrefix

        public final void setTagPrefix(String value)

        The prefix tag of Pdf Metadata Siganture name. By default this property is set to "xmp". Possible values are