2N/A * // Copyright (C) 2002 Microsoft Corporation 2N/A * // All rights reserved. 2N/A * // THIS CODE AND INFORMATION IS PROVIDED "AS IS" 2N/A * // WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 2N/A * // OR IMPLIED, INCLUDING BUT NOT LIMITED 2N/A * // TO THE IMPLIED WARRANTIES OF MERCHANTIBILITY 2N/A * // AND/OR FITNESS FOR A PARTICULAR PURPOSE. 2N/A * // Date - 10/08/2002 2N/A * // Author - Sanj Surati 2N/A * SPNEGO Token Parser Header File 2N/A * Contains the definitions required to properly parse a 2N/A * SPNEGO token using ASN.1 DER helpers. 2N/A/* Indicates if we copy data when creating a SPNEGO_TOKEN structure or not */ 2N/A * Internal flag dictates whether or not we will free the binary data when 2N/A * the SPNEG_TOKEN structure is destroyed 2N/A * Each SPNEGO Token Type can be broken down into a max of 4 separate elements. 2N/A/* Element offsets in the array */ 2N/A/* Response elements */ 2N/A/* Defines an individual SPNEGO Token Element. */ 2N/A /* SPNEGO_TOKEN_ELEMENT_UNAVAILABLE or SPNEGO_TOKEN_ELEMENT_AVAILABLE */ 2N/A unsigned char type;
/* Data Type */ 2N/A unsigned char *
pbData;
/* Points to actual Data */ 2N/A/* Structure size in case we later choose to extend the structure */ 2N/A * Packages a SPNEGO Token Encoding. There are two types of 2N/A * encodings: NegTokenInit and NegTokenTarg. Each encoding can 2N/A * contain up to four distinct, optional elements. 2N/A unsigned long ulFlags;
/* Internal Structure Flags, Reserved */ 2N/A /* SPNEGO_TOKEN_INIT or SPNEGO_TOKEN_TARG */ 2N/A/* Structure size in case we later choose to extend the structure */ 2N/A/* Function definitions */ 2N/A long,
long,
long *,
long *);
2N/A unsigned long,
unsigned char *,
unsigned long,
unsigned char *,
long,
long);
2N/A unsigned char *,
unsigned long,
unsigned char *,
unsigned long,
2N/A unsigned char *,
long,
long);
2N/A#
endif /* __SPNEGOPARSE_H__ */