PEM.encode

Encode some binary data in PEM format

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

Meta