Gcr.Certificate.prototype.get_fingerprint_hex
function get_fingerprint_hex(type: GLib.ChecksumType): String {
// Gjs wrapper for gcr_certificate_get_fingerprint_hex()
}
Calculate the fingerprint for this certificate, and return it as a hex string.
You can pass G_CHECKSUM_SHA1 or G_CHECKSUM_MD5 as the type parameter.
The caller should free the returned data using g_free() when it is no longer required.
- type
the type of algorithm for the fingerprint.
- Returns
an allocated hex string which contains the fingerprint.