aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/sa/ike_sa.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/sa/ike_sa.h')
-rw-r--r--Source/charon/sa/ike_sa.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/charon/sa/ike_sa.h b/Source/charon/sa/ike_sa.h
index aa6c0d50f..8ea445b4e 100644
--- a/Source/charon/sa/ike_sa.h
+++ b/Source/charon/sa/ike_sa.h
@@ -26,6 +26,7 @@
#include <types.h>
#include <encoding/message.h>
+#include <encoding/payloads/proposal_substructure.h>
#include <sa/ike_sa_id.h>
#include <utils/logger.h>
#include <utils/randomizer.h>
@@ -171,14 +172,16 @@ struct protected_ike_sa_t {
void (*set_other_host) (protected_ike_sa_t *this,host_t *other_host);
/**
- * Sets the internal stored prf_t object.
+ * Creates all needed transform objects for given ike_sa_t using
+ * the informations stored in a proposal_substructure_t object
*
- * Allready existing object gets destroyed. object gets not cloned!
+ * Allready existing objects get destroyed.
*
* @param this calling object
- * @param prf pointer to the new prf_t object
+ * @param proposal proposal used to get informations for transform
+ * objects (algorithms, key lengths, etc.)
*/
- void (*set_prf) (protected_ike_sa_t *this,prf_t *prf);
+ status_t (*create_transforms_from_proposal) (protected_ike_sa_t *this,proposal_substructure_t *proposal);
/**
* Sets the last requested message.