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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/charon/sa/ike_sa.h b/Source/charon/sa/ike_sa.h
index 9402bf1d2..ffc9bd2f4 100644
--- a/Source/charon/sa/ike_sa.h
+++ b/Source/charon/sa/ike_sa.h
@@ -358,6 +358,16 @@ struct protected_ike_sa_t {
* @return SK_pr key
*/
chunk_t (*get_key_pr) (protected_ike_sa_t *this);
+
+ /**
+ * Gets the Shared key SK_pi.
+ *
+ * Returned value is not cloned!
+ *
+ * @param this calling object
+ * @return SK_pr key
+ */
+ chunk_t (*get_key_pi) (protected_ike_sa_t *this);
/**
* Resets message id counters and does destroy stored received and sent messages.