/usr/share/doc/libglobus-gsi-proxy-ssl-dev/html/group__proxypolicy.html is in libglobus-gsi-proxy-ssl-doc 4.1-1.
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 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta name="robots" content="noindex">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<!-- THIS FILE IS AUTOMATICALLY GENERATED FROM THE GLOBUS SOURCE CODE
DO NOT MODIFY.
-->
<title>Globus Reference Manual</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- Generated by Doxygen 1.7.6.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
</ul>
</div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
initNavTree('group__proxypolicy.html','');
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> </div>
<div class="headertitle">
<div class="title">ProxyPolicy</div> </div>
</div><!--header-->
<div class="contents">
<h2><a name="nested-classes"></a>
Data Structures</h2>
<ul>
<li>struct <a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY_st</a>
</ul>
<h2><a name="member-group"></a>
Get a method for ASN1 conversion</h2>
<ul>
<li>ASN1_METHOD * <a class="el" href="group__proxypolicy.html#ga2263c526689a92a461db32641c763d7a">PROXYPOLICY_asn1_meth</a> ()
</ul>
<h2><a name="member-group"></a>
New</h2>
<ul>
<li><a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> * <a class="el" href="group__proxypolicy.html#gac4eb90b8d9eb33791c2cfe556f2e430d">PROXYPOLICY_new</a> ()
</ul>
<h2><a name="member-group"></a>
Free</h2>
<ul>
<li>void <a class="el" href="group__proxypolicy.html#ga0dc7949e3f26385bb8ddd5a97f1b4e8a">PROXYPOLICY_free</a> (<a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> *policy)
</ul>
<h2><a name="member-group"></a>
Duplicate</h2>
<ul>
<li><a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> * <a class="el" href="group__proxypolicy.html#ga2b9cd3151c57be059864397f10c9fde6">PROXYPOLICY_dup</a> (<a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> *policy)
</ul>
<h2><a name="member-group"></a>
Compare</h2>
<ul>
<li>int <a class="el" href="group__proxypolicy.html#ga16d3c1bbfbc9f7780e1787aa1dd5a9ba">PROXYPOLICY_cmp</a> (const <a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> *a, const <a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> *b)
</ul>
<h2><a name="member-group"></a>
Print to a BIO stream</h2>
<ul>
<li>int <a class="el" href="group__proxypolicy.html#ga001acc1bcaf9d81518b3ecbb031bc679">PROXYPOLICY_print</a> (BIO *bp, <a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> *policy)
</ul>
<h2><a name="member-group"></a>
Print to a File Stream</h2>
<ul>
<li>int <a class="el" href="group__proxypolicy.html#ga6556b71514c9967ea60fa1131c780182">PROXYPOLICY_print_fp</a> (FILE *fp, <a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> *policy)
</ul>
<h2><a name="member-group"></a>
Set the Policy Language Field</h2>
<ul>
<li>int <a class="el" href="group__proxypolicy.html#ga5a56cbedd60d383f7a6dda891c46c099">PROXYPOLICY_set_policy_language</a> (<a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> *policy, ASN1_OBJECT *policy_language)
</ul>
<h2><a name="member-group"></a>
Get the Policy Language Field</h2>
<ul>
<li>ASN1_OBJECT * <a class="el" href="group__proxypolicy.html#ga836c488c15354a15965f7fa92f09c71e">PROXYPOLICY_get_policy_language</a> (<a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> *policy)
</ul>
<h2><a name="member-group"></a>
Set the Policy Field</h2>
<ul>
<li>int <a class="el" href="group__proxypolicy.html#gac279ffee607380aa64be2201cf7cce57">PROXYPOLICY_set_policy</a> (<a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> *proxypolicy, unsigned char *policy, int length)
</ul>
<h2><a name="member-group"></a>
Get the Policy Field</h2>
<ul>
<li>unsigned char * <a class="el" href="group__proxypolicy.html#ga22604518fec4b14d764181c131f42381">PROXYPOLICY_get_policy</a> (<a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> *policy, int *length)
</ul>
<h2><a name="member-group"></a>
Convert from Internal to DER encoded form</h2>
<ul>
<li>int <a class="el" href="group__proxypolicy.html#gaca74fda50eec1e1da8c00d216d7857af">i2d_PROXYPOLICY</a> (<a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> *a, unsigned char **pp)
</ul>
<h2><a name="member-group"></a>
Convert from DER encoded form to Internal</h2>
<ul>
<li><a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> * <a class="el" href="group__proxypolicy.html#ga173b7bc1d738a0e3145dc22dfedd7e24">d2i_PROXYPOLICY</a> (<a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> **a, unsigned char **pp, long length)
</ul>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<dl class="author"><dt><b>Author:</b></dt><dd>Sam Meder </dd>
<dd>
Sam Lang</dd></dl>
<p>The proxypolicy set of data structures and functions provides an interface to generating a PROXYPOLICY structure which is maintained as a field in the PROXYCERTINFO structure, and ultimately gets written to a DER encoded string.</p>
<dl class="see"><dt><b>See also:</b></dt><dd>Further Information about proxy policies is available in the <a href="http://www.ietf.org/rfc/rfc3820.txt">X.509 Proxy Certificate Profile</a> document. </dd></dl>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="ga2263c526689a92a461db32641c763d7a"></a><!-- doxytag: member="proxypolicy.c::PROXYPOLICY_asn1_meth" ref="ga2263c526689a92a461db32641c763d7a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ASN1_METHOD* <a class="el" href="group__proxypolicy.html#ga2263c526689a92a461db32641c763d7a">PROXYPOLICY_asn1_meth</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates an ASN1_METHOD structure, which contains pointers to routines that convert any PROXYPOLICY structure to its associated ASN1 DER encoded form and vice-versa. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the ASN1_METHOD object </dd></dl>
</div>
</div>
<a class="anchor" id="gac4eb90b8d9eb33791c2cfe556f2e430d"></a><!-- doxytag: member="proxypolicy.c::PROXYPOLICY_new" ref="gac4eb90b8d9eb33791c2cfe556f2e430d" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a>* <a class="el" href="group__proxypolicy.html#gac4eb90b8d9eb33791c2cfe556f2e430d">PROXYPOLICY_new</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Allocates and initializes a new PROXYPOLICY structure. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>pointer to the new PROXYPOLICY </dd></dl>
</div>
</div>
<a class="anchor" id="ga0dc7949e3f26385bb8ddd5a97f1b4e8a"></a><!-- doxytag: member="proxypolicy.c::PROXYPOLICY_free" ref="ga0dc7949e3f26385bb8ddd5a97f1b4e8a" args="(PROXYPOLICY *policy)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="group__proxypolicy.html#ga0dc7949e3f26385bb8ddd5a97f1b4e8a">PROXYPOLICY_free</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> * </td>
<td class="paramname"><em>policy</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Frees a PROXYPOLICY. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">policy</td><td>the proxy policy to free </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga2b9cd3151c57be059864397f10c9fde6"></a><!-- doxytag: member="proxypolicy.c::PROXYPOLICY_dup" ref="ga2b9cd3151c57be059864397f10c9fde6" args="(PROXYPOLICY *policy)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a>* <a class="el" href="group__proxypolicy.html#ga2b9cd3151c57be059864397f10c9fde6">PROXYPOLICY_dup</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> * </td>
<td class="paramname"><em>policy</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Makes a copy of the proxypolicy - this function allocates space for a new PROXYPOLICY, so the returned PROXYPOLICY must be freed when its no longer needed. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">policy</td><td>the proxy policy to copy</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the new PROXYPOLICY </dd></dl>
</div>
</div>
<a class="anchor" id="ga16d3c1bbfbc9f7780e1787aa1dd5a9ba"></a><!-- doxytag: member="proxypolicy.c::PROXYPOLICY_cmp" ref="ga16d3c1bbfbc9f7780e1787aa1dd5a9ba" args="(const PROXYPOLICY *a, const PROXYPOLICY *b)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="group__proxypolicy.html#ga16d3c1bbfbc9f7780e1787aa1dd5a9ba">PROXYPOLICY_cmp</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> * </td>
<td class="paramname"><em>a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> * </td>
<td class="paramname"><em>b</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Compares two PROXYPOLICY structs for equality This function first compares the policy language numeric id's, if they're equal, it then compares the two policies. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 if equal, nonzero if not </dd></dl>
</div>
</div>
<a class="anchor" id="ga001acc1bcaf9d81518b3ecbb031bc679"></a><!-- doxytag: member="proxypolicy.c::PROXYPOLICY_print" ref="ga001acc1bcaf9d81518b3ecbb031bc679" args="(BIO *bp, PROXYPOLICY *policy)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="group__proxypolicy.html#ga001acc1bcaf9d81518b3ecbb031bc679">PROXYPOLICY_print</a> </td>
<td>(</td>
<td class="paramtype">BIO * </td>
<td class="paramname"><em>bp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> * </td>
<td class="paramname"><em>policy</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Prints the PROXYPOLICY struct using the BIO stream. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">bp</td><td>the BIO stream to print to </td></tr>
<tr><td class="paramname">policy</td><td>the PROXYPOLICY to print</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>1 on success, 0 on error </dd></dl>
</div>
</div>
<a class="anchor" id="ga6556b71514c9967ea60fa1131c780182"></a><!-- doxytag: member="proxypolicy.c::PROXYPOLICY_print_fp" ref="ga6556b71514c9967ea60fa1131c780182" args="(FILE *fp, PROXYPOLICY *policy)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="group__proxypolicy.html#ga6556b71514c9967ea60fa1131c780182">PROXYPOLICY_print_fp</a> </td>
<td>(</td>
<td class="paramtype">FILE * </td>
<td class="paramname"><em>fp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> * </td>
<td class="paramname"><em>policy</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Prints the PROXYPOLICY to the file stream FILE*. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">fp</td><td>the FILE* stream to print to </td></tr>
<tr><td class="paramname">policy</td><td>the PROXYPOLICY to print</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>number of bytes printed, -2 or -1 on error </dd></dl>
</div>
</div>
<a class="anchor" id="ga5a56cbedd60d383f7a6dda891c46c099"></a><!-- doxytag: member="proxypolicy.c::PROXYPOLICY_set_policy_language" ref="ga5a56cbedd60d383f7a6dda891c46c099" args="(PROXYPOLICY *policy, ASN1_OBJECT *policy_language)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="group__proxypolicy.html#ga5a56cbedd60d383f7a6dda891c46c099">PROXYPOLICY_set_policy_language</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> * </td>
<td class="paramname"><em>policy</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">ASN1_OBJECT * </td>
<td class="paramname"><em>policy_language</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the policy language of the PROXYPOLICY. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">policy</td><td>the PROXYPOLICY to set the policy language of </td></tr>
<tr><td class="paramname">policy_language</td><td>the policy language to set it to</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>1 on success, 0 on error </dd></dl>
</div>
</div>
<a class="anchor" id="ga836c488c15354a15965f7fa92f09c71e"></a><!-- doxytag: member="proxypolicy.c::PROXYPOLICY_get_policy_language" ref="ga836c488c15354a15965f7fa92f09c71e" args="(PROXYPOLICY *policy)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ASN1_OBJECT* <a class="el" href="group__proxypolicy.html#ga836c488c15354a15965f7fa92f09c71e">PROXYPOLICY_get_policy_language</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> * </td>
<td class="paramname"><em>policy</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the policy language of the PROXYPOLICY. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">policy</td><td>the proxy policy to get the policy language of</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the policy language as an ASN1_OBJECT </dd></dl>
</div>
</div>
<a class="anchor" id="gac279ffee607380aa64be2201cf7cce57"></a><!-- doxytag: member="proxypolicy.c::PROXYPOLICY_set_policy" ref="gac279ffee607380aa64be2201cf7cce57" args="(PROXYPOLICY *proxypolicy, unsigned char *policy, int length)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="group__proxypolicy.html#gac279ffee607380aa64be2201cf7cce57">PROXYPOLICY_set_policy</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> * </td>
<td class="paramname"><em>proxypolicy</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned char * </td>
<td class="paramname"><em>policy</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>length</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the policy of the PROXYPOLICY. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">proxypolicy</td><td>the proxy policy to set the policy of </td></tr>
<tr><td class="paramname">policy</td><td>the policy to set it to </td></tr>
<tr><td class="paramname">length</td><td>the length of the policy</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>1 on success, 0 on error </dd></dl>
</div>
</div>
<a class="anchor" id="ga22604518fec4b14d764181c131f42381"></a><!-- doxytag: member="proxypolicy.c::PROXYPOLICY_get_policy" ref="ga22604518fec4b14d764181c131f42381" args="(PROXYPOLICY *policy, int *length)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned char* <a class="el" href="group__proxypolicy.html#ga22604518fec4b14d764181c131f42381">PROXYPOLICY_get_policy</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> * </td>
<td class="paramname"><em>policy</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int * </td>
<td class="paramname"><em>length</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the policy of a PROXYPOLICY. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">policy</td><td>the PROXYPOLICY to get the policy of </td></tr>
<tr><td class="paramname">length</td><td>the length of the returned policy - this value gets set by this function</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the policy </dd></dl>
</div>
</div>
<a class="anchor" id="gaca74fda50eec1e1da8c00d216d7857af"></a><!-- doxytag: member="proxypolicy.c::i2d_PROXYPOLICY" ref="gaca74fda50eec1e1da8c00d216d7857af" args="(PROXYPOLICY *a, unsigned char **pp)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="group__proxypolicy.html#gaca74fda50eec1e1da8c00d216d7857af">i2d_PROXYPOLICY</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> * </td>
<td class="paramname"><em>a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned char ** </td>
<td class="paramname"><em>pp</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Converts a PROXYPOLICY from its internal structure to a DER encoded form. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">a</td><td>the PROXYPOLICY to convert </td></tr>
<tr><td class="paramname">pp</td><td>the buffer to put the DER encoding in</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the length of the DER encoding in bytes </dd></dl>
</div>
</div>
<a class="anchor" id="ga173b7bc1d738a0e3145dc22dfedd7e24"></a><!-- doxytag: member="proxypolicy.c::d2i_PROXYPOLICY" ref="ga173b7bc1d738a0e3145dc22dfedd7e24" args="(PROXYPOLICY **a, unsigned char **pp, long length)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a>* <a class="el" href="group__proxypolicy.html#ga173b7bc1d738a0e3145dc22dfedd7e24">d2i_PROXYPOLICY</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structPROXYPOLICY__st.html">PROXYPOLICY</a> ** </td>
<td class="paramname"><em>a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned char ** </td>
<td class="paramname"><em>pp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long </td>
<td class="paramname"><em>length</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Converts the PROXYPOLICY from its DER encoded form to an internal PROXYPOLICY structure. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">a</td><td>the PROXYPOLICY struct to set </td></tr>
<tr><td class="paramname">pp</td><td>the DER encoding to get the PROXYPOLICY from </td></tr>
<tr><td class="paramname">length</td><td>the length of the DER encoding</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the resulting PROXYPOLICY in its internal structure form - this variable has been allocated using _new routines, so it needs to be freed once its no longer used </dd></dl>
</div>
</div>
</div><!-- contents -->
</div>
<div id="nav-path" class="navpath">
<ul>
<hr>
<p align="center">
<a href="http://www.globus.org/toolkit/about.html" target="_top">about globus</a> |
<a href="http://www.globus.org/toolkit/" target="_top">globus toolkit</a> |
<a href="https://dev.globus.org/wiki/Welcome/" target="_top">dev.globus</a>
<br>
<br>
Comments? <a href="mailto:webmaster@globus.org">webmaster@globus.org</a>
</body>
</html>
|