Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.certificate
Class KeyStoreType

java.lang.Object
  extended by net.java.sip.communicator.service.certificate.KeyStoreType

public class KeyStoreType
extends Object

Data object for KeyStore configurations. Primarily used during adding/ editing client certificate configurations.

Author:
Ingo Bauersachs

Constructor Summary
KeyStoreType(String name, String[] fileExtensions, boolean hasKeyStorePassword)
          Creates a new instance of this class.
 
Method Summary
 String[] getFileExtensions()
          Gets the known file name extensions.
 String getName()
          Gets the display name.
 boolean hasKeyStorePassword()
          Flag that indicates if the keystore supports passwords.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyStoreType

public KeyStoreType(String name,
                    String[] fileExtensions,
                    boolean hasKeyStorePassword)
Creates a new instance of this class.

Parameters:
name - the display name of the keystore type.
fileExtensions - known file name extensions (including the dot)
hasKeyStorePassword -
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getName

public String getName()
Gets the display name.

Returns:
the display name.

getFileExtensions

public String[] getFileExtensions()
Gets the known file name extensions.

Returns:
Known file name extensions (including the dot).

hasKeyStorePassword

public boolean hasKeyStorePassword()
Flag that indicates if the keystore supports passwords.

Returns:
true if the keystore supports passwords, false otherwise.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.