public static enum DigestChallenge.QualityOfProtection extends java.lang.Enum<DigestChallenge.QualityOfProtection>
| Enum Constant and Description |
|---|
AUTH
Indicates authentication (
auth) quality of protection. |
AUTH_INT
Indicates authentication with integrity protection (
auth-int) quality of protection. |
UNSPECIFIED_RFC2069_COMPATIBLE
A nameless quality of protection compatible with RFC 2069.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getQopValue()
Returns the "qop-value" of the quality of protection, that is, the short name that appears
in digest messages, such as "auth" or "auth-int".
|
static DigestChallenge.QualityOfProtection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DigestChallenge.QualityOfProtection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DigestChallenge.QualityOfProtection AUTH
auth) quality of protection.public static final DigestChallenge.QualityOfProtection AUTH_INT
auth-int) quality of protection.public static final DigestChallenge.QualityOfProtection UNSPECIFIED_RFC2069_COMPATIBLE
public static DigestChallenge.QualityOfProtection[] values()
for (DigestChallenge.QualityOfProtection c : DigestChallenge.QualityOfProtection.values()) System.out.println(c);
public static DigestChallenge.QualityOfProtection 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 java.lang.String getQopValue()