public enum SaslQop extends Enum<SaslQop>
Sasl.QOP
Enum Constant and Description |
---|
AUTH
A QOP value specifying authentication only.
|
AUTH_CONF
A QOP value specifying authentication plus integrity and confidentiality protection.
|
AUTH_INT
A QOP value specifying authentication plus integrity protection.
|
Modifier and Type | Method and Description |
---|---|
static SaslQop |
fromString(String name)
Get the SASL QOP level for the given string.
|
String |
getString()
Get the string representation of this SASL QOP value.
|
String |
toString()
Get the human-readable string representation of this SASL QOP value.
|
static SaslQop |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaslQop[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaslQop AUTH
public static final SaslQop AUTH_INT
public static final SaslQop AUTH_CONF
public static SaslQop[] values()
for (SaslQop c : SaslQop.values()) System.out.println(c);
public static SaslQop valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SaslQop fromString(String name)
name
- the QOP levelpublic String getString()
Copyright © 2020 JBoss by Red Hat. All rights reserved.