Indent.
[shishi.git] / gss / cred.c
blob53cd4a0261f429179c142b33ec4c180bbaf6e2d6
1 /* cred.c Implementation of GSS-API Credential Management functions.
2 * Copyright (C) 2003 Simon Josefsson
4 * This file is part of Shishi.
6 * Shishi is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * Shishi is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with Shishi; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #include "internal.h"
24 OM_uint32
25 gss_acquire_cred (OM_uint32 * minor_status,
26 const gss_name_t desired_name,
27 OM_uint32 time_req,
28 const gss_OID_set desired_mechs,
29 gss_cred_usage_t cred_usage,
30 gss_cred_id_t * output_cred_handle,
31 gss_OID_set * actual_mechs, OM_uint32 * time_rec)
35 OM_uint32
36 gss_add_cred (OM_uint32 * minor_status,
37 const gss_cred_id_t input_cred_handle,
38 const gss_name_t desired_name,
39 const gss_OID desired_mech,
40 gss_cred_usage_t cred_usage,
41 OM_uint32 initiator_time_req,
42 OM_uint32 acceptor_time_req,
43 gss_cred_id_t * output_cred_handle,
44 gss_OID_set * actual_mechs,
45 OM_uint32 * initiator_time_rec, OM_uint32 * acceptor_time_rec);
47 OM_uint32
48 gss_inquire_cred (OM_uint32 * minor_status,
49 const gss_cred_id_t cred_handle,
50 gss_name_t * name,
51 OM_uint32 * lifetime,
52 gss_cred_usage_t * cred_usage, gss_OID_set * mechanisms)
56 OM_uint32
57 gss_inquire_cred_by_mech (OM_uint32 * minor_status,
58 const gss_cred_id_t cred_handle,
59 const gss_OID mech_type,
60 gss_name_t * name,
61 OM_uint32 * initiator_lifetime,
62 OM_uint32 * acceptor_lifetime,
63 gss_cred_usage_t * cred_usage)
67 OM_uint32
68 gss_release_cred (OM_uint32 * minor_status, gss_cred_id_t * cred_handle)