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

jer: Add JER-specific constraints, fix BIT STRINGs with variable size #192

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

v0-e
Copy link

@v0-e v0-e commented Jun 18, 2024

Fixes JER BIT STRINGs with variable sizes as mentioned in #133.
X.697 24.3 mandates that JER BIT STRINGs which do not have a fixed size, should be encoded as, for example, {"value":"FE","length":7} instead of just "FE".

JER-specific constraints, similarly to OER and PER constraints, were introduced to be used with the encoder/decoder. Currently these constraints are composed of only one field associated with the SIZE constraint and are only used with BIT STRINGs. They can be extended in the future to include other constraints types or other JER-specific encoding instructions like the use of Base64 in some types.

@mouse07410 mouse07410 merged commit 4d360ed into mouse07410:vlm_master Jun 20, 2024
1 check passed
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.

2 participants