Function

Valentcertificate_get_fingerprint

unstable since: 1.0

Declaration [src]

const char*
valent_certificate_get_fingerprint (
  GTlsCertificate* certificate
)

Description [src]

Get a SHA256 fingerprint hash of certificate.

Available since: 1.0

Parameters

certificate

Type: GTlsCertificate

A GTlsCertificate

The data is owned by the caller of the function.

Return value

Type: const char*

A SHA256 hash.

The data is owned by the called function.
The value is a NUL terminated UTF-8 string.