You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently rasn added support for explicit tags in an ASN.1 Structure. When this support was added, though, it does not appear that anything was added to handle the non-encoding default values.
Per ITU standard, this value should not be present during encoding. Since decoding automatically sets the default value, when not present, and will preserve the value, if provided, a fix should be implemented and will be backwards compatible (assuming downstream systems correctly handle this).
Recently rasn added support for explicit tags in an ASN.1 Structure. When this support was added, though, it does not appear that anything was added to handle the non-encoding default values.
Per ITU standard, this value should not be present during encoding. Since decoding automatically sets the default value, when not present, and will preserve the value, if provided, a fix should be implemented and will be backwards compatible (assuming downstream systems correctly handle this).
Example code:
Produces:
Should Produce (Note: The first tagged field is not present):
The text was updated successfully, but these errors were encountered: