Package com.ongres.scram.common
Enum Gs2CbindFlag
- All Implemented Interfaces:
Serializable,Comparable<Gs2CbindFlag>
Possible values of a GS2 Cbind Flag (channel binding; part of GS2 header). These values are sent
by the client, and so are interpreted from this perspective.
- See Also:
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionClient requires channel binding.Client doesn't support channel binding.Client does support channel binding but thinks the server does not. -
Method Summary
Modifier and TypeMethodDescriptionchargetChar()static Gs2CbindFlagReturns the enum constant of this type with the specified name.static Gs2CbindFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CLIENT_NOT
Client doesn't support channel binding. -
CLIENT_YES_SERVER_NOT
Client does support channel binding but thinks the server does not. -
CHANNEL_BINDING_REQUIRED
Client requires channel binding. The selected channel binding follows "p=".
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getChar
public char getChar()
-