| Top |
GMimeFilter *
g_mime_filter_checksum_new (GChecksumType type);
Creates a new checksum filter.
size_t g_mime_filter_checksum_get_digest (GMimeFilterChecksum *checksum,unsigned char *digest,size_t len);
Outputs the checksum digest into digest
.
gchar *
g_mime_filter_checksum_get_string (GMimeFilterChecksum *checksum);
Outputs the checksum digest as a newly allocated hexadecimal string.
the hexadecimal representation of the checksum. The returned string should be freed with g_free() when no longer needed.