Skip to content

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.
@RaitoBezarius RaitoBezarius requested a review from baloo January 4, 2024 03:02
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