Package org.cyclonedx.model
Enum Signature.PublicKey.Crv
- java.lang.Object
-
- java.lang.Enum<Signature.PublicKey.Crv>
-
- org.cyclonedx.model.Signature.PublicKey.Crv
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Signature.PublicKey.Crv>
- Enclosing class:
- Signature.PublicKey
public static enum Signature.PublicKey.Crv extends java.lang.Enum<Signature.PublicKey.Crv>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringname
-
Constructor Summary
Constructors Modifier Constructor Description privateCrv(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Signature.PublicKey.CrvfromString(java.lang.String text)java.lang.StringgetCrvName()static Signature.PublicKey.CrvvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Signature.PublicKey.Crv[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
P_256
public static final Signature.PublicKey.Crv P_256
-
P_384
public static final Signature.PublicKey.Crv P_384
-
P_521
public static final Signature.PublicKey.Crv P_521
-
-
Method Detail
-
values
public static Signature.PublicKey.Crv[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Signature.PublicKey.Crv c : Signature.PublicKey.Crv.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Signature.PublicKey.Crv valueOf(java.lang.String name)
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getCrvName
public java.lang.String getCrvName()
-
fromString
public static Signature.PublicKey.Crv fromString(java.lang.String text)
-
-