Package org.wildfly.security.ssl
Enum Class KeyAgreement
- All Implemented Interfaces:
Serializable,Comparable<KeyAgreement>,Constable
The key agreement type for SSL/TLS cipher suite selection.
- Author:
- David M. Lloyd
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDiffie-Hellman key agreement using DSS-signed keys.Ephemeral Diffie-Hellman key agreement.Ephemeral Diffie-Hellman pre-shared key ("PSK") key agreement.Diffie-Hellman key agreement using RSA-signed keys.Elliptic-curve Diffie-Hellman ("ECDH") key agreement using ECDH-signed keys.Ephemeral elliptic-curve Diffie-Hellman key agreement.RSA pre-shared key ("PSK") key agreement.Elliptic-curve Diffie-Hellman ("ECDH") key agreement using RSA-signed keys.Fortezza key agreement.VKA 34.10 key agreement as per RFC 4357.Kerberos V5 key agreement.Pre-shared key ("PSK") key agreement.RSA key agreement.RSA pre-shared key ("PSK") key agreement.Secure remote password ("SRP") key agreement as per RFC 5054. -
Method Summary
Modifier and TypeMethodDescriptionbooleanin(KeyAgreement... values) Determine whether this instance is equal to one of the given instances.booleanin(KeyAgreement value1, KeyAgreement value2) Determine whether this instance is equal to one of the given instances.booleanin(KeyAgreement value1, KeyAgreement value2, KeyAgreement value3) Determine whether this instance is equal to one of the given instances.static booleanisFull(EnumSet<KeyAgreement> keyAgreements) Determine whether the given set is "full" (meaning it contains all possible values).static KeyAgreementReturns the enum constant of this class with the specified name.static KeyAgreement[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ECDHE
Ephemeral elliptic-curve Diffie-Hellman key agreement. -
RSA
RSA key agreement. -
DHr
Diffie-Hellman key agreement using RSA-signed keys. -
DHd
Diffie-Hellman key agreement using DSS-signed keys. -
DHE
Ephemeral Diffie-Hellman key agreement. -
PSK
Pre-shared key ("PSK") key agreement. -
FZA
Fortezza key agreement. -
KRB5
Kerberos V5 key agreement. -
ECDHr
Elliptic-curve Diffie-Hellman ("ECDH") key agreement using RSA-signed keys. -
ECDHe
Elliptic-curve Diffie-Hellman ("ECDH") key agreement using ECDH-signed keys. -
GOST
VKA 34.10 key agreement as per RFC 4357. -
SRP
Secure remote password ("SRP") key agreement as per RFC 5054. -
RSAPSK
RSA pre-shared key ("PSK") key agreement. -
DHEPSK
Ephemeral Diffie-Hellman pre-shared key ("PSK") key agreement. -
ECDHEPSK
RSA pre-shared key ("PSK") key agreement.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isFull
Determine whether the given set is "full" (meaning it contains all possible values).- Parameters:
keyAgreements- the set- Returns:
trueif the set is full,falseotherwise
-
in
Determine whether this instance is equal to one of the given instances.- Parameters:
value1- the first instancevalue2- the second instance- Returns:
trueif one of the instances matches this one,falseotherwise
-
in
Determine whether this instance is equal to one of the given instances.- Parameters:
value1- the first instancevalue2- the second instancevalue3- the third instance- Returns:
trueif one of the instances matches this one,falseotherwise
-
in
Determine whether this instance is equal to one of the given instances.- Parameters:
values- the values to match against- Returns:
trueif one of the instances matches this one,falseotherwise
-