diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-03-22 10:37:49 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-03-22 10:37:49 +0100 |
commit | a1bc67d6c9ac3fc6ac7ea7fef63bb5528181b34c (patch) | |
tree | 3e9a6d78da4b7a07349d19c9a0718afd42632526 /src/libimcv/imv/imv_state.h | |
parent | 3db17b0ccc80b8de9e170f41ba53c96a8ad5fd6a (diff) | |
download | strongswan-a1bc67d6c9ac3fc6ac7ea7fef63bb5528181b34c.tar.bz2 strongswan-a1bc67d6c9ac3fc6ac7ea7fef63bb5528181b34c.tar.xz |
Switch encoding of AR Identity Value from binary to UTF-8
Diffstat (limited to 'src/libimcv/imv/imv_state.h')
-rw-r--r-- | src/libimcv/imv/imv_state.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/libimcv/imv/imv_state.h b/src/libimcv/imv/imv_state.h index 5a818e662..d1a87d2d7 100644 --- a/src/libimcv/imv/imv_state.h +++ b/src/libimcv/imv/imv_state.h @@ -80,16 +80,19 @@ struct imv_state_t { /** * Set Access Requestor ID * - * @param ar_id Access Requestor ID (is not going to be cloned) + * @param id_type Access Requestor TCG Standard ID Type + * @param id_value Access Requestor TCG Standard ID Value + * */ - void (*set_ar_id)(imv_state_t *this, identification_t *ar_id); + void (*set_ar_id)(imv_state_t *this, u_int32_t id_type, chunk_t id_value); /** * Get Access Requestor ID * - * @return Access Requestor ID + * @param id_type Access Requestor TCG Standard ID Type + * @return Access Requestor TCG Standard ID Value */ - identification_t* (*get_ar_id)(imv_state_t *this); + chunk_t (*get_ar_id)(imv_state_t *this, u_int32_t *id_type); /** * Change the connection state |