AppendPemData (Stringlist subroutine)

From m204wiki
Revision as of 00:18, 17 March 2016 by JAL (talk | contribs) (page still under construction)
Jump to navigation Jump to search

Append PEM encoded string to a Stringlist (Stringlist class)

[Introduced in Model 204 7.5]

This page is under construction.

The PEM (Privacy Enhanced Mail) protocol uses base64 encoding for binary data that needs to be transferred and stored as text.

Syntax

sl:AppendPemData( [Data=] string, [label=] string)

Syntax terms

sl A Stringlist object that contains labeled, base64 encoded data.
Data The base64 encoded Longstring or String you are appending to the data stored in sl.
label The string that identifies the base64 encoded data to which you are appending data. Examples include X509 CERTIFICATE, X509 CRL, RSA PRIVATE KEY. X509 certificate, private key, and CRL data will be contained within the text markers -----BEGIN label----- and -----END label-----.

Note that this is a required, case-sensitive, value; if it does not match the first and last label items enclosing base64 data within sl, no data is appended.

Usage notes

Examples

See also

Stringlist methods:

String methods:

System methods:

Socket methods:

Background information: