Results for “Std.Pem.Block”
5 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Pem.Block
One armored block: what it holds, named by its label, and the bytes.
- Std.Pem.decode
Str -> Result[Std.Pem.Block, Std.Pem.PemError]The first armored block in the text.
- Std.Pem.decodeAll
Str -> Result[Array[Std.Pem.Block], Std.Pem.PemError]Every armored block in the text, in order.
- Std.Pem.encode
&Std.Pem.Block -> Result[Str, Std.Pem.PemError]A block written as armored text: a BEGIN line, the base64 body wrapped at
- Std.Pem.withLabel
&Array[Std.Pem.Block] -> Str -> Array[Bytes]The content of every block carrying the label, in order — the
