Skip to content

Conversation

@AndrewScull
Copy link
Collaborator

@AndrewScull AndrewScull commented Dec 18, 2025

Add helper functions to build a CoseKey from a SEC1 octet string and to encode an EC2 CoseKey to a SEC1 octet string.

EC2 CoseKeys are defined in terms of SEC1 encodings which makes the conversion fairly straightforward and the SEC1/X9.62 format for a public key is a common interchange format so it makes loading a CoseKey to and from a crypto library an easier task (bssl-crypto, for example).

@AndrewScull AndrewScull force-pushed the sec1 branch 2 times, most recently from 6f6c90d to 81a9bc3 Compare December 18, 2025 17:37
Add helper functions to build a CoseKey from a SEC1 octet string and to
encode an EC2 CoseKey to a SEC1 octet string.
@AndrewScull AndrewScull merged commit c3a8159 into google:main Dec 18, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants