Skip to content

Fix code-generation on enumerations - #429

Open
nhart12 wants to merge 1 commit into
dotnet:developfrom
nhart12:develop
Open

Fix code-generation on enumerations#429
nhart12 wants to merge 1 commit into
dotnet:developfrom
nhart12:develop

Conversation

@nhart12

@nhart12 nhart12 commented Jun 5, 2026

Copy link
Copy Markdown

What's the problem?

Latest version (4.6.168) gives error on NegotiationToken negoToken = NegotiationToken.Decode(incomingBlob.ToArray())
ASN1 corrupted data. Expected Integer; Actual: Enumerated

  • Bugfix
  • New Feature

What's the solution?

Try reading enumerated value if we have it instead of parsing as Integer

  • Includes unit tests
  • Requires manual test

What issue is this related to, if any?

@nhart12
nhart12 marked this pull request as draft June 5, 2026 20:48
@nhart12
nhart12 marked this pull request as ready for review September 3, 2026 20:10
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.

1 participant