Enum CryptoFunction
- java.lang.Object
-
- java.lang.Enum<CryptoFunction>
-
- org.cyclonedx.model.component.crypto.enums.CryptoFunction
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CryptoFunction>
public enum CryptoFunction extends java.lang.Enum<CryptoFunction>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringname
-
Constructor Summary
Constructors Modifier Constructor Description privateCryptoFunction(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()static CryptoFunctionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CryptoFunction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERATE
public static final CryptoFunction GENERATE
-
KEYGEN
public static final CryptoFunction KEYGEN
-
ENCRYPT
public static final CryptoFunction ENCRYPT
-
DECRYPT
public static final CryptoFunction DECRYPT
-
DIGEST
public static final CryptoFunction DIGEST
-
TAG
public static final CryptoFunction TAG
-
KEYDERIVE
public static final CryptoFunction KEYDERIVE
-
SIGN
public static final CryptoFunction SIGN
-
VERIFY
public static final CryptoFunction VERIFY
-
ENCAPSULATE
public static final CryptoFunction ENCAPSULATE
-
DECAPSULATE
public static final CryptoFunction DECAPSULATE
-
OTHER
public static final CryptoFunction OTHER
-
UNKNOWN
public static final CryptoFunction UNKNOWN
-
-
Method Detail
-
values
public static CryptoFunction[] 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 (CryptoFunction c : CryptoFunction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CryptoFunction 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
-
getName
public java.lang.String getName()
-
-