com.groupdocs.signature.options.digitalsignature

Class PdfSignDigitalOptions

    • Constructor Detail

      • PdfSignDigitalOptions

        @Deprecated
        public PdfSignDigitalOptions(FileDescription certificateFileDescription)
                              throws Exception
        Deprecated. 

        Initializes a new instance of the PdfSignDigitalOptions class with certificate file.

        Parameters:
        certificateFileDescription - Digital certificate File Description
        Throws:
        Exception
      • PdfSignDigitalOptions

        @Deprecated
        public PdfSignDigitalOptions(FileDescription certificateFileName,
                                        String appearenceImageGuid)
                              throws Exception
        Deprecated. 

        Initializes a new instance of the PdfSignDigitalOptions class with certificate file and image file.

        Parameters:
        certificateFileName - Digital certificate file description
        appearenceImageGuid - Signature Appearance image file GUID
        Throws:
        Exception
      • PdfSignDigitalOptions

        public PdfSignDigitalOptions()
                              throws Exception

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

        Throws:
        Exception
      • PdfSignDigitalOptions

        public PdfSignDigitalOptions(String certificateGuid)
                              throws Exception

        Initializes a new instance of the PdfSignDigitalOptions class with certificate file.

        Parameters:
        certificateGuid - Digital certificate file GUID
        Throws:
        Exception
      • PdfSignDigitalOptions

        public PdfSignDigitalOptions(InputStream certificateStream)
                              throws Exception

        Initializes a new instance of the PdfSignDigitalOptions class with certificate stream.

        Parameters:
        certificateStream - Digital Certificate stream
        Throws:
        Exception
      • PdfSignDigitalOptions

        public PdfSignDigitalOptions(String certificateGuid,
                             String appearenceImageGuid)
                              throws Exception

        Initializes a new instance of the PdfSignDigitalOptions class with certificate file and image file.

        Parameters:
        certificateGuid - Digital certificate file GUID
        appearenceImageGuid - Signature Appearance image file GUID
        Throws:
        Exception
      • PdfSignDigitalOptions

        public PdfSignDigitalOptions(String certificateGuid,
                             InputStream appearenceImageStream)
                              throws Exception

        Initializes a new instance of the PdfSignDigitalOptions class with certificate file and image stream.

        Parameters:
        certificateGuid - Digital certificate file GUID
        appearenceImageStream - Stream of Signature Appearance image
        Throws:
        Exception
      • PdfSignDigitalOptions

        public PdfSignDigitalOptions(InputStream certificateStream,
                             String appearenceImageGuid)
                              throws Exception

        Initializes a new instance of the PdfSignDigitalOptions class with certificate stream and image file.

        Parameters:
        certificateStream - Digital Certificate stream
        appearenceImageGuid - Signature Appearance image file GUID
        Throws:
        Exception
      • PdfSignDigitalOptions

        public PdfSignDigitalOptions(InputStream certificateStream,
                             InputStream appearenceImageStream)
                              throws Exception

        Initializes a new instance of the PdfSignDigitalOptions class with certificate stream and image stream.

        Parameters:
        certificateStream - Digital Certificate stream
        appearenceImageStream - Stream of Signature Appearance image
        Throws:
        Exception
    • Method Detail

      • isCertificate

        @Deprecated
        public boolean isCertificate()
        Deprecated. 

        Indicates if Signature is Certificate or Approval.

      • setCertificate

        @Deprecated
        public void setCertificate(boolean value)
        Deprecated. 

        Indicates if Signature is Certificate or Approval.

      • getReason

        public String getReason()

        Gets or sets the reason of signature.

      • setReason

        public void setReason(String value)

        Gets or sets the reason of signature.

      • getContact

        public String getContact()

        Gets or sets the signature contact.

      • setContact

        public void setContact(String value)

        Gets or sets the signature contact.

      • getLocation

        public String getLocation()

        Gets or sets the signature location.

      • setLocation

        public void setLocation(String value)

        Gets or sets the signature location.

      • getVisible

        public boolean getVisible()

        Gets or sets the visibility of signature.

      • setVisible

        public void setVisible(boolean value)

        Gets or sets the visibility of signature.

      • getPksc1

        public com.aspose.pdf.PKCS1 getPksc1()
                                      throws Exception

        Gets PKCS1 object.

        Throws:
        Exception