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

Functions for parsing PEM files containing certificates/keys.

Functions

certs

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

pkcs8_private_keys

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

rsa_private_keys

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