nabto_client_connection_get_client_fingerprint_hex()

DEPRECATED

This function is deprecated and should not be used for new implementations. use nabto_client_connection_get_client_fingerprint

DESCRIPTION

Get the truncated fingerprint of the clients public key.

DECLARATION

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

PARAMETERS

connection:
[in] The connection.
fingerprintHex:
[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.