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

pkcs8+spki: use blanket impls for Decode* traits #785

Merged
merged 1 commit into from
Dec 11, 2022

Conversation

tarcieri
Copy link
Member

Previously these traits had TryFrom bounds for e.g. PrivateKeyInfo, which limits the applicability of these traits.

This commit changes to using blanket impls for TryFrom, which allows types to handle parsing raw DER on their own, as in the ring-compat crate.

Previously these traits had `TryFrom` bounds for e.g. `PrivateKeyInfo`,
which limits the applicability of these traits.

This commit changes to using blanket impls for `TryFrom`, which allows
types to handle parsing raw DER on their own, as in the `ring-compat`
crate.
@tarcieri tarcieri merged commit 06ff4ec into master Dec 11, 2022
@tarcieri tarcieri deleted the pkcs8+spki/use-blanket-impls-for-decode-traits branch December 11, 2022 14:47
This was referenced Feb 27, 2023
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.

1 participant