]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
authenticator: Add optional method to set IntAuth data
authorTobias Brunner <tobias@strongswan.org>
Tue, 20 Aug 2019 14:13:11 +0000 (16:13 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 7 Aug 2024 14:20:18 +0000 (16:20 +0200)
src/libcharon/sa/authenticator.h

index cafea503c2bf0cab881cc91e5fac06819b38b9c5..0e05f7435f2e64c3d57d55ab9fccb3fdb792fbcc 100644 (file)
@@ -168,6 +168,16 @@ struct authenticator_t {
         */
        void (*use_ppk)(authenticator_t *this, chunk_t ppk, bool no_ppk_auth);
 
+       /**
+        * Optional method to set authentication data for IKE_INTERMEDIATE
+        * exchanges.
+        *
+        * Has to be called before the final call to process()/build().
+        *
+        * @param int_auth              concatenated IntAuth_I|R data
+        */
+       void (*set_int_auth)(authenticator_t *this, chunk_t int_auth);
+
        /**
         * Check if the authenticator is capable of mutual authentication.
         *