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

feat: add create_certificate_with_sid #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RaitoBezarius
Copy link
Member

Usually, a SID is cumbersome to produce for a certificate, most of the time, we can reuse the leaf's certificate issuer information.

create_certificate now takes a leaf certificate to extract the issuer information from.

Usually, a SID is cumbersome to produce for a certificate,
most of the time, we can reuse the leaf's certificate issuer information.

`create_certificate` now takes a leaf certificate to extract the issuer information from.
pe,
certificates,
cms::signed_data::SignerIdentifier::IssuerAndSerialNumber(
cms::cert::IssuerAndSerialNumber {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note to self: This could be worth a impl From<&Cert> for cms::cert::IssuerAndSerialNumber

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.

2 participants