Tony Arcieri
Tony Arcieri
This has been completed, as far as I'm aware
We generally try to provide high-level APIs documented in the respective crates so you don't have to assemble things like `pem-rfc7468` yourself. You're on the right track with: ```rust use...
PEM and DER are encodings of key formats. The formats for elliptic curve key types are going to be SEC1 or PKCS#8 (where the latter is a wrapper around the...
The example @carl-wallace gave works. To serialize a private key, use the [`pkcs8::EncodePrivateKey`](https://docs.rs/pkcs8/latest/pkcs8/trait.EncodePrivateKey.html) trait impl on `SigningKey`.
Seems like a legitimate bug. I'll try to take a look this weekend.
I think I attempted trying to implement it at one point and couldn't quite get it working. Unfortunately I don't think I still have the code.
Sometimes serialization of SPKI requires building intermediate structures which can't be easily borrowed from the input, so I don't think it makes sense to mandate this via `EncodePublicKey`. You could...
@lumag it'd probably be good to open a separate issue for discussing the `AlgorithmIdentifier` changes. It will be a bit tricky.
We made `SubjectPublicKeyInfo` generic which I think resolves this issue.
This is definitely something we'd love to have, thanks for volunteering! We also happen to be the owners of the `pkcs12` crate. (Also FYI, we have a brand new "formats"...