com.groupdocs.signature.config

Class SignatureConfig



  • public class SignatureConfig
    extends Object

    Represents a options for Signature Operations Provides methods to load, save configuration

    • Constructor Detail

      • SignatureConfig

        public SignatureConfig(String configFileName)

        Load Signature Configuration from file

        Parameters:
        configFileName - Configuration file path
      • SignatureConfig

        public SignatureConfig()

        Create Signature Configuration with default settings

      • 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

      • getStoragePath

        public String getStoragePath()

        Get or Set the Signature storage path

      • setStoragePath

        public void setStoragePath(String value)

        Get or Set the Signature storage path

      • getOutputPath

        public String getOutputPath()

        Get or Set the Signature output path

      • setOutputPath

        public void setOutputPath(String value)

        Get or Set the Signature output path

      • getImagesPath

        public String getImagesPath()

        Get or Set the Signature images path

      • setImagesPath

        public void setImagesPath(String value)

        Get or Set the Signature images path

      • getCertificatesPath

        public String getCertificatesPath()

        Get or Set the Signature certificate files path

      • setCertificatesPath

        public void setCertificatesPath(String value)

        Get or Set the Signature certificate files path

      • load

        public boolean load(String configFileName)

        Load Configuration from file

        Parameters:
        configFileName - File with configuration
        Returns:
      • save

        public void save(String configFileName)

        Save Signature Configuration to file

        Parameters:
        configFileName - Configuration file path