Uh oh!
There was an error while loading. Please reload this page.
x509: derive all implementations - #422
Conversation
Uh oh!
There was an error while loading. Please reload this page.
tarcieri
commented
Feb 11, 2022
@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.
The brackets in comments should be escaped to make cargo doc happy.
There was a problem hiding this comment.
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.
Yeah, we should really add a test that cargo doc completes without warnings
tarcieri
left a comment
There was a problem hiding this comment.
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>
npmccallum
commented
Feb 11, 2022
@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. |
tarcieri
commented
Feb 11, 2022
@npmccallum fantastic! |
npmccallum
commented
Feb 11, 2022
@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.