+
+ /**
+ * Creates an array of ike_proposal_t's in this SA payload.
+ *
+ * An IKE proposal consist of transform of type ENCRYPTION_ALGORITHM,
+ * PSEUDO_RANDOM_FUNCTION, INTEGRITY_ALGORITHM and DIFFIE_HELLMAN_GROUP
+ *
+ * @param proposals the pointer to the first entry of ike_proposal_t's is set
+ * @param proposal_count the number of found proposals is written at this location
+ * @return
+ * - SUCCESS if an IKE proposal could be found
+ * - NOT_FOUND if no IKE proposal could be found
+ * - FAILED if a proposal does not contain all needed transforms
+ * for a IKE_PROPOSAL
+ */
+ status_t (*get_ike_proposals) (sa_payload_t *this, ike_proposal_t **proposals, size_t *proposal_count);