2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License, Version 1.0 only 2N/A * (the "License"). You may not use this file except in compliance 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * ident "%Z%%M% %I% %E% SMI" 2N/A * Copyright (c) 1997, by Sun Microsystems, Inc. 2N/A * All rights reserved. 2N/A * Diffie-Hellman GSS protocol descriptions 2N/A% * Copyright (c) 1997, by Sun Microsystems, Inc. 2N/A% * All rights reserved. 2N/A% * Diffie-Hellman GSS protocol descriptions 2N/A%#
pragma ident "%Z%%M% %I% %E% SMI" 2N/A unsigned flags;
/* Supported flag values from 2N/A * with the common key 2N/A * If conf_flag, then body is an encrypted 2N/A * serialize opaque msg<> 2N/A * We define a discriminated union to handle different versions of the 2N/A * protocal. We will always have a verifier follow this versioned body 2N/A * as the last member of the token. 2N/A * Currently there is only one version, DH_PROTO_VERSION (1). 2N/A * Note: All versions of the Diffie-Hellman protocol will provide a 2N/A * verifier as the last part of a token. In this way we will always 2N/A * be able to calucate the signature over the entire versioned body of the 2N/A * The token return from gss_init_sec_context will be as follows: 2N/A * 0x60 tag for APPLICATION 0, SEQUENCE (constructed, definite length) 2N/A * <length> DER encoded 2N/A * 0x06 tag for OID, the mech type. 2N/A * <mech type> DER encoded 2N/A * token_desc XDR encoded