Package-level declarations
Types
How to extract the algorithm from KeyMaterial
Identify KeyMaterial with it's KeyMaterial.getCertificate in (unprotected) CoseHeader.certificateChain.
How to identify the key material in a CoseHeader
Identify KeyMaterial with it's KeyMaterial.identifier in (protected) CoseHeader.keyId.
Don't identify KeyMaterial in CoseHeader.
Extract the algorithm from KeyMaterial directly, using fully specified algorithms when applicable, see RFC 9864.
Workaround for other implementations not supporting fully specified algorithms from RFC 9864, so we'll be using the non-fully specified ones.
Create a CoseSigned, setting protected and unprotected headers, and applying CoseHeaderIdentifierFun.
Create a CoseSigned with detached payload, setting protected and unprotected headers, and applying CoseHeaderIdentifierFun.