Algorithm
Algorithm identifiers.
This is an enumeration of algorithms and has support for multiple registries, including COSE, JOSE, and the Named Information Hash Algorithm Registry.
Applications should not rely on the ordinals in this enumeration, they might change in the future as algorithms are added or things are rearranged. Use name for a stable identifier if serialization is needed.
Parameters
the COSE algorithm identifier or null
if this algorithm does not exists in this registry.
the JOSE algorithm identifier or null
if this algorithm does not exists in this registry.
the hash algorithm name from the Named Information Hash Algorithm Registry or null
if this algorithm does not exists in this registry.
true
if this completely specifies an algorithm, false
otherwise. See Fully-Specified Algorithms for JOSE and COSE draft for more information on what constitutes a fully specified algorithm.
the EcCurve used in the algorithm or null
if not applicable or not a fully specified algorithm.
the hash algorithm in the the algorithm or null
if not applicable or not a fully specified algorithm.
true
if the algorithm is for signing, false
if not applicable or not a fully specified algorithm.
true
if the algorithm is for key agreement, false
if not applicable or not a fully specified algorithm.
A human readable description of the algorithm.
Entries
SHA-1 Hash (insecure, shouldn't be used)
HMAC w/ SHA-256
HMAC w/ SHA-384
HMAC w/ SHA-512
Cipher suite for COSE-HPKE in Base Mode that uses the DHKEM(P-256, HKDF-SHA256) KEM, the HKDF-SHA256 KDF and the AES-128-GCM AEAD.
ECDH using BrainpoolP256r1 curve without KDF
ECDH using BrainpoolP320r1 curve without KDF
ECDH using BrainpoolP384r1 curve without KDF
ECDH using BrainpoolP512r1 curve without KDF
ECDH using X25519 curve without KDF