展开描述
底层 PEM 解码 API。
这些 API 允许以迭代器方式解码 PEM 格式, 这意味着你可以单次扫描文件从中加载多种不同类型的 PEM section。
结构体§
- Read
Iter - Extract and return all PEM sections by reading
rd. - Slice
Iter - Iterator over all PEM sections in a
&[u8]slice.
枚举§
- Error
- Errors that may arise when parsing the contents of a PEM file
- Section
Kind - A single recognised section in a PEM file.
特性§
- PemObject
- Items that can be decoded from PEM data.
函数§
- from_
buf - Extract and decode the next supported PEM section from
rd.