mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
authenticator: Add optional method to set IntAuth data
This commit is contained in:
parent
515b9303de
commit
91f09b8d25
@ -168,6 +168,16 @@ struct authenticator_t {
|
|||||||
*/
|
*/
|
||||||
void (*use_ppk)(authenticator_t *this, chunk_t ppk, bool no_ppk_auth);
|
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.
|
* Check if the authenticator is capable of mutual authentication.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user