diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-10-28 15:31:29 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-10-28 15:31:29 +0000 |
commit | af6d6bb954c7e3e8690c1d13ee73693aab68418b (patch) | |
tree | 6f4544b673cf85a5a406ed896da7d2c4615e5ba8 /src/charon/config | |
parent | 76adc06e52992daf063be92e872d2e0555bf3ebb (diff) | |
download | strongswan-af6d6bb954c7e3e8690c1d13ee73693aab68418b.tar.bz2 strongswan-af6d6bb954c7e3e8690c1d13ee73693aab68418b.tar.xz |
added methods get_my_ca() and get_other_ca()
Diffstat (limited to 'src/charon/config')
-rw-r--r-- | src/charon/config/policies/policy.h | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/src/charon/config/policies/policy.h b/src/charon/config/policies/policy.h index 84f5f2bc9..3980d1d85 100644 --- a/src/charon/config/policies/policy.h +++ b/src/charon/config/policies/policy.h @@ -117,7 +117,7 @@ struct policy_t { char *(*get_name) (policy_t *this); /** - * @brief Get own id to use for identification. + * @brief Get own id. * * Returned object is not getting cloned. * @@ -127,7 +127,7 @@ struct policy_t { identification_t *(*get_my_id) (policy_t *this); /** - * @brief Get id of communication partner. + * @brief Get peer id. * * Returned object is not getting cloned. * @@ -137,6 +137,26 @@ struct policy_t { identification_t *(*get_other_id) (policy_t *this); /** + * @brief Get own ca. + * + * Returned object is not getting cloned. + * + * @param this calling object + * @return own ca + */ + identification_t *(*get_my_ca) (policy_t *this); + + /** + * @brief Get peer ca. + * + * Returned object is not getting cloned. + * + * @param this calling object + * @return other ca + */ + identification_t *(*get_other_ca) (policy_t *this); + + /** * @brief Get the authentication method to use. * * @param this calling object |