public enum KeyAgreement extends Enum<KeyAgreement>
Enum Constant and Description |
---|
DHd
Diffie-Hellman key agreement using DSS-signed keys.
|
DHE
Ephemeral Diffie-Hellman key agreement.
|
DHEPSK
Ephemeral Diffie-Hellman pre-shared key ("PSK") key agreement.
|
DHr
Diffie-Hellman key agreement using RSA-signed keys.
|
ECDHe
Elliptic-curve Diffie-Hellman ("ECDH") key agreement using ECDH-signed keys.
|
ECDHE
Ephemeral elliptic-curve Diffie-Hellman key agreement.
|
ECDHEPSK
RSA pre-shared key ("PSK") key agreement.
|
ECDHr
Elliptic-curve Diffie-Hellman ("ECDH") key agreement using RSA-signed keys.
|
FZA
Fortezza key agreement.
|
GOST
VKA 34.10 key agreement as per RFC 4357.
|
KRB5
Kerberos V5 key agreement.
|
PSK
Pre-shared key ("PSK") key agreement.
|
RSA
RSA key agreement.
|
RSAPSK
RSA pre-shared key ("PSK") key agreement.
|
SRP
Secure remote password ("SRP") key agreement as per RFC 5054.
|
Modifier and Type | Method and Description |
---|---|
boolean |
in(KeyAgreement... values)
Determine whether this instance is equal to one of the given instances.
|
boolean |
in(KeyAgreement value1,
KeyAgreement value2)
Determine whether this instance is equal to one of the given instances.
|
boolean |
in(KeyAgreement value1,
KeyAgreement value2,
KeyAgreement value3)
Determine whether this instance is equal to one of the given instances.
|
static boolean |
isFull(EnumSet<KeyAgreement> keyAgreements)
Determine whether the given set is "full" (meaning it contains all possible values).
|
static KeyAgreement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyAgreement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyAgreement ECDHE
public static final KeyAgreement RSA
public static final KeyAgreement DHr
public static final KeyAgreement DHd
public static final KeyAgreement DHE
public static final KeyAgreement PSK
public static final KeyAgreement FZA
public static final KeyAgreement KRB5
public static final KeyAgreement ECDHr
public static final KeyAgreement ECDHe
public static final KeyAgreement GOST
public static final KeyAgreement SRP
public static final KeyAgreement RSAPSK
public static final KeyAgreement DHEPSK
public static final KeyAgreement ECDHEPSK
public static KeyAgreement[] values()
for (KeyAgreement c : KeyAgreement.values()) System.out.println(c);
public static KeyAgreement 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<KeyAgreement> keyAgreements)
keyAgreements
- the settrue
if the set is full, false
otherwisepublic boolean in(KeyAgreement value1, KeyAgreement value2)
value1
- the first instancevalue2
- the second instancetrue
if one of the instances matches this one, false
otherwisepublic boolean in(KeyAgreement value1, KeyAgreement value2, KeyAgreement value3)
value1
- the first instancevalue2
- the second instancevalue3
- the third instancetrue
if one of the instances matches this one, false
otherwisepublic boolean in(KeyAgreement... values)
values
- the values to match againsttrue
if one of the instances matches this one, false
otherwiseCopyright © 2017 JBoss by Red Hat. All rights reserved.