Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

PKey.Read

Reads a private/public key from PEM certificate from text.

Component Version macOS Windows Linux Server iOS SDK
Certificates 11.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "PKey.Read"; Text { ; Password } )   More

Parameters

Parameter Description Example Flags
Text The key in PEM format as text.
PEM file may contain multiple things like certificate and private or public key.
Password For encrypted private keys, the password to use. "test" Optional

Result

Returns PKey reference number or error.

Description

Reads a private/public key from PEM certificate from text.
See also PKey.ReadFromContainer for reading from container and PKey.ReadFromFile to read from file on disk.

See also

Release notes

Blog Entries

This function checks for a license.

Created 22nd August 2021, last changed 24th August 2021


PKey.List - PKey.ReadFromContainer