Packages

 

com.groupdocs.signature.options.digitalsignature

Class SignDigitalOptions

    • Constructor Detail

      • SignDigitalOptions

        public SignDigitalOptions()

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

      • SignDigitalOptions

        public SignDigitalOptions(InputStream certificateStream)

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

        Parameters:
        certificateStream - Digital Certificate stream
      • SignDigitalOptions

        public SignDigitalOptions(InputStream certificateStream,
                          InputStream appearenceImageStream)

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

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

        public SignDigitalOptions(InputStream certificateStream,
                          String appearenceImageGuid)

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

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

        public SignDigitalOptions(String certificateGuid)

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

        Parameters:
        certificateGuid - Digital certificate file GUID
      • SignDigitalOptions

        public SignDigitalOptions(String certificateGuid,
                          InputStream appearenceImageStream)

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

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

        public SignDigitalOptions(String certificateGuid,
                          String appearenceImageGuid)

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

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

      • getCertificateGuid

        public String getCertificateGuid()

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

      • getCertificateStream

        public InputStream getCertificateStream()

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

      • getPassword

        public String getPassword()

        Gets or sets the password of digital certificate.

      • getSignature

        public DigitalSignature getSignature()

        Gets or sets properties of document digital signature.

      • setCertificateGuid

        public void setCertificateGuid(String value)

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

      • setCertificateStream

        public void setCertificateStream(InputStream value)

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

      • setPassword

        public void setPassword(String value)

        Gets or sets the password of digital certificate.

      • setSignature

        public void setSignature(DigitalSignature value)

        Gets or sets properties of document digital signature.