Top Description Fields Constructors Methods
com.ongres.scram.common.gssapi

public final Enum Gs2CbindFlag

extends Enum<Gs2CbindFlag>
implements CharAttribute
Class Inheritance
All Implemented Interfaces
com.ongres.scram.common.util.CharAttribute
Imports
com.ongres.scram.common.util.CharAttribute

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
[RFC5802] Formal Syntax

Field Summary

Modifier and TypeField and Description
public static final Gs2CbindFlag
CHANNEL_BINDING_REQUIRED

Client requires channel binding.

public static final Gs2CbindFlag
CLIENT_NOT

Client doesn't support channel binding.

public static final Gs2CbindFlag
CLIENT_YES_SERVER_NOT

Client does support channel binding but thinks the server does not.

private final char

Constructor Summary

AccessConstructor and Description
private
Gs2CbindFlag(char flag)

Method Summary

Modifier and TypeMethod and Description
public static Gs2CbindFlag
byChar(char c)

public char
getChar()

Implements com.ongres.scram.common.util.CharAttribute.getChar.

Return the char used to represent this attribute
public static Gs2CbindFlag
public static Gs2CbindFlag[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CHANNEL_BINDING_REQUIREDback to summary
public static final Gs2CbindFlag CHANNEL_BINDING_REQUIRED

Client requires channel binding. The selected channel binding follows "p=".

CLIENT_NOTback to summary
public static final Gs2CbindFlag CLIENT_NOT

Client doesn't support channel binding.

CLIENT_YES_SERVER_NOTback to summary
public static final Gs2CbindFlag CLIENT_YES_SERVER_NOT

Client does support channel binding but thinks the server does not.

flagback to summary
private final char flag

Constructor Detail

Gs2CbindFlagback to summary
private Gs2CbindFlag(char flag)

Method Detail

byCharback to summary
public static Gs2CbindFlag byChar(char c)
getCharback to summary
public char getChar()

Implements com.ongres.scram.common.util.CharAttribute.getChar.

Doc from com.ongres.scram.common.util.CharAttribute.getChar.

Return the char used to represent this attribute

Returns:char

The character of the attribute

Annotations
@Override
valueOfback to summary
public static Gs2CbindFlag valueOf(String name)
valuesback to summary
public static Gs2CbindFlag[] values()