Pike v8.1 release 6

Method Standards.PEM.build()


Method build

string build(string tag, string data, void|mapping(string:string) headers, void|string checksum)

Description

Creates a PEM message, wrapped to 64 character lines.

Parameter tag

The encapsulation boundary string.

Parameter data

The data to be encapsulated.

Parameter headers

Optional mapping containing encapsulated headers as name value pairs.

Parameter checksum

Optional checksum string, added as per RFC 4880.