Enum RelatedCryptoMaterialType
- java.lang.Object
-
- java.lang.Enum<RelatedCryptoMaterialType>
-
- org.cyclonedx.model.component.crypto.enums.RelatedCryptoMaterialType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RelatedCryptoMaterialType>
public enum RelatedCryptoMaterialType extends java.lang.Enum<RelatedCryptoMaterialType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDITIONAL_DATACIPHERTEXTCREDENTIALDIGESTINITIALIZATION_VECTORKEYNONCEOTHERPASSWORDPRIVATE_KEYPUBLIC_KEYSALTSECRET_KEYSEEDSHARED_SECRETSIGNATURETAGTOKENUNKNOWN
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringdescriptionprivate java.lang.Stringname
-
Constructor Summary
Constructors Modifier Constructor Description privateRelatedCryptoMaterialType(java.lang.String name, java.lang.String description)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()java.lang.StringgetName()static RelatedCryptoMaterialTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RelatedCryptoMaterialType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIVATE_KEY
public static final RelatedCryptoMaterialType PRIVATE_KEY
-
PUBLIC_KEY
public static final RelatedCryptoMaterialType PUBLIC_KEY
-
SECRET_KEY
public static final RelatedCryptoMaterialType SECRET_KEY
-
KEY
public static final RelatedCryptoMaterialType KEY
-
CIPHERTEXT
public static final RelatedCryptoMaterialType CIPHERTEXT
-
SIGNATURE
public static final RelatedCryptoMaterialType SIGNATURE
-
DIGEST
public static final RelatedCryptoMaterialType DIGEST
-
INITIALIZATION_VECTOR
public static final RelatedCryptoMaterialType INITIALIZATION_VECTOR
-
NONCE
public static final RelatedCryptoMaterialType NONCE
-
SEED
public static final RelatedCryptoMaterialType SEED
-
SALT
public static final RelatedCryptoMaterialType SALT
-
SHARED_SECRET
public static final RelatedCryptoMaterialType SHARED_SECRET
-
TAG
public static final RelatedCryptoMaterialType TAG
-
ADDITIONAL_DATA
public static final RelatedCryptoMaterialType ADDITIONAL_DATA
-
PASSWORD
public static final RelatedCryptoMaterialType PASSWORD
-
CREDENTIAL
public static final RelatedCryptoMaterialType CREDENTIAL
-
TOKEN
public static final RelatedCryptoMaterialType TOKEN
-
OTHER
public static final RelatedCryptoMaterialType OTHER
-
UNKNOWN
public static final RelatedCryptoMaterialType UNKNOWN
-
-
Method Detail
-
values
public static RelatedCryptoMaterialType[] 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 (RelatedCryptoMaterialType c : RelatedCryptoMaterialType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelatedCryptoMaterialType 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()
-
getDescription
public java.lang.String getDescription()
-
-