char * vortex_tls_get_peer_ssl_digest ( VortexConnection connection,
VortexDigestMethod  method 
)

Allows to return the certificate digest for the remote peer, once an TLS session is activated (this is also called the certificate fingerprint).

Parameters:
connection The connection where a TLS session was activated, and a message digest is required over the certificate provided by the remote peer.
method This is the digest method. Current only VORTEX_SHA1 is supported.
Returns:
A newly allocated fingerprint or NULL if it fails. The function should return NULL. If NULL is returned there is a TLS error (certificate not provided) or the system is out of memory. If the case the value is defined,