Skip to content
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

[CBOR] Implement Conformance Levels #35246

Merged
merged 42 commits into from
May 2, 2020

Conversation

eiriktsarpalis
Copy link
Member

@eiriktsarpalis eiriktsarpalis commented Apr 21, 2020

Contributes to #32046 and #32047.

  • Define conformance levels for Strict mode, RFC7049 canonical mode and CTAP2 canonical mode.
  • Implement key sorting in CborWriter.
  • Implement conformance level validation for CborWriter.
  • Implement conformance level validation for CborReader.

Addendum:

  • Implement patching support for indefinite-length data items.
  • Fix SkipValue() conformance and implement a SkipToParent() method.
  • Implement writing and reading multiple root-level values.

@ghost
Copy link

ghost commented Apr 21, 2020

Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq
Notify danmosemsft if you want to be subscribed.

eiriktsarpalis and others added 7 commits May 1, 2020 15:05
…/CborConformanceLevel.cs

Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
…/CborReader.Array.cs

Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
…/CborReader.Tag.cs

Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
…/CborReader.cs

Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
…/CborWriter.Map.cs

Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
@eiriktsarpalis eiriktsarpalis merged commit 412b9c5 into dotnet:master May 2, 2020
@eiriktsarpalis eiriktsarpalis deleted the feature/cbor branch May 2, 2020 21:34
@stephentoub
Copy link
Member

@eiriktsarpalis, please make sure to squash such PRs in the future when merging. Thanks.

@eiriktsarpalis
Copy link
Member Author

please make sure to squash such PRs in the future when merging. Thanks.

My apologies, I assumed I had squash merged it. Not sure why it didn't.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants