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
The main function of this crate has been incorporated into
14
+
[rustls-pki-types](https://crates.io/crates/rustls-pki-types). 2.2.0 maintains the
15
+
existing public API for this crate, on top of this new implementation. This drops
16
+
the dependency on the `base64` crate, and allows for constant-time decoding of private keys.
17
+
18
+
This crate will continue to exist in its current form, but it is somewhat unlikely that the
19
+
API will be extended from its current state.
20
+
21
+
Should you wish to migrate to using the new [`rustls-pki-types` PEM APIs](https://docs.rs/rustls-pki-types/latest/rustls_pki_types/pem/trait.PemObject.html)
| File stream to one `PrivateKeyDer`|`rustls_pemfile::private_key(io::BufRead)` <br> ➡️ <br> `PrivateKeyDer::from_pem_reader(io::Read)`|
28
+
| File stream to one `CertificateSigningRequestDer`|`rustls_pemfile::csr(io::BufRead)` <br> ➡️ <br> `CertificateSigningRequestDer::from_pem_reader(io::Read)`|
0 commit comments