Expand description
Optional simd and checked-backend features forward to the core’s ordinary
kernels without changing defaults or grammar. checked-backend implies
simd; neither enables std, alloc or secrets on its own. Eligible
sizes and CPU/build capabilities still govern acceleration. Secret/CT paths
remain separate. Without core std, complete static ISA features are required.
Bounded RFC 7468 textual encoding parsing and generation.
This crate owns complete encapsulation boundaries, labels, Base64 bodies, adjacent text, multiple-block documents, and line-ending policy. It does not parse the ASN.1 payload and deliberately rejects legacy OpenSSL encapsulated headers.
Structs§
- PemBlock
- One decoded RFC 7468 textual encoding instance.
- PemBlock
Encoder - Incremental bounded payload collector for one PEM block.
- PemDocument
- A bounded document containing one or more textual encoding instances.
- PemDocument
Parser - Incremental bounded document collector.
- PemError
- RFC 7468 error with an optional public source position.
- PemGeneration
Options - Canonical generator options.
- PemLabel
- A syntactically valid RFC 7468 label.
- PemLimits
- Finite resource limits for one RFC 7468 operation.
- PemParse
Report - Bounded parser deviation report.
- Secret
PemBlock - One expected-label PEM payload in clear-on-drop secret storage.
Enums§
- PemError
Kind - Classified RFC 7468 operation failure.
- PemLabel
Error - Label validation failure.
- PemLine
Ending - Generated document line ending.
- PemParse
Policy - One accepted input policy.
Functions§
- encode_
pem_ block_ into - Generates one canonical RFC 7468 block transactionally.
- encode_
pem_ block_ to_ string - Generates one canonical RFC 7468 block as an owned string.
- parse_
pem_ document - Parses all RFC 7468 textual encoding instances from one bounded document.
- parse_
pem_ secret_ block - Parses exactly one expected-label block into clear-on-drop secret storage.
- pem_
block_ encoded_ len - Returns the exact generated length for one RFC 7468 block.