1gss_context_time(G3eGnSeSr)ic Security Services API Library Fungcstsi_ocnosntext_time(3GSS)
2
3
4

NAME

6       gss_context_time - determine how long a context will remain valid
7

SYNOPSIS

9       cc [ flag... ] file... -lgss  [ library... ]
10       #include <gssapi/gssapi.h>
11
12       OM_uint32 gss_context_time(OM_uint32 *minor_status,
13            gss_ctx_id_t *context_handle,OM_uint32 *time_rec);
14
15

DESCRIPTION

17       The  gss_context_time()  function  determines the number of seconds for
18       which the specified context will remain valid.
19

PARAMETERS

21       The parameter descriptions for gss_context_time() are as follows:
22
23       minor_status      A mechanism-specific status code.
24
25
26       context_handle    A read-only  value.  Identifies  the  context  to  be
27                         interrogated.
28
29
30       time_rec          Modifies  the  number  of  seconds  that  the context
31                         remains valid.  If the context has  already  expired,
32                         returns zero.
33
34

ERRORS

36       The  gss_context_time()  function  returns  one of the following status
37       codes:
38
39       GSS_S_COMPLETE           Successful completion.
40
41
42       GSS_S_CONTEXT_EXPIRED    The context has already expired.
43
44
45       GSS_S_NO_CONTEXT         The context_handle parameter did not  identify
46                                a valid context.
47
48
49       GSS_S_FAILURE            The underlying mechanism detected an error for
50                                which no specific GSS status code is  defined.
51                                The mechanism-specific status code reported by
52                                means of the  minor_status  parameter  details
53                                the error condition.
54
55

ATTRIBUTES

57       See attributes(5) for descriptions of the following attributes:
58
59
60
61
62       ┌─────────────────────────────┬─────────────────────────────┐
63       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
64       ├─────────────────────────────┼─────────────────────────────┤
65       │Availability                 │SUNWgss (32-bit)             │
66       ├─────────────────────────────┼─────────────────────────────┤
67       │                             │SUNWgssx (64-bit)            │
68       ├─────────────────────────────┼─────────────────────────────┤
69       │MT Level                     │Safe                         │
70       └─────────────────────────────┴─────────────────────────────┘
71

SEE ALSO

73       gss_init_sec_context(3GSS),               gss_accept_sec_context(3GSS),
74       gss_delete_sec_context(3GSS),          gss_process_context_token(3GSS),
75       gss_inquire_context(3GSS),                   gss_wrap_size_limit(3GSS),
76       gss_export_sec_context(3GSS),             gss_import_sec_context(3GSS),
77       attributes(5)
78
79
80       Solaris Security for Developers Guide
81
82
83
84SunOS 5.11                        15 Jan 2003           gss_context_time(3GSS)
Impressum