You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, only rsa crate has high-level functions documented that allow to load form PEM, DER, etc formats. But I found nothing of the kind in the elliptic_curve's documentation.
It would be nice to have methods descrubed similarly to those of rsa:
It's hard to have concrete code examples because they'd have to be repeated for each elliptic curve, though I suppose we can add some and copy-and-paste them for each curve, but that's a lot of work and makes it hard to ever update them due to the duplication.
Currently, only
rsa
crate has high-level functions documented that allow to load form PEM, DER, etc formats. But I found nothing of the kind in the elliptic_curve's documentation.It would be nice to have methods descrubed similarly to those of
rsa
:There are only basic paragraphs in https://docs.rs/elliptic-curve/latest/elliptic_curve/struct.PublicKey.html#parsing-spki-keys and https://docs.rs/elliptic-curve/latest/elliptic_curve/struct.SecretKey.html#parsing-pkcs8-keys. I myself already figured what to do, but for the newbies it would be nice to have a clearer documentation.
The text was updated successfully, but these errors were encountered: