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

CertificateBuilder running example #1580

Open
Adrien-Bodineau opened this issue Oct 21, 2024 · 1 comment
Open

CertificateBuilder running example #1580

Adrien-Bodineau opened this issue Oct 21, 2024 · 1 comment

Comments

@Adrien-Bodineau
Copy link

The provided example

https://docs.rs/x509-cert/latest/x509_cert/builder/struct.CertificateBuilder.html

is not really helpful as it does not compile due to lack of public key and signers, and the documentation as a whole is quite lacking clearness. It is quite hard to use the crate without being an "expert".

It is possible to have a fully functioning example ?

@tarcieri
Copy link
Member

It's a working doctested example. I think perhaps the real problem you're referring to is the rsa_signer() function being hidden?

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

No branches or pull requests

2 participants