/usr/share/doc/libglobus-gssapi-gsi-dev/html/group__globus__gsi__gssapi__extensions__delegation.html is in libglobus-gssapi-gsi-doc 11.26-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>globus_gssapi_gsi: Delegation</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">globus_gssapi_gsi
 <span id="projectnumber">11.26</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li class="current"><a href="modules.html"><span>Modules</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Delegation<div class="ingroups"><a class="el" href="group__globus__gsi__gssapi.html">Globus GSSAPI</a> » <a class="el" href="group__globus__gsi__gssapi__extensions.html">GSSAPI Extensions</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>Delegation Functions.
<a href="#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for Delegation:</div>
<div class="dyncontent">
<center><table><tr><td><img src="group__globus__gsi__gssapi__extensions__delegation.png" border="0" alt="" usemap="#group____globus____gsi____gssapi____extensions____delegation"/>
<map name="group____globus____gsi____gssapi____extensions____delegation" id="group____globus____gsi____gssapi____extensions____delegation">
<area shape="rect" id="node2" href="group__globus__gsi__gssapi__extensions.html" title="extensions " alt="" coords="5,5,148,32"/>
</map>
</td></tr></table></center>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga7342de7f22918df5384fd35d9c75cb17"><td class="memItemLeft" align="right" valign="top">OM_uint32 GSS_CALLCONV </td><td class="memItemRight" valign="bottom"><a class="el" href="group__globus__gsi__gssapi__extensions__delegation.html#ga7342de7f22918df5384fd35d9c75cb17">gss_accept_delegation</a> (OM_uint32 *minor_status, const gss_ctx_id_t context_handle, const gss_OID_set extension_oids, const gss_buffer_set_t extension_buffers, const gss_buffer_t input_token, OM_uint32 req_flags, OM_uint32 time_req, OM_uint32 *time_rec, gss_cred_id_t *delegated_cred_handle, gss_OID *mech_type, gss_buffer_t output_token)</td></tr>
<tr class="memdesc:ga7342de7f22918df5384fd35d9c75cb17"><td class="mdescLeft"> </td><td class="mdescRight">Accept a delegated credential. <a href="#ga7342de7f22918df5384fd35d9c75cb17">More...</a><br /></td></tr>
<tr class="separator:ga7342de7f22918df5384fd35d9c75cb17"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga7366de6f54c9dffb9bad6007e9784ba2"><td class="memItemLeft" align="right" valign="top">OM_uint32 GSS_CALLCONV </td><td class="memItemRight" valign="bottom"><a class="el" href="group__globus__gsi__gssapi__extensions__delegation.html#ga7366de6f54c9dffb9bad6007e9784ba2">gss_init_delegation</a> (OM_uint32 *minor_status, const gss_ctx_id_t context_handle, const gss_cred_id_t cred_handle, const gss_OID desired_mech, const gss_OID_set extension_oids, const gss_buffer_set_t extension_buffers, const gss_buffer_t input_token, OM_uint32 req_flags, OM_uint32 time_req, gss_buffer_t output_token)</td></tr>
<tr class="memdesc:ga7366de6f54c9dffb9bad6007e9784ba2"><td class="mdescLeft"> </td><td class="mdescRight">Initiate Delegation. <a href="#ga7366de6f54c9dffb9bad6007e9784ba2">More...</a><br /></td></tr>
<tr class="separator:ga7366de6f54c9dffb9bad6007e9784ba2"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Delegation Functions. </p>
<p>Functions in this section allow delegation to occur outside of the context initiation handshake. </p>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga7342de7f22918df5384fd35d9c75cb17"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">OM_uint32 GSS_CALLCONV gss_accept_delegation </td>
<td>(</td>
<td class="paramtype">OM_uint32 * </td>
<td class="paramname"><em>minor_status</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const gss_ctx_id_t </td>
<td class="paramname"><em>context_handle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const gss_OID_set </td>
<td class="paramname"><em>extension_oids</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const gss_buffer_set_t </td>
<td class="paramname"><em>extension_buffers</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const gss_buffer_t </td>
<td class="paramname"><em>input_token</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">OM_uint32 </td>
<td class="paramname"><em>req_flags</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">OM_uint32 </td>
<td class="paramname"><em>time_req</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">OM_uint32 * </td>
<td class="paramname"><em>time_rec</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">gss_cred_id_t * </td>
<td class="paramname"><em>delegated_cred_handle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">gss_OID * </td>
<td class="paramname"><em>mech_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">gss_buffer_t </td>
<td class="paramname"><em>output_token</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Accept a delegated credential. </p>
<p>This functions drives the accepting side of the credential delegation process. It is expected to be called in tandem with the gss_init_delegation function.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">minor_status</td><td>The minor status returned by this function. This parameter will be 0 upon success. </td></tr>
<tr><td class="paramname">context_handle</td><td>The security context over which the credential is delegated. </td></tr>
<tr><td class="paramname">extension_oids</td><td>A set of extension OIDs corresponding to buffers in the extension_buffers parameter below. May be GSS_C_NO_BUFFER_SET. Currently not used. </td></tr>
<tr><td class="paramname">extension_buffers</td><td>A set of extension buffers corresponding to OIDs in the extension_oids parameter above. May be GSS_C_NO_BUFFER_SET. Currently not used. </td></tr>
<tr><td class="paramname">input_token</td><td>The token that was produced by a prior call to gss_init_delegation. </td></tr>
<tr><td class="paramname">req_flags</td><td>Flags that modify the behavior of the function. Currently only GSS_C_GLOBUS_SSL_COMPATIBLE is checked for. This flag results in tokens that aren't wrapped. </td></tr>
<tr><td class="paramname">time_req</td><td>The requested period of validity (seconds) of the delegated credential. Currently a NO-OP. </td></tr>
<tr><td class="paramname">time_rec</td><td>This parameter will contain the received period of validity of the delegated credential upon success. May be NULL. </td></tr>
<tr><td class="paramname">delegated_cred_handle</td><td>This parameter will contain the delegated credential upon success. </td></tr>
<tr><td class="paramname">mech_type</td><td>Returns the security mechanism upon success. Currently not implemented. May be NULL. </td></tr>
<tr><td class="paramname">output_token</td><td>A token that should be passed to gss_init_delegation if the return value is GSS_S_CONTINUE_NEEDED. </td></tr>
</table>
</dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<tr><td class="paramname">GSS_S_COMPLETE</td><td>Successful completion </td></tr>
<tr><td class="paramname">GSS_S_CONTINUE_NEEDED</td><td>The function needs to be called again. </td></tr>
<tr><td class="paramname">GSS_S_FAILURE</td><td>Failure </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga7366de6f54c9dffb9bad6007e9784ba2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">OM_uint32 GSS_CALLCONV gss_init_delegation </td>
<td>(</td>
<td class="paramtype">OM_uint32 * </td>
<td class="paramname"><em>minor_status</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const gss_ctx_id_t </td>
<td class="paramname"><em>context_handle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const gss_cred_id_t </td>
<td class="paramname"><em>cred_handle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const gss_OID </td>
<td class="paramname"><em>desired_mech</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const gss_OID_set </td>
<td class="paramname"><em>extension_oids</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const gss_buffer_set_t </td>
<td class="paramname"><em>extension_buffers</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const gss_buffer_t </td>
<td class="paramname"><em>input_token</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">OM_uint32 </td>
<td class="paramname"><em>req_flags</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">OM_uint32 </td>
<td class="paramname"><em>time_req</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">gss_buffer_t </td>
<td class="paramname"><em>output_token</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Initiate Delegation. </p>
<p>This functions drives the initiating side of the credential delegation process. It is expected to be called in tandem with the gss_accept_delegation function.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">minor_status</td><td>The minor status returned by this function. This parameter will be 0 upon success. </td></tr>
<tr><td class="paramname">context_handle</td><td>The security context over which the credential is delegated. </td></tr>
<tr><td class="paramname">cred_handle</td><td>The credential to be delegated. May be GSS_C_NO_CREDENTIAL in which case the credential associated with the security context is used. </td></tr>
<tr><td class="paramname">desired_mech</td><td>The desired security mechanism. Currently not used. May be GSS_C_NO_OID. </td></tr>
<tr><td class="paramname">extension_oids</td><td>A set of extension OIDs corresponding to buffers in the extension_buffers parameter below. The extensions specified will be added to the delegated credential. May be GSS_C_NO_BUFFER_SET. </td></tr>
<tr><td class="paramname">extension_buffers</td><td>A set of extension buffers corresponding to OIDs in the extension_oids parameter above. May be GSS_C_NO_BUFFER_SET. </td></tr>
<tr><td class="paramname">input_token</td><td>The token that was produced by a prior call to gss_accept_delegation. This parameter will be ignored the first time this function is called. </td></tr>
<tr><td class="paramname">req_flags</td><td>Flags that modify the behavior of the function. Currently only GSS_C_GLOBUS_SSL_COMPATIBLE and GSS_C_GLOBUS_LIMITED_DELEG_PROXY_FLAG are checked for. The GSS_C_GLOBUS_SSL_COMPATIBLE flag results in tokens that aren't wrapped and GSS_C_GLOBUS_LIMITED_DELEG_PROXY_FLAG causes the delegated proxy to be limited (requires that no extensions are specified.</td></tr>
<tr><td class="paramname">time_req</td><td>The requested period of validity (seconds) of the delegated credential. Passing a time_req of 0 cause the delegated credential to have the same lifetime as the credential that issued it. </td></tr>
<tr><td class="paramname">output_token</td><td>A token that should be passed to gss_accept_delegation if the return value is GSS_S_CONTINUE_NEEDED. </td></tr>
</table>
</dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<tr><td class="paramname">GSS_S_COMPLETE</td><td>Success </td></tr>
<tr><td class="paramname">GSS_S_CONTINUE_NEEDED</td><td>This function needs to be called again. </td></tr>
<tr><td class="paramname">GSS_S_FAILURE</td><td>upon failure </td></tr>
</table>
</dd>
</dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
|