Packages

 

com.groupdocs.signature.options.sign

Class DigitalSignOptions

    • Constructor Detail

      • DigitalSignOptions

        public DigitalSignOptions()

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

      • DigitalSignOptions

        public DigitalSignOptions(InputStream certificateStream)

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

        Parameters:
        certificateStream - Digital Certificate stream
      • DigitalSignOptions

        public DigitalSignOptions(InputStream certificateStream,
                          InputStream appearenceImageStream)

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

        Parameters:
        certificateStream - Digital Certificate stream
        appearenceImageStream - Signature Appearance image stream
      • DigitalSignOptions

        public DigitalSignOptions(InputStream certificateStream,
                          String appearenceImageGuid)

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

        Parameters:
        certificateStream - Digital Certificate stream
        appearenceImageGuid - Signature Appearance image file GUID
      • DigitalSignOptions

        public DigitalSignOptions(String certificateGuid)

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

        Parameters:
        certificateGuid - Digital certificate file GUID
      • DigitalSignOptions

        public DigitalSignOptions(String certificateGuid,
                          InputStream appearenceImageStream)

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

        Parameters:
        certificateGuid - Digital certificate file GUID
        appearenceImageStream - Signature Appearance image stream
      • DigitalSignOptions

        public DigitalSignOptions(String certificateGuid,
                          String appearenceImageGuid)

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

        Parameters:
        certificateGuid - Digital certificate file GUID
        appearenceImageGuid - Signature Appearance image file GUID
    • Method Detail

      • getCertificateFilePath

        public final String getCertificateFilePath()

        Gets or sets the digital certificate file GUID. This property is used only if CertificateStream is not specified.

      • getCertificateStream

        public final InputStream getCertificateStream()

        Gets or sets digital certificate stream. If this property is specified it is always used instead CertificateGuid.

      • getContact

        public final String getContact()

        Gets or sets the signature contact.

      • getImageHelper

        protected com.groupdocs.signature.domain.helpers.ImageHelper getImageHelper()
      • getLocation

        public final String getLocation()

        Gets or sets the signature location.

      • getPassword

        public final String getPassword()

        Gets or sets the password of digital certificate.

      • getReason

        public final String getReason()

        Gets or sets the reason of signature.

      • getSignature

        public final DigitalSignature getSignature()

        Gets or sets properties of document digital signature.

      • getSignatureLineId

        public final UUID getSignatureLineId()
      • getVisible

        public final boolean getVisible()

        Gets or sets the visibility of signature.

      • setCertificateFilePath

        public void setCertificateFilePath(String value)

        Gets or sets the digital certificate file GUID. This property is used only if CertificateStream is not specified.

      • setCertificateStream

        public final void setCertificateStream(InputStream value)

        Gets or sets digital certificate stream. If this property is specified it is always used instead CertificateGuid.

      • setContact

        public final void setContact(String value)

        Gets or sets the signature contact.

      • setLocation

        public final void setLocation(String value)

        Gets or sets the signature location.

      • setPassword

        public final void setPassword(String value)

        Gets or sets the password of digital certificate.

      • setReason

        public final void setReason(String value)

        Gets or sets the reason of signature.

      • setSignature

        public final void setSignature(DigitalSignature value)

        Gets or sets properties of document digital signature.

      • setSignatureLineId

        public final void setSignatureLineId(UUID value)
      • setVisible

        public final void setVisible(boolean value)

        Gets or sets the visibility of signature.