-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[CBOR] Implement support for tagged types #34767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Tagging @bartonjs as an area owner |
src/libraries/System.Security.Cryptography.Encoding/tests/Cbor/CborReader.Tag.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Security.Cryptography.Encoding/tests/Cbor/CborReader.Tag.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Security.Cryptography.Encoding/tests/Cbor/CborReader.Tag.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Security.Cryptography.Encoding/tests/Cbor.Tests/CborReaderTests.Tag.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Security.Cryptography.Encoding/tests/Cbor/CborReader.Tag.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Security.Cryptography.Encoding/tests/Cbor/CborReader.Tag.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Security.Cryptography.Encoding/tests/Cbor/CborWriter.Integer.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Security.Cryptography.Encoding/tests/Cbor/CborWriter.Tag.cs
Outdated
Show resolved
Hide resolved
21c5907 to
6eafdbc
Compare
src/libraries/System.Security.Cryptography.Encoding/tests/Cbor/CborReader.cs
Outdated
Show resolved
Hide resolved
|
@bartonjs PR is now ready for review. There are still a few design issues to be considered, in the unresolved conversations above. |
src/libraries/System.Security.Cryptography.Encoding/tests/Cbor.Tests/CborReaderTests.Tag.cs
Outdated
Show resolved
Hide resolved
b9e5d06 to
db51ff4
Compare
src/libraries/System.Security.Cryptography.Encoding/tests/Cbor/CborReader.Tag.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Security.Cryptography.Encoding/tests/Cbor/CborReader.Tag.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tannergooding you might be interested in reviewing this.
be9c862 to
69741a8
Compare
bartonjs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Next up: A more comprehensive test that reads and writes COSE public keys (https://tools.ietf.org/html/rfc8152#appendix-C.7.1 has some EC examples; but examples that use the RSA extensions from https://tools.ietf.org/html/rfc8230 are also/likely-more valueable).
To consider:
- The addition of the Int32 accelerators has made for some mild asymmetry. Consider adding UInt32 accelerators as well, for symmetry.
Contributes to #32046 and #32047.
PeekTag()method.decimalsupport.Addendum: