Gcr.fingerprint_from_attributes
function fingerprint_from_attributes(attrs: Gck.Attributes, checksum_type: GLib.ChecksumType): [return_value: ByteArray, n_fingerprint: Number(gsize)] { // Gjs wrapper for gcr_fingerprint_from_attributes() }
Create a key fingerprint for a certificate, public key or private key. Note that this is not a fingerprint of certificate data, which you would use Gcr.Certificate.prototype.get_fingerprint for.
- attrs
attributes for key or certificate
- checksum_type
the type of fingerprint to create
- return_value
the fingerprint or null if the input was invalid.
- n_fingerprint
the length of fingerprint returned