Loads an X.509 private key into the local memory.


icon

Inputs/Outputs

  • cpath.png path

    path specifies the file path of the private key on disk.

  • cenum.png format

    format specifies the format of the private key.

    0PKCS#8 (PEM)
    1PKCS#8 (DER)
  • cstr.png password

    password specifies the password to decrypt encrypted PEM private keys. The default is an empty string.

  • cerrcodeclst.png error in

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • i1du8.png 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.
  • ierrcodeclst.png 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