X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=gssapi_eap.h;h=9f713ec0693cf2ddcfce12351bdc918223007040;hb=refs%2Fheads%2Fjson-name;hp=2c8cee054bef9595d43b614b18f39f3381e0a9ee;hpb=d4fe7ce93304facaf069792c347b01b25ab765ae;p=mech_eap.orig diff --git a/gssapi_eap.h b/gssapi_eap.h index 2c8cee0..9f713ec 100644 --- a/gssapi_eap.h +++ b/gssapi_eap.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, JANET(UK) + * Copyright (c) 2011, JANET(UK) * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -39,12 +39,42 @@ extern "C" { #endif /* __cplusplus */ -extern gss_OID GSS_EAP_MECHANISM; +/* + * GSS EAP mechanism OIDs. + */ extern gss_OID GSS_EAP_AES128_CTS_HMAC_SHA1_96_MECHANISM; extern gss_OID GSS_EAP_AES256_CTS_HMAC_SHA1_96_MECHANISM; -/* name type */ -extern gss_OID GSS_EAP_NT_PRINCIPAL_NAME; +/* + * Mechanism name OID. + */ +extern gss_OID GSS_EAP_NT_EAP_NAME; + +/* + * The libradsec configuration file; defaults to radsec.conf + * in the system configuration directory if unspecified. + */ +extern gss_OID GSS_EAP_CRED_SET_RADIUS_CONFIG_FILE; + +/* + * The stanza in the libradsec configuration file; defaults + * to "gss-eap" if unspecified. + */ +extern gss_OID GSS_EAP_CRED_SET_RADIUS_CONFIG_STANZA; + +/* + * Flags as a 32-bit integer in network byte order, + * followed by a boolean octet indicating whether to + * clear the specified flags (if absent, defaults to + * FALSE, ie. set flags). + */ +extern gss_OID GSS_EAP_CRED_SET_CRED_FLAG; + +/* + * Credentials flag indicating the local attributes + * processing should be skipped. + */ +#define GSS_EAP_DISABLE_LOCAL_ATTRS_FLAG 0x00000001 #ifdef __cplusplus }