Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

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


PKey.GetPublicKey - PKey.ReadFromContainer

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins

Start Chat