Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor COSE serialization and deserialization
This patch introduces the RawPublicKey helper type that takes care of serialization and deserialization of the key type. The *PublicKey structs now only need to check if all required fields are present and have the correct value. It also adds extensive tests to make sure that serialization and deserialization work correctly. This patch is ported from: trussed-dev/ctap-types#8
- Loading branch information