-
Notifications
You must be signed in to change notification settings - Fork 1
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
Refactor with new/updated derive macros #22
Conversation
- Add `DerAnyOwned` and `DerAny<'a>` for representing Any - Add `AlgorithmIdentifierOwned`
166e5f1
to
25a22c1
Compare
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 certificate version enumeration looks like the values don't match the RFC. Otherwise, looks good to me.
Better comments about used ASN.1 tag types.
bors r=[arai-fortanix] |
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page.
|
This PR:
Enhance macro
derive_sequence
to support optional fields.Add a new macro
derive_sequence_of
as a help to define a asn.1 sequence of same type.Add a new type
AlgorithmIdentifierOwned
to represent owned type of X.509AlgorithmIdentifier
as defined in RFC 5280 Section 4.1.1.2.Refactor implementation of types in Initial support for CMPv2 & CRMF #21 by using new macros.
This PR should be merged after Initial support for CMPv2 & CRMF #21