-
Notifications
You must be signed in to change notification settings - Fork 173
x509: derive all implementations #422
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
Conversation
|
@carl-wallace mind taking a look at this one? |
| /// [[3: -- If present, version MUST be v3 -- | ||
| /// extensions [3] Extensions{{CertExtensions}} OPTIONAL | ||
| /// ]], ... } | ||
| /// TBSCertificate ::= SEQUENCE { |
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 brackets in comments should be escaped to make cargo doc happy.
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.
They are in a text block like they should be in order to avoid this problem. No escaping is needed.
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.
Yeah, we should really add a test that cargo doc completes without warnings
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.
Got it. Thanks.
tarcieri
left a comment
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.
Please add back the schema comment on TbsCertificate::version
Signed-off-by: Nathaniel McCallum <nathaniel@profian.com>
Signed-off-by: Nathaniel McCallum <nathaniel@profian.com>
Signed-off-by: Nathaniel McCallum <nathaniel@profian.com>
Signed-off-by: Nathaniel McCallum <nathaniel@profian.com>
Signed-off-by: Nathaniel McCallum <nathaniel@profian.com>
The remaining types had interrelated dependencies and needed to be performed as a set. These types are: * DistributionPoint * DistributionPointName * IssuingDistributionPoint Signed-off-by: Nathaniel McCallum <nathaniel@profian.com>
Signed-off-by: Nathaniel McCallum <nathaniel@profian.com>
Signed-off-by: Nathaniel McCallum <nathaniel@profian.com>
Signed-off-by: Nathaniel McCallum <nathaniel@profian.com>
Signed-off-by: Nathaniel McCallum <nathaniel@profian.com>
Signed-off-by: Nathaniel McCallum <nathaniel@profian.com>
18f11e8 to
277715b
Compare
|
@tarcieri Rather than just copy/pasting schema into the version field comment, instead I wrote a proper comment explaining the full meaning of the situation. |
|
@npmccallum fantastic! |
|
@tarcieri Ready to merge? |
This PR derives implementations for x509 types. I have taken great care to ensure that every commit passes all existing tests. This PR is the early portion of the larger #414 PR.