get_fingerprint


Description:

[ CCode ( array_length_pos = 1.1 , array_length_type = "gsize" ) ]
public unowned uint8[] get_fingerprint (ChecksumType type)

Calculate the fingerprint for this certificate.

The caller should free the returned data using g_free when it is no longer required.

Parameters:

this

a Certificate

type

the type of algorithm for the fingerprint.

n_length

The length of the resulting fingerprint.

Returns:

the raw binary fingerprint