summaryrefslogtreecommitdiff
path: root/src/libtls/tls_handshake.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtls/tls_handshake.h')
-rw-r--r--src/libtls/tls_handshake.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libtls/tls_handshake.h b/src/libtls/tls_handshake.h
index 7fa660c58..7edb49ba0 100644
--- a/src/libtls/tls_handshake.h
+++ b/src/libtls/tls_handshake.h
@@ -98,6 +98,13 @@ struct tls_handshake_t {
identification_t* (*get_server_id)(tls_handshake_t *this);
/**
+ * Get the peers authentication information after completing the handshake.
+ *
+ * @return authentication data, internal data
+ */
+ auth_cfg_t* (*get_auth)(tls_handshake_t *this);
+
+ /**
* Destroy a tls_handshake_t.
*/
void (*destroy)(tls_handshake_t *this);