diff options
author | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2015-10-08 17:55:01 +0200 |
---|---|---|
committer | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2015-10-08 17:56:11 +0200 |
commit | 86d2a12c001e74a1a549768eeb25ca0d1d389757 (patch) | |
tree | 0fceaa129289548455d049ddc8a3db64e5db7630 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java | |
parent | d9b7f8f0ed2befcd0bbfa80c84c6a89e190ff481 (diff) | |
download | pdf-over-86d2a12c001e74a1a549768eeb25ca0d1d389757.tar.gz pdf-over-86d2a12c001e74a1a549768eeb25ca0d1d389757.tar.bz2 pdf-over-86d2a12c001e74a1a549768eeb25ca0d1d389757.zip |
Add keystore configuration
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java index c7ec2c34..f1817c83 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java @@ -109,6 +109,21 @@ public class ConfigurationContainerImpl implements ConfigurationContainer { /** Holds the default signature position */ protected SignaturePosition defaultSignaturePosition = null; + /** Whether keystore signing is enabled */ + protected Boolean keystoreEnabled = null; + + /** Keystore file */ + protected String keystoreFile = null; + + /** Keystore type */ + protected String keystoreType = null; + + /** Keystore store password */ + protected String keystoreStorePass = null; + + /** Keystore key password */ + protected String keystoreKeyPass = null; + /** Whether to automatically check for updates */ protected boolean updateCheck = true; @@ -474,6 +489,86 @@ public class ConfigurationContainerImpl implements ConfigurationContainer { /* (non-Javadoc) + * @see at.asit.pdfover.gui.workflow.config.ConfigurationContainer#getKeyStoreEnabled() + */ + @Override + public Boolean getKeyStoreEnabled() { + return this.keystoreEnabled; + } + + /* (non-Javadoc) + * @see at.asit.pdfover.gui.workflow.config.ConfigurationContainer#setKeyStoreEnabled(boolean) + */ + @Override + public void setKeyStoreEnabled(Boolean enabled) { + this.keystoreEnabled = enabled; + } + + /* (non-Javadoc) + * @see at.asit.pdfover.gui.workflow.config.ConfigurationContainer#getKeyStoreFile() + */ + @Override + public String getKeyStoreFile() { + return this.keystoreFile; + } + + /* (non-Javadoc) + * @see at.asit.pdfover.gui.workflow.config.ConfigurationContainer#setKeyStoreFile(java.lang.String) + */ + @Override + public void setKeyStoreFile(String file) { + this.keystoreFile = file; + } + + /* (non-Javadoc) + * @see at.asit.pdfover.gui.workflow.config.ConfigurationContainer#getKeyStoreType() + */ + @Override + public String getKeyStoreType() { + return this.keystoreType; + } + + /* (non-Javadoc) + * @see at.asit.pdfover.gui.workflow.config.ConfigurationContainer#setKeyStoreType(java.lang.String) + */ + @Override + public void setKeyStoreType(String type) { + this.keystoreType = type; + } + + /* (non-Javadoc) + * @see at.asit.pdfover.gui.workflow.config.ConfigurationContainer#getKeyStoreStorePass() + */ + @Override + public String getKeyStoreStorePass() { + return this.keystoreStorePass; + } + + /* (non-Javadoc) + * @see at.asit.pdfover.gui.workflow.config.ConfigurationContainer#setKeyStoreStorePass(java.lang.String) + */ + @Override + public void setKeyStoreStorePass(String storePass) { + this.keystoreStorePass = storePass; + } + + /* (non-Javadoc) + * @see at.asit.pdfover.gui.workflow.config.ConfigurationContainer#getKeyStoreKeyPass() + */ + @Override + public String getKeyStoreKeyPass() { + return this.keystoreKeyPass; + } + + /* (non-Javadoc) + * @see at.asit.pdfover.gui.workflow.config.ConfigurationContainer#setKeyStoreKeyPass(java.lang.String) + */ + @Override + public void setKeyStoreKeyPass(String keyPass) { + this.keystoreKeyPass = keyPass; + } + + /* (non-Javadoc) * @see at.asit.pdfover.gui.workflow.config.ConfigurationContainer#getUpdateCheck() */ @Override |