Enum Class BrainpoolCurveAlgorithm
java.lang.Object
java.lang.Enum<BrainpoolCurveAlgorithm>
io.github.astrapi69.crypt.api.algorithm.BrainpoolCurveAlgorithm
- All Implemented Interfaces:
Algorithm
,Serializable
,Comparable<BrainpoolCurveAlgorithm>
,Constable
The enum
BrainpoolCurveAlgorithm
represents the Brainpool elliptic curve algorithms. It
is part of the Brainpool family of curves which were defined by the Brainpool working group (ECC
Brainpool). These curves are designed for use in public key cryptography.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Brainpool P-160 R1 algorithm.The Brainpool P-160 T1 algorithm.The Brainpool P-192 R1 algorithm.The Brainpool P-192 T1 algorithm.The Brainpool P-224 R1 algorithm.The Brainpool P-224 T1 algorithm.The Brainpool P-256 R1 algorithm.The Brainpool P-256 T1 algorithm.The Brainpool P-320 R1 algorithm.The Brainpool P-320 T1 algorithm.The Brainpool P-384 R1 algorithm.The Brainpool P-384 T1 algorithm.The Brainpool P-512 R1 algorithm.The Brainpool P-512 T1 algorithm. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The string constant brainpoolP160r1_VALUE.static final String
The string constant brainpoolP160t1_VALUE.static final String
The string constant brainpoolP192r1_VALUE.static final String
The string constant brainpoolP192t1_VALUE.static final String
The string constant brainpoolP224r1_VALUE.static final String
The string constant brainpoolP224t1_VALUE.static final String
The string constant brainpoolP256r1_VALUE.static final String
The string constant brainpoolP256t1_VALUE.static final String
The string constant brainpoolP320r1_VALUE.static final String
The string constant brainpoolP320t1_VALUE.static final String
The string constant brainpoolP384r1_VALUE.static final String
The string constant brainpoolP384t1_VALUE.static final String
The string constant brainpoolP512r1_VALUE.static final String
The string constant brainpoolP512t1_VALUE.Fields inherited from interface io.github.astrapi69.crypt.api.algorithm.Algorithm
UNKNOWN_ALGORITHM_NAME
-
Method Summary
Modifier and TypeMethodDescriptionGets the algorithm name.static BrainpoolCurveAlgorithm
Returns the enum constant of this class with the specified name.static BrainpoolCurveAlgorithm[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BRAINPOOLP160R1
The Brainpool P-160 R1 algorithm. -
BRAINPOOLP192R1
The Brainpool P-192 R1 algorithm. -
BRAINPOOLP224R1
The Brainpool P-224 R1 algorithm. -
BRAINPOOLP256R1
The Brainpool P-256 R1 algorithm. -
BRAINPOOLP320R1
The Brainpool P-320 R1 algorithm. -
BRAINPOOLP384R1
The Brainpool P-384 R1 algorithm. -
BRAINPOOLP512R1
The Brainpool P-512 R1 algorithm. -
BRAINPOOLP160T1
The Brainpool P-160 T1 algorithm. -
BRAINPOOLP192T1
The Brainpool P-192 T1 algorithm. -
BRAINPOOLP224T1
The Brainpool P-224 T1 algorithm. -
BRAINPOOLP256T1
The Brainpool P-256 T1 algorithm. -
BRAINPOOLP320T1
The Brainpool P-320 T1 algorithm. -
BRAINPOOLP384T1
The Brainpool P-384 T1 algorithm. -
BRAINPOOLP512T1
The Brainpool P-512 T1 algorithm.
-
-
Field Details
-
BRAINPOOLP160R1_VALUE
The string constant brainpoolP160r1_VALUE.- See Also:
-
BRAINPOOLP192R1_VALUE
The string constant brainpoolP192r1_VALUE.- See Also:
-
BRAINPOOLP224R1_VALUE
The string constant brainpoolP224r1_VALUE.- See Also:
-
BRAINPOOLP256R1_VALUE
The string constant brainpoolP256r1_VALUE.- See Also:
-
BRAINPOOLP320R1_VALUE
The string constant brainpoolP320r1_VALUE.- See Also:
-
BRAINPOOLP384R1_VALUE
The string constant brainpoolP384r1_VALUE.- See Also:
-
BRAINPOOLP512R1_VALUE
The string constant brainpoolP512r1_VALUE.- See Also:
-
BRAINPOOLP160T1_VALUE
The string constant brainpoolP160t1_VALUE.- See Also:
-
BRAINPOOLP192T1_VALUE
The string constant brainpoolP192t1_VALUE.- See Also:
-
BRAINPOOLP224T1_VALUE
The string constant brainpoolP224t1_VALUE.- See Also:
-
BRAINPOOLP256T1_VALUE
The string constant brainpoolP256t1_VALUE.- See Also:
-
BRAINPOOLP320T1_VALUE
The string constant brainpoolP320t1_VALUE.- See Also:
-
BRAINPOOLP384T1_VALUE
The string constant brainpoolP384t1_VALUE.- See Also:
-
BRAINPOOLP512T1_VALUE
The string constant brainpoolP512t1_VALUE.- See Also:
-
-
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
-
getAlgorithm
Gets the algorithm name.- Specified by:
getAlgorithm
in interfaceAlgorithm
- Returns:
- the algorithm name.
-