AppendPemData (Stringlist subroutine): Difference between revisions
Jump to navigation
Jump to search
m (page still under construction) |
m (→Usage notes: add link) |
||
Line 16: | Line 16: | ||
<tr><th><var>label</var></th> | <tr><th><var>label</var></th> | ||
<td>The string that identifies the base64 encoded data | <td>The string that identifies the base64 encoded data you are appending. The data will be contained within <var class="term">sl</var> items that are the text markers <code>-----BEGIN <i>label</i>-----</code> and <code>-----END <i>label</i>-----</code>. | ||
<p> | <p> | ||
This is a required, case-sensitive, value. </p></td></tr> | |||
</table> | </table> | ||
==Usage notes== | ==Usage notes== | ||
<ul> | |||
<li>The appended data is retrievable with the <var>[[PemToString (Stringlist function)|PemToString]]</var> method. | |||
</ul> | |||
==Examples== | ==Examples== |
Revision as of 16:32, 17 March 2016
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 you are appending. The data will be contained within sl items that are the text markers -----BEGIN label----- and -----END label----- .
This is a required, case-sensitive, value. |
Usage notes
- The appended data is retrievable with the PemToString method.
Examples
See also
Stringlist methods:
- AppendCertificateInfo
- AppendCertificateRequest
- AppendCertificateRequestInfo
- AppendClientCertificateRequest
- AppendEncryptedSecurityData
- AppendGeneratedPrivateKey
- AppendPemData
- AppendPrivateKeyInfo
- AppendSignedCertificate
- AppendSignedClientCertificate
- CheckCertificate
- CheckCertificateRequest
- PemToString
String methods:
- CertificateRequest
- SignedCertificate
- DerToXmlDoc
- RSAPrivateKeyToXmlDoc
- X509CertificateToXmlDoc
- X509CrlToXmlDoc
- Multiple cryptographic cipher methods
System methods:
Socket methods:
Background information: