Module pemfile
Available on (crate features
rustls or boring or acme) and crate feature rustls only.Expand description
Re-export of the rustls-pemfile crate.
A basic parser for .pem files containing cryptographic keys and certificates.
Enums§
- Error
- Errors that may arise when parsing the contents of a PEM file
- Item
- The contents of a single recognised block in a PEM file.
Functions§
- certs
std - Return an iterator over certificates from
rd. - crls
std - Return an iterator certificate revocation lists (CRLs) from
rd. - csr
std - Return the first certificate signing request (CSR) found in
rd. - ec_
private_ keys std - Return an iterator over SEC1-encoded EC private keys from
rd. - pkcs8_
private_ keys std - Return an iterator over PKCS8-encoded private keys from
rd. - private_
key std - Return the first private key found in
rd. - public_
keys std - Return an iterator over SPKI-encoded keys from
rd. - read_
all std - Extract and return all PEM sections by reading
rd. - read_
one std - Extract and decode the next PEM section from
rd. - read_
one_ from_ slice - Extract and decode the next PEM section from
input - rsa_
private_ keys std - Return an iterator over RSA private keys from
rd.