nabto_client_create_private_key()

DESCRIPTION

Create a private key and return the private key as a pem encoded string. The returned pointer should be freed with nabto_client_string_free. This is a utility function and does not alter the state of the client object.

DECLARATION

NABTO_CLIENT_DECL_PREFIX NabtoClientError NABTO_CLIENT_API
nabto_client_create_private_key(NabtoClient* context, char** privateKey)

PARAMETERS

context:
[in] The context
privateKey:
[out] The resulting private key.

RETURN VALUES

None.

EXAMPLES

None.