-
Notifications
You must be signed in to change notification settings - Fork 173
Add support for context specific fields with default values #246
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
Add support for context specific fields with default values #246
Conversation
…se hex literal comment feature to place dumpasn1-generated description inline in test cases.
| // onlySomeReasons [3] ReasonFlags OPTIONAL, | ||
| //#[asn1(context_specific="3", optional="true", tag_mode="IMPLICIT")] | ||
| //pub only_some_reasons: Option<ReasonFlags<'a>>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason why this is commented out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The types for the commented out fields are not in the main x509 repo yet. Replicating those here seemed heavier than the value they would add to the example. The structure without the comments will land as x509 bits are pushed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aah, ok. Maybe a TODO then?
No description provided.