Questions tagged [cose]

For questions regarding COSE - CBOR Object Signing and Encryption.

COSE is the CBOR equivalent of .

While practically every web language and framework support JSON, and application codes can process these data efficiently, there's need for a binary that's more compact than the textual format that is JOSE in lightweight environments.

Adding that ASN.1 has unnecessary complexity, CBOR was invented to replace ASN.1 in the lightweight applications, and COSE naturally comes along.

1 questions
3
votes
1 answer

Why do COSE and JOSE use their own format for SEC#1 and PKCS#1 keys?

PKCS#1 specify its keys as DER-encoded ASN.1 data structure types, so it's understandable to invent a format that admit lightweight parser with CBOR. But I don't see why it is necessary to invent key format to hold SEC#1 keys in COSE or JOSE, since…
DannyNiu
  • 10,640
  • 2
  • 27
  • 64