Class MetadataSignature


  • public class MetadataSignature
    extends Object
    An element of this type represents the properties of a signature.
    • Constructor Detail

      • MetadataSignature

        public MetadataSignature()
    • Method Detail

      • getContact

        @Nullable
        public @Nullable String getContact()
        The contact information provided by the signer.
        Returns:
        contact
      • setContact

        public void setContact​(String contact)
      • getDate

        @Nullable
        public @Nullable String getDate()
        The date the signature has been created.
        Returns:
        date
      • setDate

        public void setDate​(String date)
      • getFilter

        @Nullable
        public @Nullable String getFilter()
        The name of the preferred signature handler used for validation. (Adobe.PPKLite, EntrustPPKEF etc.)
        Returns:
        filter
      • setFilter

        public void setFilter​(String filter)
      • getLocation

        @Nullable
        public @Nullable String getLocation()
        The location the document has been signed at.
        Returns:
        location
      • setLocation

        public void setLocation​(String location)
      • getName

        @Nullable
        public @Nullable String getName()
        The name of the person or authority signing the document.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getObjectKey

        @Nullable
        public @Nullable String getObjectKey()
        The object ID of the signature. **Info:** A PDF object ID consists of two numbers, where the first number selects the object's number and the second the \"generation\" of the object. The object ID shall always be unique within the context of the document and can be used to select a specific object.
        Returns:
        objectKey
      • setObjectKey

        public void setObjectKey​(String objectKey)
      • getReason

        @Nullable
        public @Nullable String getReason()
        The reason for signing the document.
        Returns:
        reason
      • setReason

        public void setReason​(String reason)
      • getSubFilter

        @Nullable
        public @Nullable String getSubFilter()
        The encoding of the signature value, that shall also be used for validation. (adbe.x509.rsa\\_sha1, adbe.pkcs7.sha1, etc.)
        Returns:
        subFilter
      • setSubFilter

        public void setSubFilter​(String subFilter)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object