CredentialIdentifier
ID_CRED_I or ID_CRED_R (RFC 9528 §3.5.3): a COSE header map that identifies a credential by reference or carries it by value.
encoded is the header map exactly as sent or received; it is what enters context_2/context_3 and the COSE_Sign1 protected header. In PLAINTEXT_2 and PLAINTEXT_3 a map holding only a 'kid' is replaced by the compact encoding of RFC 9528 §3.5.3.2 (encodeForPlaintext).
Inheritors
Types
{ 14 : CCS }, a CWT Claims Set by value (RFC 9528 §3.5.3.1), as used for raw public keys.
{ 4 : kid }, the credential identifier every implementation must support (RFC 9528 §8).
Any other header map, such as several parameters or a type kcoap does not interpret ('kcwt', 'c5t', 'x5u'). A resolver may still understand it through header.
{ 33 : COSE_X509 }, an X.509 chain by value, end-entity certificate first (RFC 9360 §2). One certificate is encoded as a byte string, several as an array.
{ 34 : [ alg, hash ] }, an X.509 certificate by thumbprint (RFC 9360 §2). algorithm is the COSE hash algorithm, for example -15 for SHA-256/64 as in RFC 9529 §2.