PEM

Undocumented in source.

Members

Static functions

decode
SecureVector!ubyte decode(DataSource source, string label)

Decode PEM data

decode
SecureVector!ubyte decode(string pem, string label)

Decode PEM data

decodeCheckLabel
SecureVector!ubyte decodeCheckLabel(DataSource source, string label_want)

Decode PEM data

decodeCheckLabel
SecureVector!ubyte decodeCheckLabel(string pem, string label_want)

Decode PEM data

encode
string encode(const(ubyte)* der, size_t length, string label, size_t width)

Encode some binary data in PEM format

encode
string encode(Vector!(ubyte, ALLOC) data, string label, size_t line_width)

Encode some binary data in PEM format

encode
string encode(RefCounted!(Vector!(ubyte, ALLOC), ALLOC) data, string label, size_t line_width)

Encode some binary data in PEM format

matches
bool matches(DataSource source, string extra, size_t search_range)

Heuristic test for PEM data. Search for a PEM signature

Meta