nabto_client_connection_get_client_fingerprint()

DESCRIPTION

Get the fingerprint of the client public key used for this connection.

DECLARATION

NABTO_CLIENT_DECL_PREFIX NabtoClientError NABTO_CLIENT_API
nabto_client_connection_get_client_fingerprint(NabtoClientConnection* connection, char** fingerprintHex)

PARAMETERS

connection:
[in] The connection.
fingerprint:
[out] The fingerprint, the fingerprint has to be freed using nabto_client_string_free after use.

RETURNS

  • NABTO_CLIENT_EC_OK: if the fingerprint was copied to the fingerprint parameter.
  • NABTO_CLIENT_EC_INVALID_STATE: if no client private key is set.