authenticator: Add optional method to set IntAuth data

This commit is contained in:
Tobias Brunner 2019-08-20 16:13:11 +02:00 committed by Andreas Steffen
parent 90fd6457c3
commit 9f1be4ef71

View File

@ -167,6 +167,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.
*