3 pemdecode, pemencode \- encode files in Privacy Enhanced Mail (PEM) format
18 PEM is a textual encoding for binary data originally used by the
19 Privacy Enhanced Mail program but now commonly used for
20 other applications, notably TLS.
21 PEM encodes data in base 64
24 between lines of the form:
27 -----BEGIN SECTION-----
33 may be any string describing the encoded data.
34 The most common use of PEM format on Plan 9 is for encoding
35 X.509 certificates; see
41 and writes the decoded data to standard output.
44 encodes its standard input, labels it as a
46 and writes it to standard output.
48 Encode and decode a simple greeting:
52 auth/pemencode GREETING
53 -----BEGIN GREETING-----
55 -----END GREETING-----
57 auth/pemencode GREETING |
58 auth/pemdecode GREETING