diff options
Diffstat (limited to 'src/net/java/sip/communicator/service/certificate/CertificateConfigEntry.java')
-rw-r--r-- | src/net/java/sip/communicator/service/certificate/CertificateConfigEntry.java | 340 |
1 files changed, 170 insertions, 170 deletions
diff --git a/src/net/java/sip/communicator/service/certificate/CertificateConfigEntry.java b/src/net/java/sip/communicator/service/certificate/CertificateConfigEntry.java index 4cbcd96..ff03b26 100644 --- a/src/net/java/sip/communicator/service/certificate/CertificateConfigEntry.java +++ b/src/net/java/sip/communicator/service/certificate/CertificateConfigEntry.java @@ -1,4 +1,4 @@ -/*
+/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty Ltd @@ -15,172 +15,172 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package net.java.sip.communicator.service.certificate;
-
-/**
- * Data object for client certificate configuration entries.
- *
- * @author Ingo Bauersachs
- */
-public class CertificateConfigEntry
-{
- // ------------------------------------------------------------------------
- // Fields
- // ------------------------------------------------------------------------
- private KeyStoreType keyStoreType;
- private String keyStorePassword;
- private String displayName;
- private String alias;
- private String id;
- private String keyStore;
- private boolean savePassword;
-
- // ------------------------------------------------------------------------
- // Properties
- // ------------------------------------------------------------------------
- /**
- * Sets the key store type.
- *
- * @param keyStoreType the new key store type
- */
- public void setKeyStoreType(KeyStoreType keyStoreType)
- {
- this.keyStoreType = keyStoreType;
- }
-
- /**
- * Gets the key store type.
- *
- * @return the key store type
- */
- public KeyStoreType getKeyStoreType()
- {
- return keyStoreType;
- }
-
- /**
- * Sets the key store password.
- *
- * @param keyStorePassword the new key store password
- */
- public void setKeyStorePassword(String keyStorePassword)
- {
- this.keyStorePassword = keyStorePassword;
- }
-
- /**
- * Gets the key store password.
- *
- * @return the key store password
- */
- public String getKeyStorePassword()
- {
- return keyStorePassword;
- }
-
- /**
- * Sets the display name.
- *
- * @param displayName the new display name
- */
- public void setDisplayName(String displayName)
- {
- this.displayName = displayName;
- }
-
- /**
- * Gets the display name.
- *
- * @return the display name
- */
- public String getDisplayName()
- {
- return displayName;
- }
-
- /**
- * Sets the alias.
- *
- * @param alias the new alias
- */
- public void setAlias(String alias)
- {
- this.alias = alias;
- }
-
- /**
- * Gets the alias.
- *
- * @return the alias
- */
- public String getAlias()
- {
- return alias;
- }
-
- /**
- * Sets the id.
- *
- * @param id the new id
- */
- public void setId(String id)
- {
- this.id = id;
- }
-
- /**
- * Gets the id.
- *
- * @return the id
- */
- public String getId()
- {
- return id;
- }
-
- /**
- * Sets the key store.
- *
- * @param keyStore the new key store
- */
- public void setKeyStore(String keyStore)
- {
- this.keyStore = keyStore;
- }
-
- /**
- * Gets the key store.
- *
- * @return the key store
- */
- public String getKeyStore()
- {
- return keyStore;
- }
-
- /**
- * Sets the save password.
- *
- * @param savePassword the new save password
- */
- public void setSavePassword(boolean savePassword)
- {
- this.savePassword = savePassword;
- }
-
- /**
- * Checks if is save password.
- *
- * @return true, if is save password
- */
- public boolean isSavePassword()
- {
- return savePassword;
- }
-
- @Override
- public String toString()
- {
- return displayName;
- }
-}
+package net.java.sip.communicator.service.certificate; + +/** + * Data object for client certificate configuration entries. + * + * @author Ingo Bauersachs + */ +public class CertificateConfigEntry +{ + // ------------------------------------------------------------------------ + // Fields + // ------------------------------------------------------------------------ + private KeyStoreType keyStoreType; + private String keyStorePassword; + private String displayName; + private String alias; + private String id; + private String keyStore; + private boolean savePassword; + + // ------------------------------------------------------------------------ + // Properties + // ------------------------------------------------------------------------ + /** + * Sets the key store type. + * + * @param keyStoreType the new key store type + */ + public void setKeyStoreType(KeyStoreType keyStoreType) + { + this.keyStoreType = keyStoreType; + } + + /** + * Gets the key store type. + * + * @return the key store type + */ + public KeyStoreType getKeyStoreType() + { + return keyStoreType; + } + + /** + * Sets the key store password. + * + * @param keyStorePassword the new key store password + */ + public void setKeyStorePassword(String keyStorePassword) + { + this.keyStorePassword = keyStorePassword; + } + + /** + * Gets the key store password. + * + * @return the key store password + */ + public String getKeyStorePassword() + { + return keyStorePassword; + } + + /** + * Sets the display name. + * + * @param displayName the new display name + */ + public void setDisplayName(String displayName) + { + this.displayName = displayName; + } + + /** + * Gets the display name. + * + * @return the display name + */ + public String getDisplayName() + { + return displayName; + } + + /** + * Sets the alias. + * + * @param alias the new alias + */ + public void setAlias(String alias) + { + this.alias = alias; + } + + /** + * Gets the alias. + * + * @return the alias + */ + public String getAlias() + { + return alias; + } + + /** + * Sets the id. + * + * @param id the new id + */ + public void setId(String id) + { + this.id = id; + } + + /** + * Gets the id. + * + * @return the id + */ + public String getId() + { + return id; + } + + /** + * Sets the key store. + * + * @param keyStore the new key store + */ + public void setKeyStore(String keyStore) + { + this.keyStore = keyStore; + } + + /** + * Gets the key store. + * + * @return the key store + */ + public String getKeyStore() + { + return keyStore; + } + + /** + * Sets the save password. + * + * @param savePassword the new save password + */ + public void setSavePassword(boolean savePassword) + { + this.savePassword = savePassword; + } + + /** + * Checks if is save password. + * + * @return true, if is save password + */ + public boolean isSavePassword() + { + return savePassword; + } + + @Override + public String toString() + { + return displayName; + } +} |