The node you are looking for is at
gnutls_decode_ber_digest_info
.