Skip to content
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

Make template functions generic with backwards compatibility #247

Closed

Conversation

hslatman
Copy link
Member

This is another approach to making the template functions generic, as done in #239, but now with backwards compatibility for users of the package.

The new function can create a `x509util.Certificate` from an
x509.Certificate (used as a template). It also supports options,
to provide a template, so that data can be set in the certificate.

Currently a template is always required. An error will be returned
when no template is provided.
@hslatman hslatman force-pushed the herman/alternative-generic-template-functions branch from 0460c07 to 9c0e6fc Compare May 25, 2023 21:09
@hslatman hslatman marked this pull request as ready for review May 25, 2023 21:11
@hslatman hslatman requested a review from maraino May 25, 2023 21:11
@hslatman
Copy link
Member Author

Closing in favor of #248.

@hslatman hslatman closed this May 26, 2023
@hslatman hslatman removed the request for review from maraino May 26, 2023 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant