1 unstable release
0.0.1 | Dec 10, 2021 |
---|
#21 in #pem
2,334 downloads per month
8KB
91 lines
topk8
Convert private keys to PKCS#8 format in pure Rust.
The following formats are supported at the moment:
- PKCS#1 PEM (
RSA PRIVATE KEY
) - SEC1 PEM (
EC PRIVATE KEY
)
TODO
- Test against OpenSSL
- Upgrade
rsa
when RustCrypto/RSA#120 is resolved to avoid duplicate crates (der
,pkcs8
)
lib.rs
:
Convert private keys to PKCS#8 format in pure Rust.
Dependencies
~5.5MB
~111K SLoC