Packages

 

com.groupdocs.signature.config

Class SignatureConfig



  • public class SignatureConfig
    extends Object

    Represents configuration settings for document processing operations. Provides methods for loading and saving configuration file.

    • Constructor Detail

      • SignatureConfig

        public SignatureConfig()

        Creates signature configuration with default settings.

      • SignatureConfig

        public SignatureConfig(String configFileName)

        Creates signature configuration with settings from file.

        Parameters:
        configFileName - Configuration file path.
      • SignatureConfig

        public SignatureConfig(String storagePath,
                       String outputPath,
                       String imagesPath,
                       String certificatesPath)

        Creates Signature Configuration with specified paths.

        Parameters:
        storagePath - Storage path for source files.
        outputPath - Output path for signed documents.
        imagesPath - Images path.
        certificatesPath - Path with digital certificates and keys.
    • Method Detail

      • getCertificatesPath

        public String getCertificatesPath()

        Gets or sets the signature certificates path. Default storage of certificate files when provided location is relative or single file name.

      • getImagesPath

        public String getImagesPath()

        Gets or sets the signature images path. Default storage of image documents when provided image location is relative or single file name.

      • getOutputPath

        public String getOutputPath()

        Gets or sets the Documents output path. Processed Documents will be stored to this location by default.

      • getStoragePath

        public String getStoragePath()

        Gets or sets the signature storage path. This option is used as default document storage when provided document path is relative or single file name.

      • load

        public boolean load(String configFileName)

        Load signature configuration from file.

        Parameters:
        configFileName - Configuration file path.
        Returns:
      • save

        public void save(String configFileName)

        Save signature configuration to file.

        Parameters:
        configFileName - Configuration file path.
      • setCertificatesPath

        public void setCertificatesPath(String value)

        Gets or sets the signature certificates path. Default storage of certificate files when provided location is relative or single file name.

      • setImagesPath

        public void setImagesPath(String value)

        Gets or sets the signature images path. Default storage of image documents when provided image location is relative or single file name.

      • setOutputPath

        public void setOutputPath(String value)

        Gets or sets the Documents output path. Processed Documents will be stored to this location by default.

      • setStoragePath

        public void setStoragePath(String value)

        Gets or sets the signature storage path. This option is used as default document storage when provided document path is relative or single file name.