Gcr.Certificate.prototype.get_fingerprint
function get_fingerprint(type: GLib.ChecksumType): [return_value: ByteArray, n_length: Number(gsize)] {
// Gjs wrapper for gcr_certificate_get_fingerprint()
}
Calculate the fingerprint for this certificate.
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.
- return_value
the raw binary fingerprint
- n_length
The length of the resulting fingerprint.