The node you are looking for is at
gnutls_x509_crt_get_preferred_hash_algorithm
.