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

Convert more utils.rs APIs to new pyo3 APIs #10708

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

facutuesca
Copy link
Contributor

@facutuesca facutuesca commented Apr 4, 2024

Part of #10676

  • Converts pkey_public_bytes() in utils.rs, along with all of the public_bytes() methods using it.
  • Convert calculate_digest_and_algorithm() in utils.rs, along with its usages.

I had to add a .clone() call to calculate_digest_and_algorithm() to be able to return the algorithm as a Bound<..> object. There might be a better way of doing it.

cc @alex @reaperhulk

@alex alex merged commit c0b80d6 into pyca:main Apr 4, 2024
58 checks passed
@facutuesca facutuesca deleted the more-utils-migration branch April 4, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants