Package web5.sdk.crypto
Enum AlgorithmId
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum AlgorithmId extends Enum<AlgorithmId>
AlgorithmId - combination of valid curve and algorithm.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classAlgorithmId.Companion
-
Field Summary
Fields Modifier and Type Field Description private final StringcurveNameprivate final StringalgorithmNameprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<AlgorithmId>entries
-
Method Summary
Modifier and Type Method Description final AlgorithmIdvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<AlgorithmId>values()Returns an array containing the constants of this enum type, in the order they're declared. final StringgetCurveName()name of the curve final StringgetAlgorithmName()name of the algorithm final EnumEntries<AlgorithmId>getEntries()AlgorithmId - combination of valid curve and algorithm. -
-
Method Detail
-
valueOf
final AlgorithmId valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<AlgorithmId> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getCurveName
final String getCurveName()
name of the curve
-
getAlgorithmName
final String getAlgorithmName()
name of the algorithm
-
getEntries
final EnumEntries<AlgorithmId> getEntries()
AlgorithmId - combination of valid curve and algorithm.
-
-
-
-