Closed Banyc closed 2 years ago
Documentation here
https://quinn-rs.github.io/quinn/quinn/certificate.html#:~:text=certificate%20to%20cert.-,pem,-and%20the%20private
is incorrect since rustls::Certificate
rustls::Certificate
The certificate must be DER-encoded X.509. The rustls-pemfile crate can be used to parse a PEM file.
The certificate must be DER-encoded X.509.
The rustls-pemfile crate can be used to parse a PEM file.
rustls-pemfile
and rustls::PrivateKey
rustls::PrivateKey
The private key must be DER-encoded ASN.1 in either PKCS#8 or PKCS#1 format. The rustls-pemfile crate can be used to extract private keys from a PEM file in these formats.
The private key must be DER-encoded ASN.1 in either PKCS#8 or PKCS#1 format.
The rustls-pemfile crate can be used to extract private keys from a PEM file in these formats.
Pull request is merged
Documentation here
https://quinn-rs.github.io/quinn/quinn/certificate.html#:~:text=certificate%20to%20cert.-,pem,-and%20the%20private
is incorrect since
rustls::Certificate
and
rustls::PrivateKey