public static enum LdapConstants.Encryption extends java.lang.Enum<LdapConstants.Encryption>
Enum Constant and Description |
---|
CLEAR
No encryption.
|
SSL
SSL encryption.
|
Modifier and Type | Method and Description |
---|---|
int |
defaultPort()
Returns the default port for this security method.
|
static LdapConstants.Encryption |
defaultValue()
Returns default value for encryption.
|
java.lang.String |
protocolString()
Returns the protocol string for this security method.
|
static LdapConstants.Encryption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LdapConstants.Encryption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LdapConstants.Encryption CLEAR
public static final LdapConstants.Encryption SSL
public static LdapConstants.Encryption[] values()
for (LdapConstants.Encryption c : LdapConstants.Encryption.values()) System.out.println(c);
public static LdapConstants.Encryption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int defaultPort()
public java.lang.String protocolString()
public static LdapConstants.Encryption defaultValue()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.