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
25 gss_acquire_cred (OM_uint32
* minor_status
,
26 const gss_name_t desired_name
,
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
)
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
);
48 gss_inquire_cred (OM_uint32
* minor_status
,
49 const gss_cred_id_t cred_handle
,
52 gss_cred_usage_t
* cred_usage
, gss_OID_set
* mechanisms
)
57 gss_inquire_cred_by_mech (OM_uint32
* minor_status
,
58 const gss_cred_id_t cred_handle
,
59 const gss_OID mech_type
,
61 OM_uint32
* initiator_lifetime
,
62 OM_uint32
* acceptor_lifetime
,
63 gss_cred_usage_t
* cred_usage
)
68 gss_release_cred (OM_uint32
* minor_status
, gss_cred_id_t
* cred_handle
)