Aligned AR Identity types to IF-IMV 1.4 R5 draft

This commit is contained in:
Andreas Steffen
2013-06-24 00:23:50 +02:00
parent 69c4715bf8
commit 7867c1a315
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ METHOD(eap_method_t, initiate, status_t,
case EAP_TLS: case EAP_TLS:
case EAP_TTLS: case EAP_TTLS:
case EAP_PEAP: case EAP_PEAP:
auth_type = TNC_AUTH_CERT; auth_type = TNC_AUTH_X509_CERT;
break; break;
case EAP_MD5: case EAP_MD5:
case EAP_MSCHAPV2: case EAP_MSCHAPV2:
@@ -744,11 +744,11 @@ METHOD(tnccs_manager_t, get_attribute, TNC_Result,
subject_type = TNC_SUBJECT_USER; subject_type = TNC_SUBJECT_USER;
break; break;
case ID_RFC822_ADDR: case ID_RFC822_ADDR:
id_type = TNC_ID_RFC822_ADDR; id_type = TNC_ID_EMAIL_ADDR;
subject_type = TNC_SUBJECT_USER; subject_type = TNC_SUBJECT_USER;
break; break;
case ID_DER_ASN1_DN: case ID_DER_ASN1_DN:
id_type = TNC_ID_ASN1_DN; id_type = TNC_ID_X500_DN;
subject_type = TNC_SUBJECT_USER; subject_type = TNC_SUBJECT_USER;
break; break;
default: default:
+3 -3
View File
@@ -217,9 +217,9 @@ typedef TNC_Result (*TNC_IMV_ProvideBindFunctionPointer)(
#define TNC_ID_IPV4_ADDR 1 #define TNC_ID_IPV4_ADDR 1
#define TNC_ID_IPV6_ADDR 2 #define TNC_ID_IPV6_ADDR 2
#define TNC_ID_FQDN 3 #define TNC_ID_FQDN 3
#define TNC_ID_RFC822_ADDR 4 #define TNC_ID_EMAIL_ADDR 4
#define TNC_ID_USERNAME 5 #define TNC_ID_USERNAME 5
#define TNC_ID_ASN1_DN 6 #define TNC_ID_X500_DN 6
/* TNC Subject Types */ /* TNC Subject Types */
@@ -230,7 +230,7 @@ typedef TNC_Result (*TNC_IMV_ProvideBindFunctionPointer)(
/* TNC Authentication Types */ /* TNC Authentication Types */
#define TNC_AUTH_UNKNOWN 0 #define TNC_AUTH_UNKNOWN 0
#define TNC_AUTH_CERT 1 #define TNC_AUTH_X509_CERT 1
#define TNC_AUTH_PASSWORD 2 #define TNC_AUTH_PASSWORD 2
#define TNC_AUTH_SIM 3 #define TNC_AUTH_SIM 3