This is a basic parser for PEM-encodings commonly used for storing keys and certificates at rest.
It doesn't support reading encrypted keys: the cryptography standardised for this is typically very poor and doing so doesn't address a meaningful threat model.
Item
enum non-exhaustive.rustls-pemfile is distributed under the following three licenses:
These are included as LICENSE-APACHE, LICENSE-MIT and LICENSE-ISC respectively. You may use this software under the terms of any of these licenses, at your option.