- All Implemented Interfaces:
Mechanism
,Serializable
,Comparable<GSSAPIMechanism>
,Constable
The enum
GSSAPIMechanism
can be specified when using GSSAPI. Note that Object Identifiers
(OIDs) are specified instead of names to be consistent with the GSSAPI standard. For more info
see:
https://docs.oracle.com/en/java/javase/11/docs/specs/security/standard-names.html#gssapi-mechanisms-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface io.github.astrapi69.crypt.api.mechanism.Mechanism
UNKNOWN_MECHANISM_NAME
-
Method Summary
Modifier and TypeMethodDescriptionGets the mechanismstatic GSSAPIMechanism
Returns the enum constant of this class with the specified name.static GSSAPIMechanism[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
-
getMechanism
Gets the mechanism- Specified by:
getMechanism
in interfaceMechanism
- Returns:
- the mechanism
-