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

Support named members decoding #124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Support named members decoding #124

wants to merge 1 commit into from

Conversation

MohammadHH
Copy link

According to ASN.1 specification (ITU-T X.680),
chapters 19 (Notation for integer type) and 22 (Notation for bitstring type),
such types can be named and we would like to support presenting these names in the decoding output.
This branch is made as a prototype that show how we would support this feature.
The prototype considers .ber format at the moment, if changes are fine we shall continue
implementing needed changes to support this feature for the other formats.

  when named_members is set to true and while decoding a .ber file,
  for integer types with named-numbers, the integer value will be replaced
  with its corresponding name if found. For bit string types with named-bits,
  the bit string value will be replaced with list of strings of corresponding
  names when found.
@MohammadHH
Copy link
Author

Could you please review this merge request and see if it fits in the library?

@eerimoq
Copy link
Owner

eerimoq commented Aug 19, 2021

Sorry, I am not interested in doing so at the moment as I prefer spending my time on other projects.

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.

None yet

2 participants