Switch encoding of AR Identity Value from binary to UTF-8
This commit is contained in:
@@ -196,7 +196,7 @@ tncif_identity_t *tncif_identity_create(pen_type_t identity_type,
|
||||
|
||||
this = (private_tncif_identity_t*)tncif_identity_create_empty();
|
||||
this->identity_type = identity_type;
|
||||
this->identity_value = chunk_clone(identity_value);
|
||||
this->identity_value = identity_value;
|
||||
this->subject_type = subject_type;
|
||||
this->auth_type = auth_type;
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ tncif_identity_t* tncif_identity_create_empty(void);
|
||||
* Create an TNC Identity object from its components
|
||||
*
|
||||
* @param identity_type TNC Identity Type
|
||||
* @param identity_value TNC Identity Value
|
||||
* @param identity_value TNC Identity Value (not cloned by constructor)
|
||||
* @param subject_type TNC Subject Type
|
||||
* @param auth_type TNC Authentication Type
|
||||
*/
|
||||
|
||||
@@ -218,9 +218,8 @@ typedef TNC_Result (*TNC_IMV_ProvideBindFunctionPointer)(
|
||||
#define TNC_ID_IPV6_ADDR 2
|
||||
#define TNC_ID_FQDN 3
|
||||
#define TNC_ID_RFC822_ADDR 4
|
||||
#define TNC_ID_USER_NAME 5
|
||||
#define TNC_ID_DER_ASN1_DN 6
|
||||
#define TNC_ID_DER_ASN1_GN 7
|
||||
#define TNC_ID_USERNAME 5
|
||||
#define TNC_ID_ASN1_DN 6
|
||||
|
||||
/* TNC Subject Types */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user