com.groupdocs.signature.domain.signatures

Class PdfDigitalSignature



  • public class PdfDigitalSignature
    extends DigitalSignature

    Contains Pdf Digital signature properties.

    • Constructor Detail

      • PdfDigitalSignature

        public PdfDigitalSignature()

        Initialize Pdf Digital Signature with no certificate.

      • PdfDigitalSignature

        public PdfDigitalSignature(KeyStore certificate)

        Create Pdf Digital signature with specified certificate.

        Parameters:
        certificate - X509 certificate.
    • Method Detail

      • deepClone

        public Object deepClone()

        Clone Barcode Signature instance.

        Overrides:
        deepClone in class DigitalSignature
        Returns:
        Returns cloned Barcode Signature instance.
      • equals

        public boolean equals(Object signature)

        Overwrites Equals method to compare signature properties

        Overrides:
        equals in class DigitalSignature
        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.
      • getContactInfo

        public final String getContactInfo()

        Information provided by the signer to enable a recipient to contact the signer to verify the signature, e.g. a phone number.

      • getLocation

        public final String getLocation()

        The CPU host name or physical location of the signing.

      • getReason

        public final String getReason()

        The reason for the signing, such as (I agree…).

      • getTimeStamp

        public final TimeStamp getTimeStamp()

        Time stamp for Pdf digital signature. Default value is null.

      • getType

        public final int getType()

        Type of Pdf digital signature.

      • hashCode

        public int hashCode()

        Overrides GetHashCode method

        Overrides:
        hashCode in class DigitalSignature
        Returns:
        Signature hash code
      • setContactInfo

        public final void setContactInfo(String value)

        Information provided by the signer to enable a recipient to contact the signer to verify the signature, e.g. a phone number.

      • setLocation

        public final void setLocation(String value)

        The CPU host name or physical location of the signing.

      • setReason

        public final void setReason(String value)

        The reason for the signing, such as (I agree…).

      • setTimeStamp

        public final void setTimeStamp(TimeStamp value)

        Time stamp for Pdf digital signature. Default value is null.

      • setType

        public final void setType(int value)

        Type of Pdf digital signature.