public enum Authentication extends Enum<Authentication>
Enum Constant and Description |
---|
DH
Diffie-Hellman key-based authentication.
|
DSS
DSS key-based authentication.
|
ECDH
Elliptic curve Diffie-Hellman key-based authentication.
|
ECDSA
Elliptic curve DSA key-based authentication.
|
FZA
Fortezza authentication.
|
GOST01
GOST R 34.10-2001 authentication.
|
GOST94
GOST R 34.10-94 authentication.
|
KRB5
Kerberos V5 authentication.
|
NULL
No authentication (the cipher suite is anonymous).
|
PSK
Pre-shared key (PSK) based authentication.
|
RSA
RSA key-based authentication.
|
Modifier and Type | Method and Description |
---|---|
boolean |
in(Authentication... values)
Determine whether this instance is equal to one of the given instances.
|
boolean |
in(Authentication value1,
Authentication value2)
Determine whether this instance is equal to one of the given instances.
|
boolean |
in(Authentication value1,
Authentication value2,
Authentication value3)
Determine whether this instance is equal to one of the given instances.
|
static boolean |
isFull(EnumSet<Authentication> authentications)
Determine whether the given set is "full" (meaning it contains all possible values).
|
static Authentication |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Authentication[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Authentication NULL
public static final Authentication RSA
public static final Authentication DSS
public static final Authentication DH
public static final Authentication ECDH
public static final Authentication KRB5
public static final Authentication ECDSA
public static final Authentication PSK
public static final Authentication GOST94
public static final Authentication GOST01
public static final Authentication FZA
public static Authentication[] values()
for (Authentication c : Authentication.values()) System.out.println(c);
public static Authentication 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 boolean isFull(EnumSet<Authentication> authentications)
authentications
- the settrue
if the set is full, false
otherwisepublic boolean in(Authentication value1, Authentication value2)
value1
- the first instancevalue2
- the second instancetrue
if one of the instances matches this one, false
otherwisepublic boolean in(Authentication value1, Authentication value2, Authentication value3)
value1
- the first instancevalue2
- the second instancevalue3
- the third instancetrue
if one of the instances matches this one, false
otherwisepublic boolean in(Authentication... values)
values
- the values to match againsttrue
if one of the instances matches this one, false
otherwiseCopyright © 2020 JBoss by Red Hat. All rights reserved.