Module rustls::internal::pemfile[][src]

Expand description

Functions for parsing PEM files containing certificates/keys.

Functions

Extract all the certificates from rd, and return a vec of key::Certificates containing the der-format contents.

Extract all PKCS8-encoded private keys from rd, and return a vec of key::PrivateKeys containing the der-format contents.

Extract all RSA private keys from rd, and return a vec of key::PrivateKeys containing the der-format contents.