libtls: Add getters for TLS handshake authentication details
[strongswan.git] / src / libtls / tls.h
index fc1d9b9..f3dc198 100644 (file)
@@ -252,6 +252,13 @@ struct tls_t {
        chunk_t (*get_eap_msk)(tls_t *this);
 
        /**
+        * Get the authentication details after completing the handshake.
+        *
+        * @return                      authentication details, internal data
+        */
+       auth_cfg_t* (*get_auth)(tls_t *this);
+
+       /**
         * Destroy a tls_t.
         */
        void (*destroy)(tls_t *this);