1gss_indicate_mechGse(n3eGrSiSc)Security Services API Library Fgusnsc_tiinodniscate_mechs(3GSS)
2
3
4
6 gss_indicate_mechs - determine available security mechanisms
7
9 cc [ flag... ] file... -lgss [ library... ]
10 #include <gssapi/gssapi.h>
11
12 OM_uint32 gss_indicate_mechs(OM_uint32 *minor_status,
13 gss_OID_set *mech_set);
14
15
17 The gss_indicate_mechs() function enables an application to determine
18 available underlying security mechanisms.
19
21 The parameter descriptions for gss_indicate_mechs() follow:
22
23 minor_status A mechanism-specific status code.
24
25
26 mech_set Set of supported mechanisms. The returned gss_OID_set
27 value will be a dynamically-allocated OID set that
28 should be released by the caller after use with a call
29 to gss_release_oid_set(3GSS).
30
31
33 The gss_indicate_mechs() function may return the following status
34 codes:
35
36 GSS_S_COMPLETE Successful completion.
37
38
39 GSS_S_FAILURE The underlying mechanism detected an error for which
40 no specific GSS status code is defined. The mecha‐
41 nism-specific status code reported by means of the
42 minor_status parameter details the error condition.
43
44
46 See attributes(5) for descriptions of the following attributes:
47
48
49
50
51 ┌─────────────────────────────┬─────────────────────────────┐
52 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
53 ├─────────────────────────────┼─────────────────────────────┤
54 │Availability │SUNWgss (32-bit) │
55 ├─────────────────────────────┼─────────────────────────────┤
56 │ │SUNWgssx (64-bit) │
57 ├─────────────────────────────┼─────────────────────────────┤
58 │MT-Level │Safe │
59 └─────────────────────────────┴─────────────────────────────┘
60
62 gss_release_oid_set(3GSS), attributes(5)
63
64
65 Solaris Security for Developers Guide
66
67
68
69SunOS 5.11 14 Jan 2003 gss_indicate_mechs(3GSS)