X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=gssapi_eap.h;h=9f713ec0693cf2ddcfce12351bdc918223007040;hb=refs%2Fheads%2Fjson-name;hp=20533d6facc33c6d0ae64e7553c7bf819eb6920f;hpb=8df7533a16abccca7dd2c1a03582e3fe7e9c9aca;p=mech_eap.orig diff --git a/gssapi_eap.h b/gssapi_eap.h index 20533d6..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,16 +39,45 @@ extern "C" { #endif /* __cplusplus */ -/* preferred mechanism */ -extern const gss_OID_desc *const gss_mech_eap; +/* + * 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; -/* concrete mechanisms */ -extern const gss_OID_desc *const gss_mech_eap_aes128_cts_hmac_sha1_96; -extern const gss_OID_desc *const gss_mech_eap_aes256_cts_hmac_sha1_96; +/* + * 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 } #endif /* __cplusplus */ #endif /* _GSSAPI_EAP_H_ */ -