Package COSE
Enum HeaderKeys
- java.lang.Object
-
- java.lang.Enum<HeaderKeys>
-
- COSE.HeaderKeys
-
- All Implemented Interfaces:
Serializable,Comparable<HeaderKeys>,java.lang.constant.Constable
public enum HeaderKeys extends Enum<HeaderKeys>
- Author:
- jimsch
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description com.upokecenter.cbor.CBORObjectAsCBOR()static HeaderKeysvalueOf(String name)Returns the enum constant of this type with the specified name.static HeaderKeys[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Algorithm
public static final HeaderKeys Algorithm
-
CONTENT_TYPE
public static final HeaderKeys CONTENT_TYPE
-
KID
public static final HeaderKeys KID
-
IV
public static final HeaderKeys IV
-
CriticalHeaders
public static final HeaderKeys CriticalHeaders
-
CounterSignature
public static final HeaderKeys CounterSignature
-
PARTIAL_IV
public static final HeaderKeys PARTIAL_IV
-
CounterSignature0
public static final HeaderKeys CounterSignature0
-
ECDH_EPK
public static final HeaderKeys ECDH_EPK
-
ECDH_SPK
public static final HeaderKeys ECDH_SPK
-
ECDH_SKID
public static final HeaderKeys ECDH_SKID
-
HKDF_Salt
public static final HeaderKeys HKDF_Salt
-
HKDF_Context_PartyU_ID
public static final HeaderKeys HKDF_Context_PartyU_ID
-
HKDF_Context_PartyU_nonce
public static final HeaderKeys HKDF_Context_PartyU_nonce
-
HKDF_Context_PartyU_Other
public static final HeaderKeys HKDF_Context_PartyU_Other
-
HKDF_Context_PartyV_ID
public static final HeaderKeys HKDF_Context_PartyV_ID
-
HKDF_Context_PartyV_nonce
public static final HeaderKeys HKDF_Context_PartyV_nonce
-
HKDF_Context_PartyV_Other
public static final HeaderKeys HKDF_Context_PartyV_Other
-
HKDF_SuppPub_Other
public static final HeaderKeys HKDF_SuppPub_Other
-
HKDF_SuppPriv_Other
public static final HeaderKeys HKDF_SuppPriv_Other
-
-
Method Detail
-
values
public static HeaderKeys[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HeaderKeys valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
AsCBOR
public com.upokecenter.cbor.CBORObject AsCBOR()
-
-