Load Private Key Into Memory Function
- Updated2025-07-30
- 2 minute(s) read
Loads an X.509 private key into the local memory.

Inputs/Outputs
path
—
path specifies the file path of the private key on disk.
format
—
format specifies the format of the private key.
password
—
password specifies the password to decrypt encrypted PEM private keys. The default is an empty string.
error in
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
private key
—
private key returns the private key in Distinguished Encoding Rules (DER) format. Use this output as the input to the Add Private Key To TLS Configuration function.
Caution Disclosure of the private key compromises the security of your application.
error out
—
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Data Communication\Protocols\TLS\TLS Client and Server with Self-Signed Server Certificate.vi
path
—
format
—
password
—
error in
—
private key
—
error out
—