gnutls-peer-status

gnutls-peer-status is a built-in function in `C source code'.

(gnutls-peer-status PROC)

Describe a GnuTLS PROC peer certificate and any warnings about it.
The return value is a property list with top-level keys :warnings and
:certificate. The :warnings entry is a list of symbols you can describe with
`gnutls-peer-status-warning-describe'.