INabtoClient.CreatePrivateKey()

DESCRIPTION

Create a private key and return the private key as a pem encoded string.

The result is normally stored in a device specific secure location and retrieved whenever a new connection is established, passed on to a Connection object using setPrivateKey().

DECLARATION

System.String CreatePrivateKey()

ERRORS

  • T:Nabto.Edge.Client.NabtoException: FAILED if key could not be created

RETURNS

the private key as a pem encoded string.