PEM.encode

Encode some binary data in PEM format

  1. string encode(const(ubyte)* der, size_t length, string label, size_t width)
    struct PEM
    static
    string
    encode
    (
    const(ubyte)* der
    ,
    size_t length
    ,
    in string label
    ,
    size_t width = 64
    )
  2. string encode(Vector!(ubyte, ALLOC) data, string label, size_t line_width)
  3. string encode(RefCounted!(Vector!(ubyte, ALLOC), ALLOC) data, string label, size_t line_width)

Meta