Client.createPrivateKey()

DESCRIPTION

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

DECLARATION

    public func createPrivateKey() throws -> String 

PARAMETERS

None.

ERRORS

Throws the following errors:

NabtoEdgeClientError.FAILED:
if key could not be created

RETURN VALUES

the private key as a pem encoded string.

EXAMPLES

None.