154359Sroberto/* 254359Sroberto * Copyright (c) 2003, PADL Software Pty Ltd. 354359Sroberto * All rights reserved. 454359Sroberto * 554359Sroberto * Redistribution and use in source and binary forms, with or without 654359Sroberto * modification, are permitted provided that the following conditions 754359Sroberto * are met: 854359Sroberto * 954359Sroberto * 1. Redistributions of source code must retain the above copyright 1054359Sroberto * notice, this list of conditions and the following disclaimer. 1154359Sroberto * 1254359Sroberto * 2. Redistributions in binary form must reproduce the above copyright 1354359Sroberto * notice, this list of conditions and the following disclaimer in the 1454359Sroberto * documentation and/or other materials provided with the distribution. 1554359Sroberto * 1654359Sroberto * 3. Neither the name of PADL Software nor the names of its contributors 1754359Sroberto * may be used to endorse or promote products derived from this software 1854359Sroberto * without specific prior written permission. 1954359Sroberto * 2054359Sroberto * THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE AND CONTRIBUTORS ``AS IS'' AND 2154359Sroberto * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2254359Sroberto * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2354359Sroberto * ARE DISCLAIMED. IN NO EVENT SHALL PADL SOFTWARE OR CONTRIBUTORS BE LIABLE 2454359Sroberto * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2554359Sroberto * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2654359Sroberto * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2754359Sroberto * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2854359Sroberto * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2954359Sroberto * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3054359Sroberto * SUCH DAMAGE. 3154359Sroberto */ 3254359Sroberto 3354359Sroberto/* $Id$ */ 3454359Sroberto 3554359Sroberto#ifndef GSSAPI_CFX_H_ 3654359Sroberto#define GSSAPI_CFX_H_ 1 3754359Sroberto 3854359Sroberto/* 3954359Sroberto * Implementation of draft-ietf-krb-wg-gssapi-cfx-01.txt 4054359Sroberto */ 4154359Sroberto 4254359Srobertotypedef struct gss_cfx_mic_token_desc_struct { 4354359Sroberto u_char TOK_ID[2]; /* 04 04 */ 4454359Sroberto u_char Flags; 4554359Sroberto u_char Filler[5]; 4654359Sroberto u_char SND_SEQ[8]; 4754359Sroberto} gss_cfx_mic_token_desc, *gss_cfx_mic_token; 4854359Sroberto 4954359Srobertotypedef struct gss_cfx_wrap_token_desc_struct { 5054359Sroberto u_char TOK_ID[2]; /* 04 05 */ 5154359Sroberto u_char Flags; 5254359Sroberto u_char Filler; 5354359Sroberto u_char EC[2]; 5454359Sroberto u_char RRC[2]; 5554359Sroberto u_char SND_SEQ[8]; 5654359Sroberto} gss_cfx_wrap_token_desc, *gss_cfx_wrap_token; 5754359Sroberto 5854359Srobertotypedef struct gss_cfx_delete_token_desc_struct { 5954359Sroberto u_char TOK_ID[2]; /* 05 04 */ 6054359Sroberto u_char Flags; 6154359Sroberto u_char Filler[5]; 6254359Sroberto u_char SND_SEQ[8]; 6354359Sroberto} gss_cfx_delete_token_desc, *gss_cfx_delete_token; 6454359Sroberto 6554359Sroberto#endif /* GSSAPI_CFX_H_ */ 6654359Sroberto