/usr/share/gtk-doc/html/gss/gss-api.html is in gss-doc 1.0.3-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 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 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GNU Generic Security Service (GSS) API Reference Manual: api</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GNU Generic Security Service (GSS) API Reference Manual">
<link rel="up" href="intro.html" title="GNU Generic Security Service (GSS) API Reference Manual">
<link rel="prev" href="gss-gss.html" title="gss">
<link rel="next" href="gss-ext.html" title="ext">
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#gss-api.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="intro.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="gss-gss.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="gss-ext.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gss-api"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gss-api.top_of_page"></a>api</span></h2>
<p>api</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="gss-api.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-NO-NAME:CAPS" title="GSS_C_NO_NAME">GSS_C_NO_NAME</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-NO-BUFFER:CAPS" title="GSS_C_NO_BUFFER">GSS_C_NO_BUFFER</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-NO-OID:CAPS" title="GSS_C_NO_OID">GSS_C_NO_OID</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-NO-OID-SET:CAPS" title="GSS_C_NO_OID_SET">GSS_C_NO_OID_SET</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-NO-CONTEXT:CAPS" title="GSS_C_NO_CONTEXT">GSS_C_NO_CONTEXT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-NO-CREDENTIAL:CAPS" title="GSS_C_NO_CREDENTIAL">GSS_C_NO_CREDENTIAL</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-NO-CHANNEL-BINDINGS:CAPS" title="GSS_C_NO_CHANNEL_BINDINGS">GSS_C_NO_CHANNEL_BINDINGS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gss-api.html#GSS-CALLING-ERROR:CAPS" title="GSS_CALLING_ERROR()">GSS_CALLING_ERROR</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gss-api.html#GSS-ROUTINE-ERROR:CAPS" title="GSS_ROUTINE_ERROR()">GSS_ROUTINE_ERROR</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gss-api.html#GSS-SUPPLEMENTARY-INFO:CAPS" title="GSS_SUPPLEMENTARY_INFO()">GSS_SUPPLEMENTARY_INFO</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gss-api.html#GSS-ERROR:CAPS" title="GSS_ERROR()">GSS_ERROR</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-BAD-MECH:CAPS" title="GSS_S_BAD_MECH">GSS_S_BAD_MECH</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-BAD-NAME:CAPS" title="GSS_S_BAD_NAME">GSS_S_BAD_NAME</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-BAD-NAMETYPE:CAPS" title="GSS_S_BAD_NAMETYPE">GSS_S_BAD_NAMETYPE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-BAD-BINDINGS:CAPS" title="GSS_S_BAD_BINDINGS">GSS_S_BAD_BINDINGS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-BAD-STATUS:CAPS" title="GSS_S_BAD_STATUS">GSS_S_BAD_STATUS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-BAD-SIG:CAPS" title="GSS_S_BAD_SIG">GSS_S_BAD_SIG</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-NO-CRED:CAPS" title="GSS_S_NO_CRED">GSS_S_NO_CRED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-NO-CONTEXT:CAPS" title="GSS_S_NO_CONTEXT">GSS_S_NO_CONTEXT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-DEFECTIVE-TOKEN:CAPS" title="GSS_S_DEFECTIVE_TOKEN">GSS_S_DEFECTIVE_TOKEN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-DEFECTIVE-CREDENTIAL:CAPS" title="GSS_S_DEFECTIVE_CREDENTIAL">GSS_S_DEFECTIVE_CREDENTIAL</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-CREDENTIALS-EXPIRED:CAPS" title="GSS_S_CREDENTIALS_EXPIRED">GSS_S_CREDENTIALS_EXPIRED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-CONTEXT-EXPIRED:CAPS" title="GSS_S_CONTEXT_EXPIRED">GSS_S_CONTEXT_EXPIRED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-FAILURE:CAPS" title="GSS_S_FAILURE">GSS_S_FAILURE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-BAD-QOP:CAPS" title="GSS_S_BAD_QOP">GSS_S_BAD_QOP</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-UNAUTHORIZED:CAPS" title="GSS_S_UNAUTHORIZED">GSS_S_UNAUTHORIZED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-UNAVAILABLE:CAPS" title="GSS_S_UNAVAILABLE">GSS_S_UNAVAILABLE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-DUPLICATE-ELEMENT:CAPS" title="GSS_S_DUPLICATE_ELEMENT">GSS_S_DUPLICATE_ELEMENT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-NAME-NOT-MN:CAPS" title="GSS_S_NAME_NOT_MN">GSS_S_NAME_NOT_MN</a></td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-acquire-cred" title="gss_acquire_cred ()">gss_acquire_cred</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-release-cred" title="gss_release_cred ()">gss_release_cred</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-init-sec-context" title="gss_init_sec_context ()">gss_init_sec_context</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-accept-sec-context" title="gss_accept_sec_context ()">gss_accept_sec_context</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-process-context-token" title="gss_process_context_token ()">gss_process_context_token</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-delete-sec-context" title="gss_delete_sec_context ()">gss_delete_sec_context</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-context-time" title="gss_context_time ()">gss_context_time</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-get-mic" title="gss_get_mic ()">gss_get_mic</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-verify-mic" title="gss_verify_mic ()">gss_verify_mic</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-wrap" title="gss_wrap ()">gss_wrap</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-unwrap" title="gss_unwrap ()">gss_unwrap</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-display-status" title="gss_display_status ()">gss_display_status</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-indicate-mechs" title="gss_indicate_mechs ()">gss_indicate_mechs</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-compare-name" title="gss_compare_name ()">gss_compare_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-display-name" title="gss_display_name ()">gss_display_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-import-name" title="gss_import_name ()">gss_import_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-export-name" title="gss_export_name ()">gss_export_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-release-name" title="gss_release_name ()">gss_release_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-release-buffer" title="gss_release_buffer ()">gss_release_buffer</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-release-oid-set" title="gss_release_oid_set ()">gss_release_oid_set</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-inquire-cred" title="gss_inquire_cred ()">gss_inquire_cred</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-inquire-context" title="gss_inquire_context ()">gss_inquire_context</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-wrap-size-limit" title="gss_wrap_size_limit ()">gss_wrap_size_limit</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-add-cred" title="gss_add_cred ()">gss_add_cred</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-inquire-cred-by-mech" title="gss_inquire_cred_by_mech ()">gss_inquire_cred_by_mech</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-export-sec-context" title="gss_export_sec_context ()">gss_export_sec_context</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-import-sec-context" title="gss_import_sec_context ()">gss_import_sec_context</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-create-empty-oid-set" title="gss_create_empty_oid_set ()">gss_create_empty_oid_set</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-add-oid-set-member" title="gss_add_oid_set_member ()">gss_add_oid_set_member</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-test-oid-set-member" title="gss_test_oid_set_member ()">gss_test_oid_set_member</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-inquire-names-for-mech" title="gss_inquire_names_for_mech ()">gss_inquire_names_for_mech</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-inquire-mechs-for-name" title="gss_inquire_mechs_for_name ()">gss_inquire_mechs_for_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-canonicalize-name" title="gss_canonicalize_name ()">gss_canonicalize_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-duplicate-name" title="gss_duplicate_name ()">gss_duplicate_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-sign" title="gss_sign ()">gss_sign</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-verify" title="gss_verify ()">gss_verify</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-seal" title="gss_seal ()">gss_seal</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-unseal" title="gss_unseal ()">gss_unseal</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-inquire-saslname-for-mech" title="gss_inquire_saslname_for_mech ()">gss_inquire_saslname_for_mech</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-inquire-mech-for-saslname" title="gss_inquire_mech_for_saslname ()">gss_inquire_mech_for_saslname</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-oid-equal" title="gss_oid_equal ()">gss_oid_equal</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-encapsulate-token" title="gss_encapsulate_token ()">gss_encapsulate_token</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gss-api.html#gss-decapsulate-token" title="gss_decapsulate_token ()">gss_decapsulate_token</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gss-api.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="typedef_keyword">typedef</td>
<td class="function_name"><a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t">gss_ctx_id_t</a></td>
</tr>
<tr>
<td class="typedef_keyword">typedef</td>
<td class="function_name"><a class="link" href="gss-api.html#gss-cred-id-t" title="gss_cred_id_t">gss_cred_id_t</a></td>
</tr>
<tr>
<td class="typedef_keyword">typedef</td>
<td class="function_name"><a class="link" href="gss-api.html#gss-name-t" title="gss_name_t">gss_name_t</a></td>
</tr>
<tr>
<td class="typedef_keyword">typedef</td>
<td class="function_name"><a class="link" href="gss-api.html#gss-uint32" title="gss_uint32">gss_uint32</a></td>
</tr>
<tr>
<td class="typedef_keyword">typedef</td>
<td class="function_name"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32">OM_uint32</a></td>
</tr>
<tr>
<td class="typedef_keyword">typedef</td>
<td class="function_name"><a class="link" href="gss-api.html#gss-qop-t" title="gss_qop_t">gss_qop_t</a></td>
</tr>
<tr>
<td class="typedef_keyword">typedef</td>
<td class="function_name"><a class="link" href="gss-api.html#gss-cred-usage-t" title="gss_cred_usage_t">gss_cred_usage_t</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-DELEG-FLAG:CAPS" title="GSS_C_DELEG_FLAG">GSS_C_DELEG_FLAG</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-MUTUAL-FLAG:CAPS" title="GSS_C_MUTUAL_FLAG">GSS_C_MUTUAL_FLAG</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-REPLAY-FLAG:CAPS" title="GSS_C_REPLAY_FLAG">GSS_C_REPLAY_FLAG</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-SEQUENCE-FLAG:CAPS" title="GSS_C_SEQUENCE_FLAG">GSS_C_SEQUENCE_FLAG</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-CONF-FLAG:CAPS" title="GSS_C_CONF_FLAG">GSS_C_CONF_FLAG</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-INTEG-FLAG:CAPS" title="GSS_C_INTEG_FLAG">GSS_C_INTEG_FLAG</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-ANON-FLAG:CAPS" title="GSS_C_ANON_FLAG">GSS_C_ANON_FLAG</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-PROT-READY-FLAG:CAPS" title="GSS_C_PROT_READY_FLAG">GSS_C_PROT_READY_FLAG</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-TRANS-FLAG:CAPS" title="GSS_C_TRANS_FLAG">GSS_C_TRANS_FLAG</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-BOTH:CAPS" title="GSS_C_BOTH">GSS_C_BOTH</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-INITIATE:CAPS" title="GSS_C_INITIATE">GSS_C_INITIATE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-ACCEPT:CAPS" title="GSS_C_ACCEPT">GSS_C_ACCEPT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-GSS-CODE:CAPS" title="GSS_C_GSS_CODE">GSS_C_GSS_CODE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-MECH-CODE:CAPS" title="GSS_C_MECH_CODE">GSS_C_MECH_CODE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-UNSPEC:CAPS" title="GSS_C_AF_UNSPEC">GSS_C_AF_UNSPEC</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-LOCAL:CAPS" title="GSS_C_AF_LOCAL">GSS_C_AF_LOCAL</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-INET:CAPS" title="GSS_C_AF_INET">GSS_C_AF_INET</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-IMPLINK:CAPS" title="GSS_C_AF_IMPLINK">GSS_C_AF_IMPLINK</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-PUP:CAPS" title="GSS_C_AF_PUP">GSS_C_AF_PUP</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-CHAOS:CAPS" title="GSS_C_AF_CHAOS">GSS_C_AF_CHAOS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-NS:CAPS" title="GSS_C_AF_NS">GSS_C_AF_NS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-NBS:CAPS" title="GSS_C_AF_NBS">GSS_C_AF_NBS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-ECMA:CAPS" title="GSS_C_AF_ECMA">GSS_C_AF_ECMA</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-DATAKIT:CAPS" title="GSS_C_AF_DATAKIT">GSS_C_AF_DATAKIT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-CCITT:CAPS" title="GSS_C_AF_CCITT">GSS_C_AF_CCITT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-SNA:CAPS" title="GSS_C_AF_SNA">GSS_C_AF_SNA</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-DECnet" title="GSS_C_AF_DECnet">GSS_C_AF_DECnet</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-DLI:CAPS" title="GSS_C_AF_DLI">GSS_C_AF_DLI</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-LAT:CAPS" title="GSS_C_AF_LAT">GSS_C_AF_LAT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-HYLINK:CAPS" title="GSS_C_AF_HYLINK">GSS_C_AF_HYLINK</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-APPLETALK:CAPS" title="GSS_C_AF_APPLETALK">GSS_C_AF_APPLETALK</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-BSC:CAPS" title="GSS_C_AF_BSC">GSS_C_AF_BSC</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-DSS:CAPS" title="GSS_C_AF_DSS">GSS_C_AF_DSS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-OSI:CAPS" title="GSS_C_AF_OSI">GSS_C_AF_OSI</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-X25:CAPS" title="GSS_C_AF_X25">GSS_C_AF_X25</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-AF-NULLADDR:CAPS" title="GSS_C_AF_NULLADDR">GSS_C_AF_NULLADDR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-EMPTY-BUFFER:CAPS" title="GSS_C_EMPTY_BUFFER">GSS_C_EMPTY_BUFFER</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-NULL-OID:CAPS" title="GSS_C_NULL_OID">GSS_C_NULL_OID</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-NULL-OID-SET:CAPS" title="GSS_C_NULL_OID_SET">GSS_C_NULL_OID_SET</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-QOP-DEFAULT:CAPS" title="GSS_C_QOP_DEFAULT">GSS_C_QOP_DEFAULT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-INDEFINITE:CAPS" title="GSS_C_INDEFINITE">GSS_C_INDEFINITE</a></td>
</tr>
<tr>
<td class="variable_type">extern gss_OID </td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-NT-USER-NAME:CAPS" title="GSS_C_NT_USER_NAME">GSS_C_NT_USER_NAME</a></td>
</tr>
<tr>
<td class="variable_type">extern gss_OID </td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-NT-MACHINE-UID-NAME:CAPS" title="GSS_C_NT_MACHINE_UID_NAME">GSS_C_NT_MACHINE_UID_NAME</a></td>
</tr>
<tr>
<td class="variable_type">extern gss_OID </td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-NT-STRING-UID-NAME:CAPS" title="GSS_C_NT_STRING_UID_NAME">GSS_C_NT_STRING_UID_NAME</a></td>
</tr>
<tr>
<td class="variable_type">extern gss_OID </td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-NT-HOSTBASED-SERVICE-X:CAPS" title="GSS_C_NT_HOSTBASED_SERVICE_X">GSS_C_NT_HOSTBASED_SERVICE_X</a></td>
</tr>
<tr>
<td class="variable_type">extern gss_OID </td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-NT-HOSTBASED-SERVICE:CAPS" title="GSS_C_NT_HOSTBASED_SERVICE">GSS_C_NT_HOSTBASED_SERVICE</a></td>
</tr>
<tr>
<td class="variable_type">extern gss_OID </td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-NT-ANONYMOUS:CAPS" title="GSS_C_NT_ANONYMOUS">GSS_C_NT_ANONYMOUS</a></td>
</tr>
<tr>
<td class="variable_type">extern gss_OID </td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-NT-EXPORT-NAME:CAPS" title="GSS_C_NT_EXPORT_NAME">GSS_C_NT_EXPORT_NAME</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-COMPLETE:CAPS" title="GSS_S_COMPLETE">GSS_S_COMPLETE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-CALLING-ERROR-OFFSET:CAPS" title="GSS_C_CALLING_ERROR_OFFSET">GSS_C_CALLING_ERROR_OFFSET</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-ROUTINE-ERROR-OFFSET:CAPS" title="GSS_C_ROUTINE_ERROR_OFFSET">GSS_C_ROUTINE_ERROR_OFFSET</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-SUPPLEMENTARY-OFFSET:CAPS" title="GSS_C_SUPPLEMENTARY_OFFSET">GSS_C_SUPPLEMENTARY_OFFSET</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-CALLING-ERROR-MASK:CAPS" title="GSS_C_CALLING_ERROR_MASK">GSS_C_CALLING_ERROR_MASK</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-ROUTINE-ERROR-MASK:CAPS" title="GSS_C_ROUTINE_ERROR_MASK">GSS_C_ROUTINE_ERROR_MASK</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-C-SUPPLEMENTARY-MASK:CAPS" title="GSS_C_SUPPLEMENTARY_MASK">GSS_C_SUPPLEMENTARY_MASK</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-CALL-INACCESSIBLE-READ:CAPS" title="GSS_S_CALL_INACCESSIBLE_READ">GSS_S_CALL_INACCESSIBLE_READ</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-CALL-INACCESSIBLE-WRITE:CAPS" title="GSS_S_CALL_INACCESSIBLE_WRITE">GSS_S_CALL_INACCESSIBLE_WRITE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-CALL-BAD-STRUCTURE:CAPS" title="GSS_S_CALL_BAD_STRUCTURE">GSS_S_CALL_BAD_STRUCTURE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-BAD-MIC:CAPS" title="GSS_S_BAD_MIC">GSS_S_BAD_MIC</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-CONTINUE-NEEDED:CAPS" title="GSS_S_CONTINUE_NEEDED">GSS_S_CONTINUE_NEEDED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-DUPLICATE-TOKEN:CAPS" title="GSS_S_DUPLICATE_TOKEN">GSS_S_DUPLICATE_TOKEN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-OLD-TOKEN:CAPS" title="GSS_S_OLD_TOKEN">GSS_S_OLD_TOKEN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-UNSEQ-TOKEN:CAPS" title="GSS_S_UNSEQ_TOKEN">GSS_S_UNSEQ_TOKEN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gss-api.html#GSS-S-GAP-TOKEN:CAPS" title="GSS_S_GAP_TOKEN">GSS_S_GAP_TOKEN</a></td>
</tr>
<tr>
<td class="typedef_keyword">typedef</td>
<td class="function_name"><a class="link" href="gss-api.html#gss-const-buffer-t" title="gss_const_buffer_t">gss_const_buffer_t</a></td>
</tr>
<tr>
<td class="typedef_keyword">typedef</td>
<td class="function_name"><a class="link" href="gss-api.html#gss-const-ctx-id-t" title="gss_const_ctx_id_t">gss_const_ctx_id_t</a></td>
</tr>
<tr>
<td class="typedef_keyword">typedef</td>
<td class="function_name"><a class="link" href="gss-api.html#gss-const-cred-id-t" title="gss_const_cred_id_t">gss_const_cred_id_t</a></td>
</tr>
<tr>
<td class="typedef_keyword">typedef</td>
<td class="function_name"><a class="link" href="gss-api.html#gss-const-name-t" title="gss_const_name_t">gss_const_name_t</a></td>
</tr>
<tr>
<td class="typedef_keyword">typedef</td>
<td class="function_name"><a class="link" href="gss-api.html#gss-const-OID" title="gss_const_OID">gss_const_OID</a></td>
</tr>
<tr>
<td class="typedef_keyword">typedef</td>
<td class="function_name"><a class="link" href="gss-api.html#gss-const-OID-set" title="gss_const_OID_set">gss_const_OID_set</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gss-api.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="gss-api.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="GSS-C-NO-NAME:CAPS"></a><h3>GSS_C_NO_NAME</h3>
<pre class="programlisting">#define GSS_C_NO_NAME ((gss_name_t) 0)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NO-BUFFER:CAPS"></a><h3>GSS_C_NO_BUFFER</h3>
<pre class="programlisting">#define GSS_C_NO_BUFFER ((gss_buffer_t) 0)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NO-OID:CAPS"></a><h3>GSS_C_NO_OID</h3>
<pre class="programlisting">#define GSS_C_NO_OID ((gss_OID) 0)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NO-OID-SET:CAPS"></a><h3>GSS_C_NO_OID_SET</h3>
<pre class="programlisting">#define GSS_C_NO_OID_SET ((gss_OID_set) 0)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NO-CONTEXT:CAPS"></a><h3>GSS_C_NO_CONTEXT</h3>
<pre class="programlisting">#define GSS_C_NO_CONTEXT ((gss_ctx_id_t) 0)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NO-CREDENTIAL:CAPS"></a><h3>GSS_C_NO_CREDENTIAL</h3>
<pre class="programlisting">#define GSS_C_NO_CREDENTIAL ((gss_cred_id_t) 0)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NO-CHANNEL-BINDINGS:CAPS"></a><h3>GSS_C_NO_CHANNEL_BINDINGS</h3>
<pre class="programlisting">#define GSS_C_NO_CHANNEL_BINDINGS ((gss_channel_bindings_t) 0)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-CALLING-ERROR:CAPS"></a><h3>GSS_CALLING_ERROR()</h3>
<pre class="programlisting">#define GSS_CALLING_ERROR(x)</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-ROUTINE-ERROR:CAPS"></a><h3>GSS_ROUTINE_ERROR()</h3>
<pre class="programlisting">#define GSS_ROUTINE_ERROR(x)</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-SUPPLEMENTARY-INFO:CAPS"></a><h3>GSS_SUPPLEMENTARY_INFO()</h3>
<pre class="programlisting">#define GSS_SUPPLEMENTARY_INFO(x)</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-ERROR:CAPS"></a><h3>GSS_ERROR()</h3>
<pre class="programlisting">#define GSS_ERROR(x)</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-BAD-MECH:CAPS"></a><h3>GSS_S_BAD_MECH</h3>
<pre class="programlisting">#define GSS_S_BAD_MECH (1ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-BAD-NAME:CAPS"></a><h3>GSS_S_BAD_NAME</h3>
<pre class="programlisting">#define GSS_S_BAD_NAME (2ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-BAD-NAMETYPE:CAPS"></a><h3>GSS_S_BAD_NAMETYPE</h3>
<pre class="programlisting">#define GSS_S_BAD_NAMETYPE (3ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-BAD-BINDINGS:CAPS"></a><h3>GSS_S_BAD_BINDINGS</h3>
<pre class="programlisting">#define GSS_S_BAD_BINDINGS (4ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-BAD-STATUS:CAPS"></a><h3>GSS_S_BAD_STATUS</h3>
<pre class="programlisting">#define GSS_S_BAD_STATUS (5ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-BAD-SIG:CAPS"></a><h3>GSS_S_BAD_SIG</h3>
<pre class="programlisting">#define GSS_S_BAD_SIG (6ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-NO-CRED:CAPS"></a><h3>GSS_S_NO_CRED</h3>
<pre class="programlisting">#define GSS_S_NO_CRED (7ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-NO-CONTEXT:CAPS"></a><h3>GSS_S_NO_CONTEXT</h3>
<pre class="programlisting">#define GSS_S_NO_CONTEXT (8ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-DEFECTIVE-TOKEN:CAPS"></a><h3>GSS_S_DEFECTIVE_TOKEN</h3>
<pre class="programlisting">#define GSS_S_DEFECTIVE_TOKEN (9ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-DEFECTIVE-CREDENTIAL:CAPS"></a><h3>GSS_S_DEFECTIVE_CREDENTIAL</h3>
<pre class="programlisting">#define GSS_S_DEFECTIVE_CREDENTIAL (10ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-CREDENTIALS-EXPIRED:CAPS"></a><h3>GSS_S_CREDENTIALS_EXPIRED</h3>
<pre class="programlisting">#define GSS_S_CREDENTIALS_EXPIRED (11ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-CONTEXT-EXPIRED:CAPS"></a><h3>GSS_S_CONTEXT_EXPIRED</h3>
<pre class="programlisting">#define GSS_S_CONTEXT_EXPIRED (12ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-FAILURE:CAPS"></a><h3>GSS_S_FAILURE</h3>
<pre class="programlisting">#define GSS_S_FAILURE (13ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-BAD-QOP:CAPS"></a><h3>GSS_S_BAD_QOP</h3>
<pre class="programlisting">#define GSS_S_BAD_QOP (14ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-UNAUTHORIZED:CAPS"></a><h3>GSS_S_UNAUTHORIZED</h3>
<pre class="programlisting">#define GSS_S_UNAUTHORIZED (15ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-UNAVAILABLE:CAPS"></a><h3>GSS_S_UNAVAILABLE</h3>
<pre class="programlisting">#define GSS_S_UNAVAILABLE (16ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-DUPLICATE-ELEMENT:CAPS"></a><h3>GSS_S_DUPLICATE_ELEMENT</h3>
<pre class="programlisting">#define GSS_S_DUPLICATE_ELEMENT (17ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-NAME-NOT-MN:CAPS"></a><h3>GSS_S_NAME_NOT_MN</h3>
<pre class="programlisting">#define GSS_S_NAME_NOT_MN (18ul << GSS_C_ROUTINE_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gss-acquire-cred"></a><h3>gss_acquire_cred ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_acquire_cred (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> desired_name</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> time_req</code></em>,
<em class="parameter"><code>const <span class="type">gss_OID_set</span> desired_mechs</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-cred-usage-t" title="gss_cred_usage_t"><span class="type">gss_cred_usage_t</span></a> cred_usage</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-cred-id-t" title="gss_cred_id_t"><span class="type">gss_cred_id_t</span></a> *output_cred_handle</code></em>,
<em class="parameter"><code><span class="type">gss_OID_set</span> *actual_mechs</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *time_rec</code></em>);</pre>
<p>Allows an application to acquire a handle for a pre-existing
credential by name. GSS-API implementations must impose a local
access-control policy on callers of this routine to prevent
unauthorized callers from acquiring credentials to which they are
not entitled. This routine is not intended to provide a "login to
the network" function, as such a function would involve the
creation of new credentials rather than merely acquiring a handle
to existing credentials. Such functions, if required, should be
defined in implementation-specific extensions to the API.</p>
<p>If desired_name is GSS_C_NO_NAME, the call is interpreted as a
request for a credential handle that will invoke default behavior
when passed to <a class="link" href="gss-api.html#gss-init-sec-context" title="gss_init_sec_context ()"><code class="function">gss_init_sec_context()</code></a> (if cred_usage is
GSS_C_INITIATE or GSS_C_BOTH) or <a class="link" href="gss-api.html#gss-accept-sec-context" title="gss_accept_sec_context ()"><code class="function">gss_accept_sec_context()</code></a> (if
cred_usage is GSS_C_ACCEPT or GSS_C_BOTH).</p>
<p>Mechanisms should honor the desired_mechs parameter, and return a
credential that is suitable to use only with the requested
mechanisms. An exception to this is the case where one underlying
credential element can be shared by multiple mechanisms; in this
case it is permissible for an implementation to indicate all
mechanisms with which the credential element may be used. If
desired_mechs is an empty set, behavior is undefined.</p>
<p>This routine is expected to be used primarily by context acceptors,
since implementations are likely to provide mechanism-specific ways
of obtaining GSS-API initiator credentials from the system login
process. Some implementations may therefore not support the
acquisition of GSS_C_INITIATE or GSS_C_BOTH credentials via
gss_acquire_cred for any name other than GSS_C_NO_NAME, or a name
produced by applying either gss_inquire_cred to a valid credential,
or gss_inquire_context to an active context.</p>
<p>If credential acquisition is time-consuming for a mechanism, the
mechanism may choose to delay the actual acquisition until the
credential is required (e.g. by gss_init_sec_context or
gss_accept_sec_context). Such mechanism-specific implementation
decisions should be invisible to the calling application; thus a
call of gss_inquire_cred immediately following the call of
gss_acquire_cred must return valid credential data, and may
therefore incur the overhead of a deferred credential acquisition.</p>
<div class="refsect3">
<a name="id-1.2.6.6.31.9"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>desired_name</p></td>
<td class="parameter_description"><p>(gss_name_t, read) Name of principal whose
credential should be acquired.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>time_req</p></td>
<td class="parameter_description"><p>(Integer, read, optional) Number of seconds that
credentials should remain valid. Specify GSS_C_INDEFINITE to
request that the credentials have the maximum permitted lifetime.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>desired_mechs</p></td>
<td class="parameter_description"><p>(Set of Object IDs, read, optional) Set of
underlying security mechanisms that may be used.
GSS_C_NO_OID_SET may be used to obtain an implementation-specific
default.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cred_usage</p></td>
<td class="parameter_description"><p>(gss_cred_usage_t, read) GSS_C_BOTH - Credentials may
be used either to initiate or accept security contexts.
GSS_C_INITIATE - Credentials will only be used to initiate
security contexts. GSS_C_ACCEPT - Credentials will only be used
to accept security contexts.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_cred_handle</p></td>
<td class="parameter_description"><p>(gss_cred_id_t, modify) The returned
credential handle. Resources associated with this credential
handle must be released by the application after use with a call
to <a class="link" href="gss-api.html#gss-release-cred" title="gss_release_cred ()"><code class="function">gss_release_cred()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>actual_mechs</p></td>
<td class="parameter_description"><p>(Set of Object IDs, modify, optional) The set of
mechanisms for which the credential is valid. Storage associated
with the returned OID-set must be released by the application
after use with a call to <a class="link" href="gss-api.html#gss-release-oid-set" title="gss_release_oid_set ()"><code class="function">gss_release_oid_set()</code></a>. Specify NULL if
not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>time_rec</p></td>
<td class="parameter_description"><p>(Integer, modify, optional) Actual number of seconds for
which the returned credentials will remain valid. If the
implementation does not support expiration of credentials, the
value GSS_C_INDEFINITE will be returned. Specify NULL if not
required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.31.10"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_BAD_MECH</code>: Unavailable mechanism requested.</p>
<p><code class="literal">GSS_S_BAD_NAMETYPE</code>: Type contained within desired_name parameter
is not supported.</p>
<p><code class="literal">GSS_S_BAD_NAME</code>: Value supplied for desired_name parameter is ill
formed.</p>
<p><code class="literal">GSS_S_CREDENTIALS_EXPIRED</code>: The credentials could not be acquired
Because they have expired.</p>
<p><code class="literal">GSS_S_NO_CRED</code>: No credentials were found for the specified name.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-release-cred"></a><h3>gss_release_cred ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_release_cred (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-cred-id-t" title="gss_cred_id_t"><span class="type">gss_cred_id_t</span></a> *cred_handle</code></em>);</pre>
<p>Informs GSS-API that the specified credential handle is no longer
required by the application, and frees associated resources. The
cred_handle is set to GSS_C_NO_CREDENTIAL on successful completion
of this call.</p>
<div class="refsect3">
<a name="id-1.2.6.6.32.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cred_handle</p></td>
<td class="parameter_description"><p>(gss_cred_id_t, modify, optional) Opaque handle
identifying credential to be released. If GSS_C_NO_CREDENTIAL is
supplied, the routine will complete successfully, but will do
nothing.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.32.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_NO_CRED</code>: Credentials could not be accessed.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-init-sec-context"></a><h3>gss_init_sec_context ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_init_sec_context (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-cred-id-t" title="gss_cred_id_t"><span class="type">gss_cred_id_t</span></a> initiator_cred_handle</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> *context_handle</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> target_name</code></em>,
<em class="parameter"><code>const <span class="type">gss_OID</span> mech_type</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> req_flags</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> time_req</code></em>,
<em class="parameter"><code>const <span class="type">gss_channel_bindings_t</span> input_chan_bindings</code></em>,
<em class="parameter"><code>const <span class="type">gss_buffer_t</span> input_token</code></em>,
<em class="parameter"><code><span class="type">gss_OID</span> *actual_mech_type</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> output_token</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *ret_flags</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *time_rec</code></em>);</pre>
<p>Initiates the establishment of a security context between the
application and a remote peer. Initially, the input_token
parameter should be specified either as GSS_C_NO_BUFFER, or as a
pointer to a gss_buffer_desc object whose length field contains the
value zero. The routine may return a output_token which should be
transferred to the peer application, where the peer application
will present it to gss_accept_sec_context. If no token need be
sent, gss_init_sec_context will indicate this by setting the length
field of the output_token argument to zero. To complete the context
establishment, one or more reply tokens may be required from the
peer application; if so, gss_init_sec_context will return a status
containing the supplementary information bit GSS_S_CONTINUE_NEEDED.
In this case, gss_init_sec_context should be called again when the
reply token is received from the peer application, passing the
reply token to gss_init_sec_context via the input_token parameters.</p>
<div class="refsect3">
<a name="id-1.2.6.6.33.5"></a><h4>Portable applications should be constructed to use the token length
and return status to determine whether a token needs to be sent or
waited for. Thus a typical portable caller should always invoke
gss_init_sec_context within a loop:</h4>
<p>int context_established = 0;
gss_ctx_id_t context_hdl = GSS_C_NO_CONTEXT;
...
input_token->length = 0;</p>
<p>while (!context_established) {
maj_stat = gss_init_sec_context(&min_stat,
cred_hdl,
&context_hdl,
target_name,
desired_mech,
desired_services,
desired_time,
input_bindings,
input_token,
&actual_mech,
output_token,
&actual_services,
&actual_time);
if (GSS_ERROR(maj_stat)) {
report_error(maj_stat, min_stat);
};</p>
<p> if (output_token->length != 0) {
send_token_to_peer(output_token);
gss_release_buffer(&min_stat, output_token)
};
if (GSS_ERROR(maj_stat)) {</p>
<p> if (context_hdl != GSS_C_NO_CONTEXT)
gss_delete_sec_context(&min_stat,
&context_hdl,
GSS_C_NO_BUFFER);
break;
};</p>
<p> if (maj_stat & GSS_S_CONTINUE_NEEDED) {
receive_token_from_peer(input_token);
} else {
context_established = 1;
};</p>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.33.6"></a><h4>Portable applications should be constructed to use the token length
and return status to determine whether a token needs to be sent or
waited for. Thus a typical portable caller should always invoke
gss_init_sec_context within a loop:</h4>
<p>int context_established = 0;
gss_ctx_id_t context_hdl = GSS_C_NO_CONTEXT;
...
input_token->length = 0;</p>
<p>while (!context_established) {
maj_stat = gss_init_sec_context(&min_stat,
cred_hdl,
&context_hdl,
target_name,
desired_mech,
desired_services,
desired_time,
input_bindings,
input_token,
&actual_mech,
output_token,
&actual_services,
&actual_time);
if (GSS_ERROR(maj_stat)) {
report_error(maj_stat, min_stat);
};</p>
<p> if (output_token->length != 0) {
send_token_to_peer(output_token);
gss_release_buffer(&min_stat, output_token)
};
if (GSS_ERROR(maj_stat)) {</p>
<p> if (context_hdl != GSS_C_NO_CONTEXT)
gss_delete_sec_context(&min_stat,
&context_hdl,
GSS_C_NO_BUFFER);
break;
};</p>
<p> if (maj_stat & GSS_S_CONTINUE_NEEDED) {
receive_token_from_peer(input_token);
} else {
context_established = 1;
};</p>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.33.7"></a><h4>};</h4>
<p>Whenever the routine returns a major status that includes the value
GSS_S_CONTINUE_NEEDED, the context is not fully established and the
following restrictions apply to the output parameters:</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>The value returned via the time_rec parameter is undefined unless
the accompanying ret_flags parameter contains the bit
GSS_C_PROT_READY_FLAG, indicating that per-message services may be
applied in advance of a successful completion status, the value
returned via the actual_mech_type parameter is undefined until the
routine returns a major status value of GSS_S_COMPLETE.</p></li>
<li class="listitem"><p>The values of the GSS_C_DELEG_FLAG, GSS_C_MUTUAL_FLAG,
GSS_C_REPLAY_FLAG, GSS_C_SEQUENCE_FLAG, GSS_C_CONF_FLAG,
GSS_C_INTEG_FLAG and GSS_C_ANON_FLAG bits returned via the
ret_flags parameter should contain the values that the
implementation expects would be valid if context establishment were
to succeed. In particular, if the application has requested a
service such as delegation or anonymous authentication via the
req_flags argument, and such a service is unavailable from the
underlying mechanism, gss_init_sec_context should generate a token
that will not provide the service, and indicate via the ret_flags
argument that the service will not be supported. The application
may choose to abort the context establishment by calling
gss_delete_sec_context (if it cannot continue in the absence of the
service), or it may choose to transmit the token and continue
context establishment (if the service was merely desired but not
mandatory).</p></li>
<li class="listitem"><p>The values of the GSS_C_PROT_READY_FLAG and GSS_C_TRANS_FLAG bits
within ret_flags should indicate the actual state at the time
gss_init_sec_context returns, whether or not the context is fully
established.</p></li>
<li class="listitem"><p>GSS-API implementations that support per-message protection are
encouraged to set the GSS_C_PROT_READY_FLAG in the final ret_flags
returned to a caller (i.e. when accompanied by a GSS_S_COMPLETE
status code). However, applications should not rely on this
behavior as the flag was not defined in Version 1 of the GSS-API.
Instead, applications should determine what per-message services
are available after a successful context establishment according to
the GSS_C_INTEG_FLAG and GSS_C_CONF_FLAG values.</p></li>
<li class="listitem"><p>All other bits within the ret_flags argument should be set to
zero.</p></li>
</ul></div>
<p>If the initial call of <a class="link" href="gss-api.html#gss-init-sec-context" title="gss_init_sec_context ()"><code class="function">gss_init_sec_context()</code></a> fails, the
implementation should not create a context object, and should leave
the value of the context_handle parameter set to GSS_C_NO_CONTEXT
to indicate this. In the event of a failure on a subsequent call,
the implementation is permitted to delete the "half-built" security
context (in which case it should set the context_handle parameter
to GSS_C_NO_CONTEXT), but the preferred behavior is to leave the
security context untouched for the application to delete (using
gss_delete_sec_context).</p>
<p>During context establishment, the informational status bits
GSS_S_OLD_TOKEN and GSS_S_DUPLICATE_TOKEN indicate fatal errors,
and GSS-API mechanisms should always return them in association
with a routine error of GSS_S_FAILURE. This requirement for
pairing did not exist in version 1 of the GSS-API specification, so
applications that wish to run over version 1 implementations must
special-case these codes.</p>
<p>The <code class="literal">req_flags</code> values:</p>
<p><code class="literal">GSS_C_DELEG_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Delegate credentials to remote peer.</p></li>
<li class="listitem"><p>False - Don't delegate.</p></li>
</ul></div>
<p><code class="literal">GSS_C_MUTUAL_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Request that remote peer authenticate itself.</p></li>
<li class="listitem"><p>False - Authenticate self to remote peer only.</p></li>
</ul></div>
<p><code class="literal">GSS_C_REPLAY_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Enable replay detection for messages protected with
gss_wrap or gss_get_mic.</p></li>
<li class="listitem"><p>False - Don't attempt to detect replayed messages.</p></li>
</ul></div>
<p><code class="literal">GSS_C_SEQUENCE_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Enable detection of out-of-sequence protected messages.</p></li>
<li class="listitem"><p>False - Don't attempt to detect out-of-sequence messages.</p></li>
</ul></div>
<p><code class="literal">GSS_C_CONF_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Request that confidentiality service be made available
(via gss_wrap).</p></li>
<li class="listitem"><p>False - No per-message confidentiality service is required.</p></li>
</ul></div>
<p><code class="literal">GSS_C_INTEG_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Request that integrity service be made available (via
gss_wrap or gss_get_mic).</p></li>
<li class="listitem"><p>False - No per-message integrity service is required.</p></li>
</ul></div>
<p><code class="literal">GSS_C_ANON_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Do not reveal the initiator's identity to the acceptor.</p></li>
<li class="listitem"><p>False - Authenticate normally.</p></li>
</ul></div>
<p>The <code class="literal">ret_flags</code> values:</p>
<p><code class="literal">GSS_C_DELEG_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Credentials were delegated to the remote peer.</p></li>
<li class="listitem"><p>False - No credentials were delegated.</p></li>
</ul></div>
<p><code class="literal">GSS_C_MUTUAL_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - The remote peer has authenticated itself.</p></li>
<li class="listitem"><p>False - Remote peer has not authenticated itself.</p></li>
</ul></div>
<p><code class="literal">GSS_C_REPLAY_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - replay of protected messages will be detected.</p></li>
<li class="listitem"><p>False - replayed messages will not be detected.</p></li>
</ul></div>
<p><code class="literal">GSS_C_SEQUENCE_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - out-of-sequence protected messages will be detected.</p></li>
<li class="listitem"><p>False - out-of-sequence messages will not be detected.</p></li>
</ul></div>
<p><code class="literal">GSS_C_CONF_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Confidentiality service may be invoked by calling gss_wrap
routine.</p></li>
<li class="listitem"><p>False - No confidentiality service (via gss_wrap)
available. gss_wrap will provide message encapsulation, data-origin
authentication and integrity services only.</p></li>
</ul></div>
<p><code class="literal">GSS_C_INTEG_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Integrity service may be invoked by calling either
gss_get_mic or gss_wrap routines.</p></li>
<li class="listitem"><p>False - Per-message integrity service unavailable.</p></li>
</ul></div>
<p><code class="literal">GSS_C_ANON_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - The initiator's identity has not been revealed, and will
not be revealed if any emitted token is passed to the acceptor.</p></li>
<li class="listitem"><p>False - The initiator's identity has been or will be
authenticated normally.</p></li>
</ul></div>
<p><code class="literal">GSS_C_PROT_READY_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Protection services (as specified by the states of the
GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG) are available for use if the
accompanying major status return value is either GSS_S_COMPLETE or
GSS_S_CONTINUE_NEEDED.</p></li>
<li class="listitem"><p>False - Protection services (as specified by the states of the
GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG) are available only if the
accompanying major status return value is GSS_S_COMPLETE.</p></li>
</ul></div>
<p><code class="literal">GSS_C_TRANS_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - The resultant security context may be transferred to other
processes via a call to <a class="link" href="gss-api.html#gss-export-sec-context" title="gss_export_sec_context ()"><code class="function">gss_export_sec_context()</code></a>.</p></li>
<li class="listitem"><p>False - The security context is not transferable.</p></li>
</ul></div>
<p>All other bits should be set to zero.</p>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.33.8"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>initiator_cred_handle</p></td>
<td class="parameter_description"><p>(gss_cred_id_t, read, optional) Handle for
credentials claimed. Supply GSS_C_NO_CREDENTIAL to act as a
default initiator principal. If no default initiator is defined,
the function will return GSS_S_NO_CRED.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>context_handle</p></td>
<td class="parameter_description"><p>(gss_ctx_id_t, read/modify) Context handle for new
context. Supply GSS_C_NO_CONTEXT for first call; use value
returned by first call in continuation calls. Resources
associated with this context-handle must be released by the
application after use with a call to <a class="link" href="gss-api.html#gss-delete-sec-context" title="gss_delete_sec_context ()"><code class="function">gss_delete_sec_context()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>target_name</p></td>
<td class="parameter_description"><p>(gss_name_t, read) Name of target.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mech_type</p></td>
<td class="parameter_description"><p>(OID, read, optional) Object ID of desired
mechanism. Supply GSS_C_NO_OID to obtain an implementation
specific default.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>req_flags</p></td>
<td class="parameter_description"><p>(bit-mask, read) Contains various independent flags,
each of which requests that the context support a specific
service option. Symbolic names are provided for each flag, and
the symbolic names corresponding to the required flags should be
logically-ORed together to form the bit-mask value. See below
for the flags.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>time_req</p></td>
<td class="parameter_description"><p>(Integer, read, optional) Desired number of seconds for
which context should remain valid. Supply 0 to request a default
validity period.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>input_chan_bindings</p></td>
<td class="parameter_description"><p>(channel bindings, read, optional)
Application-specified bindings. Allows application to securely
bind channel identification information to the security context.
Specify GSS_C_NO_CHANNEL_BINDINGS if channel bindings are not
used.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>input_token</p></td>
<td class="parameter_description"><p>(buffer, opaque, read, optional) Token received from
peer application. Supply GSS_C_NO_BUFFER, or a pointer to a
buffer containing the value GSS_C_EMPTY_BUFFER on initial call.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>actual_mech_type</p></td>
<td class="parameter_description"><p>(OID, modify, optional) Actual mechanism used.
The OID returned via this parameter will be a pointer to static
storage that should be treated as read-only; In particular the
application should not attempt to free it. Specify NULL if not
required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_token</p></td>
<td class="parameter_description"><p>(buffer, opaque, modify) Token to be sent to peer
application. If the length field of the returned buffer is zero,
no token need be sent to the peer application. Storage
associated with this buffer must be freed by the application
after use with a call to <a class="link" href="gss-api.html#gss-release-buffer" title="gss_release_buffer ()"><code class="function">gss_release_buffer()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>ret_flags</p></td>
<td class="parameter_description"><p>(bit-mask, modify, optional) Contains various
independent flags, each of which indicates that the context
supports a specific service option. Specify NULL if not
required. Symbolic names are provided for each flag, and the
symbolic names corresponding to the required flags should be
logically-ANDed with the ret_flags value to test whether a given
option is supported by the context. See below for the flags.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>time_rec</p></td>
<td class="parameter_description"><p>(Integer, modify, optional) Number of seconds for which
the context will remain valid. If the implementation does not
support context expiration, the value GSS_C_INDEFINITE will be
returned. Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.33.9"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_CONTINUE_NEEDED</code>: Indicates that a token from the peer
application is required to complete the context, and that
gss_init_sec_context must be called again with that token.</p>
<p><code class="literal">GSS_S_DEFECTIVE_TOKEN</code>: Indicates that consistency checks
performed on the input_token failed.</p>
<p><code class="literal">GSS_S_DEFECTIVE_CREDENTIAL</code>: Indicates that consistency checks
performed on the credential failed.</p>
<p><code class="literal">GSS_S_NO_CRED</code>: The supplied credentials were not valid for
context initiation, or the credential handle did not reference any
credentials.</p>
<p><code class="literal">GSS_S_CREDENTIALS_EXPIRED</code>: The referenced credentials have
expired.</p>
<p><code class="literal">GSS_S_BAD_BINDINGS</code>: The input_token contains different channel
bindings to those specified via the input_chan_bindings parameter.</p>
<p><code class="literal">GSS_S_BAD_SIG</code>: The input_token contains an invalid MIC, or a MIC
that could not be verified.</p>
<p><code class="literal">GSS_S_OLD_TOKEN</code>: The input_token was too old. This is a fatal
error during context establishment.</p>
<p><code class="literal">GSS_S_DUPLICATE_TOKEN</code>: The input_token is valid, but is a
duplicate of a token already processed. This is a fatal error
during context establishment.</p>
<p><code class="literal">GSS_S_NO_CONTEXT</code>: Indicates that the supplied context handle did
not refer to a valid context.</p>
<p><code class="literal">GSS_S_BAD_NAMETYPE</code>: The provided target_name parameter contained
an invalid or unsupported type of name.</p>
<p><code class="literal">GSS_S_BAD_NAME</code>: The provided target_name parameter was
ill-formed.</p>
<p><code class="literal">GSS_S_BAD_MECH</code>: The specified mechanism is not supported by the
provided credential, or is unrecognized by the implementation.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-accept-sec-context"></a><h3>gss_accept_sec_context ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_accept_sec_context (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> *context_handle</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-cred-id-t" title="gss_cred_id_t"><span class="type">gss_cred_id_t</span></a> acceptor_cred_handle</code></em>,
<em class="parameter"><code>const <span class="type">gss_buffer_t</span> input_token_buffer</code></em>,
<em class="parameter"><code>const <span class="type">gss_channel_bindings_t</span> input_chan_bindings</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> *src_name</code></em>,
<em class="parameter"><code><span class="type">gss_OID</span> *mech_type</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> output_token</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *ret_flags</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *time_rec</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-cred-id-t" title="gss_cred_id_t"><span class="type">gss_cred_id_t</span></a> *delegated_cred_handle</code></em>);</pre>
<p>Allows a remotely initiated security context between the
application and a remote peer to be established. The routine may
return a output_token which should be transferred to the peer
application, where the peer application will present it to
gss_init_sec_context. If no token need be sent,
gss_accept_sec_context will indicate this by setting the length
field of the output_token argument to zero. To complete the
context establishment, one or more reply tokens may be required
from the peer application; if so, gss_accept_sec_context will
return a status flag of GSS_S_CONTINUE_NEEDED, in which case it
should be called again when the reply token is received from the
peer application, passing the token to gss_accept_sec_context via
the input_token parameters.</p>
<div class="refsect3">
<a name="id-1.2.6.6.34.5"></a><h4>Portable applications should be constructed to use the token length
and return status to determine whether a token needs to be sent or
waited for. Thus a typical portable caller should always invoke
gss_accept_sec_context within a loop:</h4>
<p>gss_ctx_id_t context_hdl = GSS_C_NO_CONTEXT;</p>
<p>do {
receive_token_from_peer(input_token);
maj_stat = gss_accept_sec_context(&min_stat,
&context_hdl,
cred_hdl,
input_token,
input_bindings,
&client_name,
&mech_type,
output_token,
&ret_flags,
&time_rec,
&deleg_cred);
if (GSS_ERROR(maj_stat)) {
report_error(maj_stat, min_stat);
};
if (output_token->length != 0) {
send_token_to_peer(output_token);</p>
<p> gss_release_buffer(&min_stat, output_token);
};
if (GSS_ERROR(maj_stat)) {
if (context_hdl != GSS_C_NO_CONTEXT)
gss_delete_sec_context(&min_stat,
&context_hdl,
GSS_C_NO_BUFFER);
break;
};</p>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.34.6"></a><h4>Portable applications should be constructed to use the token length
and return status to determine whether a token needs to be sent or
waited for. Thus a typical portable caller should always invoke
gss_accept_sec_context within a loop:</h4>
<p>gss_ctx_id_t context_hdl = GSS_C_NO_CONTEXT;</p>
<p>do {
receive_token_from_peer(input_token);
maj_stat = gss_accept_sec_context(&min_stat,
&context_hdl,
cred_hdl,
input_token,
input_bindings,
&client_name,
&mech_type,
output_token,
&ret_flags,
&time_rec,
&deleg_cred);
if (GSS_ERROR(maj_stat)) {
report_error(maj_stat, min_stat);
};
if (output_token->length != 0) {
send_token_to_peer(output_token);</p>
<p> gss_release_buffer(&min_stat, output_token);
};
if (GSS_ERROR(maj_stat)) {
if (context_hdl != GSS_C_NO_CONTEXT)
gss_delete_sec_context(&min_stat,
&context_hdl,
GSS_C_NO_BUFFER);
break;
};</p>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.34.7"></a><h4>} while (maj_stat & GSS_S_CONTINUE_NEEDED);</h4>
<p>Whenever the routine returns a major status that includes the value
GSS_S_CONTINUE_NEEDED, the context is not fully established and the
following restrictions apply to the output parameters:</p>
<p>The value returned via the time_rec parameter is undefined Unless the
accompanying ret_flags parameter contains the bit
GSS_C_PROT_READY_FLAG, indicating that per-message services may be
applied in advance of a successful completion status, the value
returned via the mech_type parameter may be undefined until the
routine returns a major status value of GSS_S_COMPLETE.</p>
<p>The values of the GSS_C_DELEG_FLAG,
GSS_C_MUTUAL_FLAG,GSS_C_REPLAY_FLAG, GSS_C_SEQUENCE_FLAG,
GSS_C_CONF_FLAG,GSS_C_INTEG_FLAG and GSS_C_ANON_FLAG bits returned
via the ret_flags parameter should contain the values that the
implementation expects would be valid if context establishment were
to succeed.</p>
<p>The values of the GSS_C_PROT_READY_FLAG and GSS_C_TRANS_FLAG bits
within ret_flags should indicate the actual state at the time
gss_accept_sec_context returns, whether or not the context is fully
established.</p>
<p>Although this requires that GSS-API implementations set the
GSS_C_PROT_READY_FLAG in the final ret_flags returned to a caller
(i.e. when accompanied by a GSS_S_COMPLETE status code), applications
should not rely on this behavior as the flag was not defined in
Version 1 of the GSS-API. Instead, applications should be prepared to
use per-message services after a successful context establishment,
according to the GSS_C_INTEG_FLAG and GSS_C_CONF_FLAG values.</p>
<p>All other bits within the ret_flags argument should be set to zero.
While the routine returns GSS_S_CONTINUE_NEEDED, the values returned
via the ret_flags argument indicate the services that the
implementation expects to be available from the established context.</p>
<p>If the initial call of <a class="link" href="gss-api.html#gss-accept-sec-context" title="gss_accept_sec_context ()"><code class="function">gss_accept_sec_context()</code></a> fails, the
implementation should not create a context object, and should leave
the value of the context_handle parameter set to GSS_C_NO_CONTEXT to
indicate this. In the event of a failure on a subsequent call, the
implementation is permitted to delete the "half-built" security
context (in which case it should set the context_handle parameter to
GSS_C_NO_CONTEXT), but the preferred behavior is to leave the
security context (and the context_handle parameter) untouched for the
application to delete (using gss_delete_sec_context).</p>
<p>During context establishment, the informational status bits
GSS_S_OLD_TOKEN and GSS_S_DUPLICATE_TOKEN indicate fatal errors, and
GSS-API mechanisms should always return them in association with a
routine error of GSS_S_FAILURE. This requirement for pairing did not
exist in version 1 of the GSS-API specification, so applications that
wish to run over version 1 implementations must special-case these
codes.</p>
<p>The <code class="literal">ret_flags</code> values:</p>
<p><code class="literal">GSS_C_DELEG_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Delegated credentials are available via the
delegated_cred_handle parameter.</p></li>
<li class="listitem"><p>False - No credentials were delegated.</p></li>
</ul></div>
<p><code class="literal">GSS_C_MUTUAL_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Remote peer asked for mutual authentication.</p></li>
<li class="listitem"><p>False - Remote peer did not ask for mutual authentication.</p></li>
</ul></div>
<p><code class="literal">GSS_C_REPLAY_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - replay of protected messages will be detected.</p></li>
<li class="listitem"><p>False - replayed messages will not be detected.</p></li>
</ul></div>
<p><code class="literal">GSS_C_SEQUENCE_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - out-of-sequence protected messages will be detected.</p></li>
<li class="listitem"><p>False - out-of-sequence messages will not be detected.</p></li>
</ul></div>
<p><code class="literal">GSS_C_CONF_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Confidentiality service may be invoked by calling the
gss_wrap routine.</p></li>
<li class="listitem"><p>False - No confidentiality service (via gss_wrap)
available. gss_wrap will provide message encapsulation, data-origin
authentication and integrity services only.</p></li>
</ul></div>
<p><code class="literal">GSS_C_INTEG_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Integrity service may be invoked by calling either
gss_get_mic or gss_wrap routines.</p></li>
<li class="listitem"><p>False - Per-message integrity service unavailable.</p></li>
</ul></div>
<p><code class="literal">GSS_C_ANON_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - The initiator does not wish to be authenticated; the
src_name parameter (if requested) contains an anonymous internal
name.</p></li>
<li class="listitem"><p>False - The initiator has been authenticated normally.</p></li>
</ul></div>
<p><code class="literal">GSS_C_PROT_READY_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Protection services (as specified by the states of the
GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG) are available if the
accompanying major status return value is either GSS_S_COMPLETE or
GSS_S_CONTINUE_NEEDED.</p></li>
<li class="listitem"><p>False - Protection services (as specified by the states of the
GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG) are available only if the
accompanying major status return value is GSS_S_COMPLETE.</p></li>
</ul></div>
<p><code class="literal">GSS_C_TRANS_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - The resultant security context may be transferred to other
processes via a call to <a class="link" href="gss-api.html#gss-export-sec-context" title="gss_export_sec_context ()"><code class="function">gss_export_sec_context()</code></a>.</p></li>
<li class="listitem"><p>False - The security context is not transferable.</p></li>
</ul></div>
<p>All other bits should be set to zero.</p>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.34.8"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>context_handle</p></td>
<td class="parameter_description"><p>(gss_ctx_id_t, read/modify) Context handle for new
context. Supply GSS_C_NO_CONTEXT for first call; use value
returned in subsequent calls. Once <a class="link" href="gss-api.html#gss-accept-sec-context" title="gss_accept_sec_context ()"><code class="function">gss_accept_sec_context()</code></a> has
returned a value via this parameter, resources have been assigned
to the corresponding context, and must be freed by the
application after use with a call to <a class="link" href="gss-api.html#gss-delete-sec-context" title="gss_delete_sec_context ()"><code class="function">gss_delete_sec_context()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>acceptor_cred_handle</p></td>
<td class="parameter_description"><p>(gss_cred_id_t, read) Credential handle
claimed by context acceptor. Specify GSS_C_NO_CREDENTIAL to
accept the context as a default principal. If
GSS_C_NO_CREDENTIAL is specified, but no default acceptor
principal is defined, GSS_S_NO_CRED will be returned.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>input_token_buffer</p></td>
<td class="parameter_description"><p>(buffer, opaque, read) Token obtained from
remote application.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>input_chan_bindings</p></td>
<td class="parameter_description"><p>(channel bindings, read, optional)
Application- specified bindings. Allows application to securely
bind channel identification information to the security context.
If channel bindings are not used, specify
GSS_C_NO_CHANNEL_BINDINGS.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>src_name</p></td>
<td class="parameter_description"><p>(gss_name_t, modify, optional) Authenticated name of
context initiator. After use, this name should be deallocated by
passing it to <a class="link" href="gss-api.html#gss-release-name" title="gss_release_name ()"><code class="function">gss_release_name()</code></a>. If not required, specify NULL.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mech_type</p></td>
<td class="parameter_description"><p>(Object ID, modify, optional) Security mechanism used.
The returned OID value will be a pointer into static storage, and
should be treated as read-only by the caller (in particular, it
does not need to be freed). If not required, specify NULL.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_token</p></td>
<td class="parameter_description"><p>(buffer, opaque, modify) Token to be passed to peer
application. If the length field of the returned token buffer is
0, then no token need be passed to the peer application. If a
non- zero length field is returned, the associated storage must
be freed after use by the application with a call to
<a class="link" href="gss-api.html#gss-release-buffer" title="gss_release_buffer ()"><code class="function">gss_release_buffer()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>ret_flags</p></td>
<td class="parameter_description"><p>(bit-mask, modify, optional) Contains various
independent flags, each of which indicates that the context
supports a specific service option. If not needed, specify NULL.
Symbolic names are provided for each flag, and the symbolic names
corresponding to the required flags should be logically-ANDed
with the ret_flags value to test whether a given option is
supported by the context. See below for the flags.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>time_rec</p></td>
<td class="parameter_description"><p>(Integer, modify, optional) Number of seconds for which
the context will remain valid. Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>delegated_cred_handle</p></td>
<td class="parameter_description"><p>(gss_cred_id_t, modify, optional
credential) Handle for credentials received from context
initiator. Only valid if deleg_flag in ret_flags is true, in
which case an explicit credential handle (i.e. not
GSS_C_NO_CREDENTIAL) will be returned; if deleg_flag is false,
<a class="link" href="gss-api.html#gss-accept-sec-context" title="gss_accept_sec_context ()"><code class="function">gss_accept_sec_context()</code></a> will set this parameter to
GSS_C_NO_CREDENTIAL. If a credential handle is returned, the
associated resources must be released by the application after
use with a call to <a class="link" href="gss-api.html#gss-release-cred" title="gss_release_cred ()"><code class="function">gss_release_cred()</code></a>. Specify NULL if not
required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.34.9"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_CONTINUE_NEEDED</code>: Indicates that a token from the peer
application is required to complete the context, and that
gss_accept_sec_context must be called again with that token.</p>
<p><code class="literal">GSS_S_DEFECTIVE_TOKEN</code>: Indicates that consistency checks
performed on the input_token failed.</p>
<p><code class="literal">GSS_S_DEFECTIVE_CREDENTIAL</code>: Indicates that consistency checks
performed on the credential failed.</p>
<p><code class="literal">GSS_S_NO_CRED</code>: The supplied credentials were not valid for
context acceptance, or the credential handle did not reference any
credentials.</p>
<p><code class="literal">GSS_S_CREDENTIALS_EXPIRED</code>: The referenced credentials have
expired.</p>
<p><code class="literal">GSS_S_BAD_BINDINGS</code>: The input_token contains different channel
bindings to those specified via the input_chan_bindings parameter.</p>
<p><code class="literal">GSS_S_NO_CONTEXT</code>: Indicates that the supplied context handle did
not refer to a valid context.</p>
<p><code class="literal">GSS_S_BAD_SIG</code>: The input_token contains an invalid MIC.</p>
<p><code class="literal">GSS_S_OLD_TOKEN</code>: The input_token was too old. This is a fatal
error during context establishment.</p>
<p><code class="literal">GSS_S_DUPLICATE_TOKEN</code>: The input_token is valid, but is a
duplicate of a token already processed. This is a fatal error
during context establishment.</p>
<p><code class="literal">GSS_S_BAD_MECH</code>: The received token specified a mechanism that is
not supported by the implementation or the provided credential.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-process-context-token"></a><h3>gss_process_context_token ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_process_context_token (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> context_handle</code></em>,
<em class="parameter"><code>const <span class="type">gss_buffer_t</span> token_buffer</code></em>);</pre>
<p>Provides a way to pass an asynchronous token to the security
service. Most context-level tokens are emitted and processed
synchronously by gss_init_sec_context and gss_accept_sec_context,
and the application is informed as to whether further tokens are
expected by the GSS_C_CONTINUE_NEEDED major status bit.
Occasionally, a mechanism may need to emit a context-level token at
a point when the peer entity is not expecting a token. For
example, the initiator's final call to gss_init_sec_context may
emit a token and return a status of GSS_S_COMPLETE, but the
acceptor's call to gss_accept_sec_context may fail. The acceptor's
mechanism may wish to send a token containing an error indication
to the initiator, but the initiator is not expecting a token at
this point, believing that the context is fully established.
Gss_process_context_token provides a way to pass such a token to
the mechanism at any time.</p>
<div class="refsect3">
<a name="id-1.2.6.6.35.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Implementation specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>context_handle</p></td>
<td class="parameter_description"><p>(gss_ctx_id_t, read) Context handle of context on
which token is to be processed</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>token_buffer</p></td>
<td class="parameter_description"><p>(buffer, opaque, read) Token to process.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.35.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_DEFECTIVE_TOKEN</code>: Indicates that consistency checks
performed on the token failed.</p>
<p><code class="literal">GSS_S_NO_CONTEXT</code>: The context_handle did not refer to a valid
context.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-delete-sec-context"></a><h3>gss_delete_sec_context ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_delete_sec_context (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> *context_handle</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> output_token</code></em>);</pre>
<p>Delete a security context. gss_delete_sec_context will delete the
local data structures associated with the specified security
context, and may generate an output_token, which when passed to the
peer gss_process_context_token will instruct it to do likewise. If
no token is required by the mechanism, the GSS-API should set the
length field of the output_token (if provided) to zero. No further
security services may be obtained using the context specified by
context_handle.</p>
<p>In addition to deleting established security contexts,
gss_delete_sec_context must also be able to delete "half-built"
security contexts resulting from an incomplete sequence of
<a class="link" href="gss-api.html#gss-init-sec-context" title="gss_init_sec_context ()"><code class="function">gss_init_sec_context()</code></a>/<a class="link" href="gss-api.html#gss-accept-sec-context" title="gss_accept_sec_context ()"><code class="function">gss_accept_sec_context()</code></a> calls.</p>
<p>The output_token parameter is retained for compatibility with
version 1 of the GSS-API. It is recommended that both peer
applications invoke gss_delete_sec_context passing the value
GSS_C_NO_BUFFER for the output_token parameter, indicating that no
token is required, and that gss_delete_sec_context should simply
delete local context data structures. If the application does pass
a valid buffer to gss_delete_sec_context, mechanisms are encouraged
to return a zero-length token, indicating that no peer action is
necessary, and that no token should be transferred by the
application.</p>
<div class="refsect3">
<a name="id-1.2.6.6.36.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>context_handle</p></td>
<td class="parameter_description"><p>(gss_ctx_id_t, modify) Context handle identifying
context to delete. After deleting the context, the GSS-API will
set this context handle to GSS_C_NO_CONTEXT.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_token</p></td>
<td class="parameter_description"><p>(buffer, opaque, modify, optional) Token to be sent
to remote application to instruct it to also delete the context.
It is recommended that applications specify GSS_C_NO_BUFFER for
this parameter, requesting local deletion only. If a buffer
parameter is provided by the application, the mechanism may
return a token in it; mechanisms that implement only local
deletion should set the length field of this token to zero to
indicate to the application that no token is to be sent to the
peer.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.36.8"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_NO_CONTEXT</code>: No valid context was supplied.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-context-time"></a><h3>gss_context_time ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_context_time (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> context_handle</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *time_rec</code></em>);</pre>
<p>Determines the number of seconds for which the specified context
will remain valid.</p>
<div class="refsect3">
<a name="id-1.2.6.6.37.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Implementation specific status
code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>context_handle</p></td>
<td class="parameter_description"><p>(gss_ctx_id_t, read) Identifies the context to be
interrogated.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>time_rec</p></td>
<td class="parameter_description"><p>(Integer, modify) Number of seconds that the context
will remain valid. If the context has already expired, zero will
be returned.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.37.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_CONTEXT_EXPIRED</code>: The context has already expired.</p>
<p><code class="literal">GSS_S_NO_CONTEXT</code>: The context_handle parameter did not identify a
valid context</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-get-mic"></a><h3>gss_get_mic ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_get_mic (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> context_handle</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-qop-t" title="gss_qop_t"><span class="type">gss_qop_t</span></a> qop_req</code></em>,
<em class="parameter"><code>const <span class="type">gss_buffer_t</span> message_buffer</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> message_token</code></em>);</pre>
<p>Generates a cryptographic MIC for the supplied message, and places
the MIC in a token for transfer to the peer application. The
qop_req parameter allows a choice between several cryptographic
algorithms, if supported by the chosen mechanism.</p>
<p>Since some application-level protocols may wish to use tokens
emitted by <a class="link" href="gss-api.html#gss-wrap" title="gss_wrap ()"><code class="function">gss_wrap()</code></a> to provide "secure framing", implementations
must support derivation of MICs from zero-length messages.</p>
<div class="refsect3">
<a name="id-1.2.6.6.38.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>context_handle</p></td>
<td class="parameter_description"><p>(gss_ctx_id_t, read) Identifies the context on
which the message will be sent.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>qop_req</p></td>
<td class="parameter_description"><p>(gss_qop_t, read, optional) Specifies requested quality
of protection. Callers are encouraged, on portability grounds,
to accept the default quality of protection offered by the chosen
mechanism, which may be requested by specifying GSS_C_QOP_DEFAULT
for this parameter. If an unsupported protection strength is
requested, gss_get_mic will return a major_status of
GSS_S_BAD_QOP.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>message_buffer</p></td>
<td class="parameter_description"><p>(buffer, opaque, read) Message to be protected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>message_token</p></td>
<td class="parameter_description"><p>(buffer, opaque, modify) Buffer to receive token. The
application must free storage associated with this buffer after
use with a call to <a class="link" href="gss-api.html#gss-release-buffer" title="gss_release_buffer ()"><code class="function">gss_release_buffer()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.38.7"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_CONTEXT_EXPIRED</code>: The context has already expired.</p>
<p><code class="literal">GSS_S_NO_CONTEXT</code>: The context_handle parameter did not identify a
valid context.</p>
<p><code class="literal">GSS_S_BAD_QOP</code>: The specified QOP is not supported by the
mechanism.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-verify-mic"></a><h3>gss_verify_mic ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_verify_mic (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> context_handle</code></em>,
<em class="parameter"><code>const <span class="type">gss_buffer_t</span> message_buffer</code></em>,
<em class="parameter"><code>const <span class="type">gss_buffer_t</span> token_buffer</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-qop-t" title="gss_qop_t"><span class="type">gss_qop_t</span></a> *qop_state</code></em>);</pre>
<p>Verifies that a cryptographic MIC, contained in the token
parameter, fits the supplied message. The qop_state parameter
allows a message recipient to determine the strength of protection
that was applied to the message.</p>
<p>Since some application-level protocols may wish to use tokens
emitted by <a class="link" href="gss-api.html#gss-wrap" title="gss_wrap ()"><code class="function">gss_wrap()</code></a> to provide "secure framing", implementations
must support the calculation and verification of MICs over
zero-length messages.</p>
<div class="refsect3">
<a name="id-1.2.6.6.39.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>context_handle</p></td>
<td class="parameter_description"><p>(gss_ctx_id_t, read) Identifies the context on
which the message arrived.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>message_buffer</p></td>
<td class="parameter_description"><p>(buffer, opaque, read) Message to be verified.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>token_buffer</p></td>
<td class="parameter_description"><p>(buffer, opaque, read) Token associated with
message.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>qop_state</p></td>
<td class="parameter_description"><p>(gss_qop_t, modify, optional) Quality of protection
gained from MIC Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.39.7"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_DEFECTIVE_TOKEN</code>: The token failed consistency checks.</p>
<p><code class="literal">GSS_S_BAD_SIG</code>: The MIC was incorrect.</p>
<p><code class="literal">GSS_S_DUPLICATE_TOKEN</code>: The token was valid, and contained a
correct MIC for the message, but it had already been processed.</p>
<p><code class="literal">GSS_S_OLD_TOKEN</code>: The token was valid, and contained a correct MIC
for the message, but it is too old to check for duplication.</p>
<p><code class="literal">GSS_S_UNSEQ_TOKEN</code>: The token was valid, and contained a correct
MIC for the message, but has been verified out of sequence; a later
token has already been received.</p>
<p><code class="literal">GSS_S_GAP_TOKEN</code>: The token was valid, and contained a correct MIC
for the message, but has been verified out of sequence; an earlier
expected token has not yet been received.</p>
<p><code class="literal">GSS_S_CONTEXT_EXPIRED</code>: The context has already expired.</p>
<p><code class="literal">GSS_S_NO_CONTEXT</code>: The context_handle parameter did not identify a
valid context.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-wrap"></a><h3>gss_wrap ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_wrap (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> context_handle</code></em>,
<em class="parameter"><code><span class="type">int</span> conf_req_flag</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-qop-t" title="gss_qop_t"><span class="type">gss_qop_t</span></a> qop_req</code></em>,
<em class="parameter"><code>const <span class="type">gss_buffer_t</span> input_message_buffer</code></em>,
<em class="parameter"><code><span class="type">int</span> *conf_state</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> output_message_buffer</code></em>);</pre>
<p>Attaches a cryptographic MIC and optionally encrypts the specified
input_message. The output_message contains both the MIC and the
message. The qop_req parameter allows a choice between several
cryptographic algorithms, if supported by the chosen mechanism.</p>
<p>Since some application-level protocols may wish to use tokens
emitted by <a class="link" href="gss-api.html#gss-wrap" title="gss_wrap ()"><code class="function">gss_wrap()</code></a> to provide "secure framing", implementations
must support the wrapping of zero-length messages.</p>
<div class="refsect3">
<a name="id-1.2.6.6.40.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>context_handle</p></td>
<td class="parameter_description"><p>(gss_ctx_id_t, read) Identifies the context on
which the message will be sent.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>conf_req_flag</p></td>
<td class="parameter_description"><p>(boolean, read) Non-zero - Both confidentiality and
integrity services are requested. Zero - Only integrity service is
requested.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>qop_req</p></td>
<td class="parameter_description"><p>(gss_qop_t, read, optional) Specifies required quality of
protection. A mechanism-specific default may be requested by
setting qop_req to GSS_C_QOP_DEFAULT. If an unsupported
protection strength is requested, gss_wrap will return a
major_status of GSS_S_BAD_QOP.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>input_message_buffer</p></td>
<td class="parameter_description"><p>(buffer, opaque, read) Message to be
protected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>conf_state</p></td>
<td class="parameter_description"><p>(boolean, modify, optional) Non-zero -
Confidentiality, data origin authentication and integrity
services have been applied. Zero - Integrity and data origin
services only has been applied. Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_message_buffer</p></td>
<td class="parameter_description"><p>(buffer, opaque, modify) Buffer to receive
protected message. Storage associated with this message must be
freed by the application after use with a call to
<a class="link" href="gss-api.html#gss-release-buffer" title="gss_release_buffer ()"><code class="function">gss_release_buffer()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.40.7"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_CONTEXT_EXPIRED</code>: The context has already expired.</p>
<p><code class="literal">GSS_S_NO_CONTEXT</code>: The context_handle parameter did not identify a
valid context.</p>
<p><code class="literal">GSS_S_BAD_QOP</code>: The specified QOP is not supported by the
mechanism.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-unwrap"></a><h3>gss_unwrap ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_unwrap (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> context_handle</code></em>,
<em class="parameter"><code>const <span class="type">gss_buffer_t</span> input_message_buffer</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> output_message_buffer</code></em>,
<em class="parameter"><code><span class="type">int</span> *conf_state</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-qop-t" title="gss_qop_t"><span class="type">gss_qop_t</span></a> *qop_state</code></em>);</pre>
<p>Converts a message previously protected by gss_wrap back to a
usable form, verifying the embedded MIC. The conf_state parameter
indicates whether the message was encrypted; the qop_state
parameter indicates the strength of protection that was used to
provide the confidentiality and integrity services.</p>
<p>Since some application-level protocols may wish to use tokens
emitted by <a class="link" href="gss-api.html#gss-wrap" title="gss_wrap ()"><code class="function">gss_wrap()</code></a> to provide "secure framing", implementations
must support the wrapping and unwrapping of zero-length messages.</p>
<div class="refsect3">
<a name="id-1.2.6.6.41.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>context_handle</p></td>
<td class="parameter_description"><p>(gss_ctx_id_t, read) Identifies the context on
which the message arrived.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>input_message_buffer</p></td>
<td class="parameter_description"><p>(buffer, opaque, read) Protected message.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_message_buffer</p></td>
<td class="parameter_description"><p>(buffer, opaque, modify) Buffer to receive
unwrapped message. Storage associated with this buffer must be
freed by the application after use use with a call to
<a class="link" href="gss-api.html#gss-release-buffer" title="gss_release_buffer ()"><code class="function">gss_release_buffer()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>conf_state</p></td>
<td class="parameter_description"><p>(boolean, modify, optional) Non-zero - Confidentiality
and integrity protection were used. Zero - Integrity service only
was used. Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>qop_state</p></td>
<td class="parameter_description"><p>(gss_qop_t, modify, optional) Quality of protection
provided. Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.41.7"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_DEFECTIVE_TOKEN</code>: The token failed consistency checks.</p>
<p><code class="literal">GSS_S_BAD_SIG</code>: The MIC was incorrect.</p>
<p><code class="literal">GSS_S_DUPLICATE_TOKEN</code>: The token was valid, and contained a
correct MIC for the message, but it had already been processed.</p>
<p><code class="literal">GSS_S_OLD_TOKEN</code>: The token was valid, and contained a correct MIC
for the message, but it is too old to check for duplication.</p>
<p><code class="literal">GSS_S_UNSEQ_TOKEN</code>: The token was valid, and contained a correct
MIC for the message, but has been verified out of sequence; a later
token has already been received.</p>
<p><code class="literal">GSS_S_GAP_TOKEN</code>: The token was valid, and contained a correct MIC
for the message, but has been verified out of sequence; an earlier
expected token has not yet been received.</p>
<p><code class="literal">GSS_S_CONTEXT_EXPIRED</code>: The context has already expired.</p>
<p><code class="literal">GSS_S_NO_CONTEXT</code>: The context_handle parameter did not identify a
valid context.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-display-status"></a><h3>gss_display_status ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_display_status (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> status_value</code></em>,
<em class="parameter"><code><span class="type">int</span> status_type</code></em>,
<em class="parameter"><code>const <span class="type">gss_OID</span> mech_type</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *message_context</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> status_string</code></em>);</pre>
<p>Allows an application to obtain a textual representation of a
GSS-API status code, for display to the user or for logging
purposes. Since some status values may indicate multiple
conditions, applications may need to call gss_display_status
multiple times, each call generating a single text string. The
message_context parameter is used by gss_display_status to store
state information about which error messages have already been
extracted from a given status_value; message_context must be
initialized to 0 by the application prior to the first call, and
gss_display_status will return a non-zero value in this parameter
if there are further messages to extract.</p>
<div class="refsect3">
<a name="id-1.2.6.6.42.5"></a><h4>The message_context parameter contains all state information
required by gss_display_status in order to extract further messages
from the status_value; even when a non-zero value is returned in
this parameter, the application is not required to call
gss_display_status again unless subsequent messages are desired.
The following code extracts all messages from a given status code
and prints them to stderr:</h4>
<p>OM_uint32 message_context;
OM_uint32 status_code;
OM_uint32 maj_status;
OM_uint32 min_status;
gss_buffer_desc status_string;</p>
<p> ...</p>
<p>message_context = 0;</p>
<p>do {
maj_status = gss_display_status (
&min_status,
status_code,
GSS_C_GSS_CODE,
GSS_C_NO_OID,
&message_context,
&status_string)</p>
<p> fprintf(stderr,
"%.*s\n",
(int)status_string.length,</p>
<p> (char *)status_string.value);</p>
<p> gss_release_buffer(&min_status, &status_string);</p>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.42.6"></a><h4>The message_context parameter contains all state information
required by gss_display_status in order to extract further messages
from the status_value; even when a non-zero value is returned in
this parameter, the application is not required to call
gss_display_status again unless subsequent messages are desired.
The following code extracts all messages from a given status code
and prints them to stderr:</h4>
<p>OM_uint32 message_context;
OM_uint32 status_code;
OM_uint32 maj_status;
OM_uint32 min_status;
gss_buffer_desc status_string;</p>
<p> ...</p>
<p>message_context = 0;</p>
<p>do {
maj_status = gss_display_status (
&min_status,
status_code,
GSS_C_GSS_CODE,
GSS_C_NO_OID,
&message_context,
&status_string)</p>
<p> fprintf(stderr,
"%.*s\n",
(int)status_string.length,</p>
<p> (char *)status_string.value);</p>
<p> gss_release_buffer(&min_status, &status_string);</p>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.42.7"></a><h4>} while (message_context != 0);</h4>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.42.8"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>status_value</p></td>
<td class="parameter_description"><p>(Integer, read) Status value to be converted.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>status_type</p></td>
<td class="parameter_description"><p>(Integer, read) GSS_C_GSS_CODE - status_value is a
GSS status code. GSS_C_MECH_CODE - status_value is a mechanism
status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mech_type</p></td>
<td class="parameter_description"><p>(Object ID, read, optional) Underlying mechanism (used
to interpret a minor status value). Supply GSS_C_NO_OID to obtain
the system default.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>message_context</p></td>
<td class="parameter_description"><p>(Integer, read/modify) Should be initialized to
zero by the application prior to the first call. On return from
<a class="link" href="gss-api.html#gss-display-status" title="gss_display_status ()"><code class="function">gss_display_status()</code></a>, a non-zero status_value parameter indicates
that additional messages may be extracted from the status code
via subsequent calls to <a class="link" href="gss-api.html#gss-display-status" title="gss_display_status ()"><code class="function">gss_display_status()</code></a>, passing the same
status_value, status_type, mech_type, and message_context
parameters.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>status_string</p></td>
<td class="parameter_description"><p>(buffer, character string, modify) Textual
interpretation of the status_value. Storage associated with this
parameter must be freed by the application after use with a call
to <a class="link" href="gss-api.html#gss-release-buffer" title="gss_release_buffer ()"><code class="function">gss_release_buffer()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.42.9"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_BAD_MECH</code>: Indicates that translation in accordance with an
unsupported mechanism type was requested.</p>
<p><code class="literal">GSS_S_BAD_STATUS</code>: The status value was not recognized, or the
status type was neither GSS_C_GSS_CODE nor GSS_C_MECH_CODE.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-indicate-mechs"></a><h3>gss_indicate_mechs ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_indicate_mechs (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code><span class="type">gss_OID_set</span> *mech_set</code></em>);</pre>
<p>Allows an application to determine which underlying security
mechanisms are available.</p>
<div class="refsect3">
<a name="id-1.2.6.6.43.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mech_set</p></td>
<td class="parameter_description"><p>(set of Object IDs, modify) Set of
implementation-supported mechanisms. The returned gss_OID_set
value will be a dynamically-allocated OID set, that should be
released by the caller after use with a call to
<a class="link" href="gss-api.html#gss-release-oid-set" title="gss_release_oid_set ()"><code class="function">gss_release_oid_set()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.43.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-compare-name"></a><h3>gss_compare_name ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_compare_name (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> name1</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> name2</code></em>,
<em class="parameter"><code><span class="type">int</span> *name_equal</code></em>);</pre>
<p>Allows an application to compare two internal-form names to
determine whether they refer to the same entity.</p>
<p>If either name presented to gss_compare_name denotes an anonymous
principal, the routines should indicate that the two names do not
refer to the same identity.</p>
<div class="refsect3">
<a name="id-1.2.6.6.44.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name1</p></td>
<td class="parameter_description"><p>(gss_name_t, read) Internal-form name.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name2</p></td>
<td class="parameter_description"><p>(gss_name_t, read) Internal-form name.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name_equal</p></td>
<td class="parameter_description"><p>(boolean, modify) Non-zero - names refer to same
entity. Zero - names refer to different entities (strictly, the
names are not known to refer to the same identity).</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.44.7"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_BAD_NAMETYPE</code>: The two names were of incomparable types.</p>
<p><code class="literal">GSS_S_BAD_NAME</code>: One or both of name1 or name2 was ill-formed.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-display-name"></a><h3>gss_display_name ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_display_name (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> input_name</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> output_name_buffer</code></em>,
<em class="parameter"><code><span class="type">gss_OID</span> *output_name_type</code></em>);</pre>
<p>Allows an application to obtain a textual representation of an
opaque internal-form name for display purposes. The syntax of a
printable name is defined by the GSS-API implementation.</p>
<p>If input_name denotes an anonymous principal, the implementation
should return the gss_OID value GSS_C_NT_ANONYMOUS as the
output_name_type, and a textual name that is syntactically distinct
from all valid supported printable names in output_name_buffer.</p>
<p>If input_name was created by a call to gss_import_name, specifying
GSS_C_NO_OID as the name-type, implementations that employ lazy
conversion between name types may return GSS_C_NO_OID via the
output_name_type parameter.</p>
<div class="refsect3">
<a name="id-1.2.6.6.45.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>input_name</p></td>
<td class="parameter_description"><p>(gss_name_t, read) Name to be displayed.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_name_buffer</p></td>
<td class="parameter_description"><p>(buffer, character-string, modify) Buffer to
receive textual name string. The application must free storage
associated with this name after use with a call to
<a class="link" href="gss-api.html#gss-release-buffer" title="gss_release_buffer ()"><code class="function">gss_release_buffer()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_name_type</p></td>
<td class="parameter_description"><p>(Object ID, modify, optional) The type of the
returned name. The returned gss_OID will be a pointer into
static storage, and should be treated as read-only by the caller
(in particular, the application should not attempt to free
it). Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.45.8"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_BAD_NAME</code>: <em class="parameter"><code>input_name</code></em>
was ill-formed.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-import-name"></a><h3>gss_import_name ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_import_name (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <span class="type">gss_buffer_t</span> input_name_buffer</code></em>,
<em class="parameter"><code>const <span class="type">gss_OID</span> input_name_type</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> *output_name</code></em>);</pre>
<p>Convert a contiguous string name to internal form. In general, the
internal name returned (via the <em class="parameter"><code>output_name</code></em>
parameter) will not
be an MN; the exception to this is if the <em class="parameter"><code>input_name_type</code></em>
indicates that the contiguous string provided via the
<em class="parameter"><code>input_name_buffer</code></em>
parameter is of type GSS_C_NT_EXPORT_NAME, in
which case the returned internal name will be an MN for the
mechanism that exported the name.</p>
<div class="refsect3">
<a name="id-1.2.6.6.46.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>input_name_buffer</p></td>
<td class="parameter_description"><p>(buffer, octet-string, read) Buffer containing
contiguous string name to convert.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>input_name_type</p></td>
<td class="parameter_description"><p>(Object ID, read, optional) Object ID specifying
type of printable name. Applications may specify either
GSS_C_NO_OID to use a mechanism-specific default printable
syntax, or an OID recognized by the GSS-API implementation to
name a specific namespace.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_name</p></td>
<td class="parameter_description"><p>(gss_name_t, modify) Returned name in internal form.
Storage associated with this name must be freed by the
application after use with a call to <a class="link" href="gss-api.html#gss-release-name" title="gss_release_name ()"><code class="function">gss_release_name()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.46.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_BAD_NAMETYPE</code>: The input_name_type was unrecognized.</p>
<p><code class="literal">GSS_S_BAD_NAME</code>: The input_name parameter could not be interpreted
as a name of the specified type.</p>
<p><code class="literal">GSS_S_BAD_MECH</code>: The input name-type was GSS_C_NT_EXPORT_NAME, but
the mechanism contained within the input-name is not supported.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-export-name"></a><h3>gss_export_name ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_export_name (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> input_name</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> exported_name</code></em>);</pre>
<p>To produce a canonical contiguous string representation of a
mechanism name (MN), suitable for direct comparison (e.g. with
memcmp) for use in authorization functions (e.g. matching entries
in an access-control list). The <em class="parameter"><code>input_name</code></em>
parameter must specify
a valid MN (i.e. an internal name generated by
<a class="link" href="gss-api.html#gss-accept-sec-context" title="gss_accept_sec_context ()"><code class="function">gss_accept_sec_context()</code></a> or by <a class="link" href="gss-api.html#gss-canonicalize-name" title="gss_canonicalize_name ()"><code class="function">gss_canonicalize_name()</code></a>).</p>
<div class="refsect3">
<a name="id-1.2.6.6.47.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>input_name</p></td>
<td class="parameter_description"><p>(gss_name_t, read) The MN to be exported.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>exported_name</p></td>
<td class="parameter_description"><p>(gss_buffer_t, octet-string, modify) The canonical
contiguous string form of <em class="parameter"><code>input_name</code></em>
. Storage associated with
this string must freed by the application after use with
<a class="link" href="gss-api.html#gss-release-buffer" title="gss_release_buffer ()"><code class="function">gss_release_buffer()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.47.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_NAME_NOT_MN</code>: The provided internal name was not a mechanism
name.</p>
<p><code class="literal">GSS_S_BAD_NAME</code>: The provided internal name was ill-formed.</p>
<p><code class="literal">GSS_S_BAD_NAMETYPE</code>: The internal name was of a type not supported
by the GSS-API implementation.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-release-name"></a><h3>gss_release_name ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_release_name (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> *name</code></em>);</pre>
<p>Free GSSAPI-allocated storage associated with an internal-form
name. The name is set to GSS_C_NO_NAME on successful completion of
this call.</p>
<div class="refsect3">
<a name="id-1.2.6.6.48.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>(gss_name_t, modify) The name to be deleted.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.48.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_BAD_NAME</code>: The name parameter did not contain a valid name.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-release-buffer"></a><h3>gss_release_buffer ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_release_buffer (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> buffer</code></em>);</pre>
<p>Free storage associated with a buffer. The storage must have been
allocated by a GSS-API routine. In addition to freeing the
associated storage, the routine will zero the length field in the
descriptor to which the buffer parameter refers, and
implementations are encouraged to additionally set the pointer
field in the descriptor to NULL. Any buffer object returned by a
GSS-API routine may be passed to gss_release_buffer (even if there
is no storage associated with the buffer).</p>
<div class="refsect3">
<a name="id-1.2.6.6.49.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>buffer</p></td>
<td class="parameter_description"><p>(buffer, modify) The storage associated with the buffer
will be deleted. The gss_buffer_desc object will not be freed,
but its length field will be zeroed.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.49.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-release-oid-set"></a><h3>gss_release_oid_set ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_release_oid_set (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code><span class="type">gss_OID_set</span> *set</code></em>);</pre>
<p>Free storage associated with a GSSAPI-generated gss_OID_set object.
The set parameter must refer to an OID-set that was returned from a
GSS-API routine. <a class="link" href="gss-api.html#gss-release-oid-set" title="gss_release_oid_set ()"><code class="function">gss_release_oid_set()</code></a> will free the storage
associated with each individual member OID, the OID set's elements
array, and the gss_OID_set_desc.</p>
<p>The gss_OID_set parameter is set to GSS_C_NO_OID_SET on successful
completion of this routine.</p>
<div class="refsect3">
<a name="id-1.2.6.6.50.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>set</p></td>
<td class="parameter_description"><p>(Set of Object IDs, modify) The storage associated with the
gss_OID_set will be deleted.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.50.7"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-inquire-cred"></a><h3>gss_inquire_cred ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_inquire_cred (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-cred-id-t" title="gss_cred_id_t"><span class="type">gss_cred_id_t</span></a> cred_handle</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> *name</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *lifetime</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-cred-usage-t" title="gss_cred_usage_t"><span class="type">gss_cred_usage_t</span></a> *cred_usage</code></em>,
<em class="parameter"><code><span class="type">gss_OID_set</span> *mechanisms</code></em>);</pre>
<p>Obtains information about a credential.</p>
<div class="refsect3">
<a name="id-1.2.6.6.51.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cred_handle</p></td>
<td class="parameter_description"><p>(gss_cred_id_t, read) A handle that refers to the
target credential. Specify GSS_C_NO_CREDENTIAL to inquire about
the default initiator principal.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>(gss_name_t, modify, optional) The name whose identity the
credential asserts. Storage associated with this name should be
freed by the application after use with a call to
<a class="link" href="gss-api.html#gss-release-name" title="gss_release_name ()"><code class="function">gss_release_name()</code></a>. Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>lifetime</p></td>
<td class="parameter_description"><p>(Integer, modify, optional) The number of seconds for
which the credential will remain valid. If the credential has
expired, this parameter will be set to zero. If the
implementation does not support credential expiration, the value
GSS_C_INDEFINITE will be returned. Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cred_usage</p></td>
<td class="parameter_description"><p>(gss_cred_usage_t, modify, optional) How the
credential may be used. One of the following: GSS_C_INITIATE,
GSS_C_ACCEPT, GSS_C_BOTH. Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mechanisms</p></td>
<td class="parameter_description"><p>(gss_OID_set, modify, optional) Set of mechanisms
supported by the credential. Storage associated with this OID
set must be freed by the application after use with a call to
<a class="link" href="gss-api.html#gss-release-oid-set" title="gss_release_oid_set ()"><code class="function">gss_release_oid_set()</code></a>. Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.51.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_NO_CRED</code>: The referenced credentials could not be accessed.</p>
<p><code class="literal">GSS_S_DEFECTIVE_CREDENTIAL</code>: The referenced credentials were invalid.</p>
<p><code class="literal">GSS_S_CREDENTIALS_EXPIRED</code>: The referenced credentials have
expired. If the lifetime parameter was not passed as NULL, it will
be set to 0.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-inquire-context"></a><h3>gss_inquire_context ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_inquire_context (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> context_handle</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> *src_name</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> *targ_name</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *lifetime_rec</code></em>,
<em class="parameter"><code><span class="type">gss_OID</span> *mech_type</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *ctx_flags</code></em>,
<em class="parameter"><code><span class="type">int</span> *locally_initiated</code></em>,
<em class="parameter"><code><span class="type">int</span> *open</code></em>);</pre>
<p>Obtains information about a security context. The caller must
already have obtained a handle that refers to the context, although
the context need not be fully established.</p>
<p>The <code class="literal">ctx_flags</code> values:</p>
<p><code class="literal">GSS_C_DELEG_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Credentials were delegated from the initiator to the
acceptor.</p></li>
<li class="listitem"><p>False - No credentials were delegated.</p></li>
</ul></div>
<p><code class="literal">GSS_C_MUTUAL_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - The acceptor was authenticated to the initiator.</p></li>
<li class="listitem"><p>False - The acceptor did not authenticate itself.</p></li>
</ul></div>
<p><code class="literal">GSS_C_REPLAY_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - replay of protected messages will be detected.</p></li>
<li class="listitem"><p>False - replayed messages will not be detected.</p></li>
</ul></div>
<p><code class="literal">GSS_C_SEQUENCE_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - out-of-sequence protected messages will be detected.</p></li>
<li class="listitem"><p>False - out-of-sequence messages will not be detected.</p></li>
</ul></div>
<p><code class="literal">GSS_C_CONF_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Confidentiality service may be invoked by calling gss_wrap
routine.</p></li>
<li class="listitem"><p>False - No confidentiality service (via gss_wrap)
available. gss_wrap will provide message encapsulation, data-origin
authentication and integrity services only.</p></li>
</ul></div>
<p><code class="literal">GSS_C_INTEG_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Integrity service may be invoked by calling either
gss_get_mic or gss_wrap routines.</p></li>
<li class="listitem"><p>False - Per-message integrity service unavailable.</p></li>
</ul></div>
<p><code class="literal">GSS_C_ANON_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - The initiator's identity will not be revealed to the
acceptor. The src_name parameter (if requested) contains an
anonymous internal name.</p></li>
<li class="listitem"><p>False - The initiator has been authenticated normally.</p></li>
</ul></div>
<p><code class="literal">GSS_C_PROT_READY_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - Protection services (as specified by the states of the
GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG) are available for use.</p></li>
<li class="listitem"><p>False - Protection services (as specified by the states of the
GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG) are available only if the
context is fully established (i.e. if the open parameter is
non-zero).</p></li>
</ul></div>
<p><code class="literal">GSS_C_TRANS_FLAG</code>::</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>True - The resultant security context may be transferred to other
processes via a call to <a class="link" href="gss-api.html#gss-export-sec-context" title="gss_export_sec_context ()"><code class="function">gss_export_sec_context()</code></a>.</p></li>
<li class="listitem"><p>False - The security context is not transferable.</p></li>
</ul></div>
<div class="refsect3">
<a name="id-1.2.6.6.52.24"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>context_handle</p></td>
<td class="parameter_description"><p>(gss_ctx_id_t, read) A handle that refers to the
security context.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>src_name</p></td>
<td class="parameter_description"><p>(gss_name_t, modify, optional) The name of the context
initiator. If the context was established using anonymous
authentication, and if the application invoking
gss_inquire_context is the context acceptor, an anonymous name
will be returned. Storage associated with this name must be
freed by the application after use with a call to
<a class="link" href="gss-api.html#gss-release-name" title="gss_release_name ()"><code class="function">gss_release_name()</code></a>. Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>targ_name</p></td>
<td class="parameter_description"><p>(gss_name_t, modify, optional) The name of the context
acceptor. Storage associated with this name must be freed by the
application after use with a call to <a class="link" href="gss-api.html#gss-release-name" title="gss_release_name ()"><code class="function">gss_release_name()</code></a>. If the
context acceptor did not authenticate itself, and if the
initiator did not specify a target name in its call to
<a class="link" href="gss-api.html#gss-init-sec-context" title="gss_init_sec_context ()"><code class="function">gss_init_sec_context()</code></a>, the value GSS_C_NO_NAME will be returned.
Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>lifetime_rec</p></td>
<td class="parameter_description"><p>(Integer, modify, optional) The number of seconds
for which the context will remain valid. If the context has
expired, this parameter will be set to zero. If the
implementation does not support context expiration, the value
GSS_C_INDEFINITE will be returned. Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mech_type</p></td>
<td class="parameter_description"><p>(gss_OID, modify, optional) The security mechanism
providing the context. The returned OID will be a pointer to
static storage that should be treated as read-only by the
application; in particular the application should not attempt to
free it. Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>ctx_flags</p></td>
<td class="parameter_description"><p>(bit-mask, modify, optional) Contains various
independent flags, each of which indicates that the context
supports (or is expected to support, if ctx_open is false) a
specific service option. If not needed, specify NULL. Symbolic
names are provided for each flag, and the symbolic names
corresponding to the required flags should be logically-ANDed
with the ret_flags value to test whether a given option is
supported by the context. See below for the flags.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>locally_initiated</p></td>
<td class="parameter_description"><p>(Boolean, modify) Non-zero if the invoking
application is the context initiator. Specify NULL if not
required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>open</p></td>
<td class="parameter_description"><p>(Boolean, modify) Non-zero if the context is fully
established; Zero if a context-establishment token is expected
from the peer application. Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.52.25"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_NO_CONTEXT</code>: The referenced context could not be accessed.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-wrap-size-limit"></a><h3>gss_wrap_size_limit ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_wrap_size_limit (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> context_handle</code></em>,
<em class="parameter"><code><span class="type">int</span> conf_req_flag</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-qop-t" title="gss_qop_t"><span class="type">gss_qop_t</span></a> qop_req</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> req_output_size</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *max_input_size</code></em>);</pre>
<p>Allows an application to determine the maximum message size that,
if presented to gss_wrap with the same conf_req_flag and qop_req
parameters, will result in an output token containing no more than
req_output_size bytes.</p>
<p>This call is intended for use by applications that communicate over
protocols that impose a maximum message size. It enables the
application to fragment messages prior to applying protection.</p>
<p>GSS-API implementations are recommended but not required to detect
invalid QOP values when <a class="link" href="gss-api.html#gss-wrap-size-limit" title="gss_wrap_size_limit ()"><code class="function">gss_wrap_size_limit()</code></a> is called. This
routine guarantees only a maximum message size, not the
availability of specific QOP values for message protection.</p>
<p>Successful completion of this call does not guarantee that gss_wrap
will be able to protect a message of length max_input_size bytes,
since this ability may depend on the availability of system
resources at the time that gss_wrap is called. However, if the
implementation itself imposes an upper limit on the length of
messages that may be processed by gss_wrap, the implementation
should not return a value via max_input_bytes that is greater than
this length.</p>
<div class="refsect3">
<a name="id-1.2.6.6.53.8"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>context_handle</p></td>
<td class="parameter_description"><p>(gss_ctx_id_t, read) A handle that refers to the
security over which the messages will be sent.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>conf_req_flag</p></td>
<td class="parameter_description"><p>(Boolean, read) Indicates whether gss_wrap will be
asked to apply confidentiality protection in addition to
integrity protection. See the routine description for gss_wrap
for more details.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>qop_req</p></td>
<td class="parameter_description"><p>(gss_qop_t, read) Indicates the level of protection that
gss_wrap will be asked to provide. See the routine description
for gss_wrap for more details.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>req_output_size</p></td>
<td class="parameter_description"><p>(Integer, read) The desired maximum size for
tokens emitted by gss_wrap.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>max_input_size</p></td>
<td class="parameter_description"><p>(Integer, modify) The maximum input message size
that may be presented to gss_wrap in order to guarantee that the
emitted token shall be no larger than req_output_size bytes.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.53.9"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_NO_CONTEXT</code>: The referenced context could not be accessed.</p>
<p><code class="literal">GSS_S_CONTEXT_EXPIRED</code>: The context has expired.</p>
<p><code class="literal">GSS_S_BAD_QOP</code>: The specified QOP is not supported by the
mechanism.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-add-cred"></a><h3>gss_add_cred ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_add_cred (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-cred-id-t" title="gss_cred_id_t"><span class="type">gss_cred_id_t</span></a> input_cred_handle</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> desired_name</code></em>,
<em class="parameter"><code>const <span class="type">gss_OID</span> desired_mech</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-cred-usage-t" title="gss_cred_usage_t"><span class="type">gss_cred_usage_t</span></a> cred_usage</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> initiator_time_req</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> acceptor_time_req</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-cred-id-t" title="gss_cred_id_t"><span class="type">gss_cred_id_t</span></a> *output_cred_handle</code></em>,
<em class="parameter"><code><span class="type">gss_OID_set</span> *actual_mechs</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *initiator_time_rec</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *acceptor_time_rec</code></em>);</pre>
<p>Adds a credential-element to a credential. The credential-element is
identified by the name of the principal to which it refers. GSS-API
implementations must impose a local access-control policy on callers
of this routine to prevent unauthorized callers from acquiring
credential-elements to which they are not entitled. This routine is
not intended to provide a "login to the network" function, as such a
function would involve the creation of new mechanism-specific
authentication data, rather than merely acquiring a GSS-API handle to
existing data. Such functions, if required, should be defined in
implementation-specific extensions to the API.</p>
<p>If desired_name is GSS_C_NO_NAME, the call is interpreted as a
request to add a credential element that will invoke default behavior
when passed to <a class="link" href="gss-api.html#gss-init-sec-context" title="gss_init_sec_context ()"><code class="function">gss_init_sec_context()</code></a> (if cred_usage is
GSS_C_INITIATE or GSS_C_BOTH) or <a class="link" href="gss-api.html#gss-accept-sec-context" title="gss_accept_sec_context ()"><code class="function">gss_accept_sec_context()</code></a> (if
cred_usage is GSS_C_ACCEPT or GSS_C_BOTH).</p>
<p>This routine is expected to be used primarily by context acceptors,
since implementations are likely to provide mechanism-specific ways
of obtaining GSS-API initiator credentials from the system login
process. Some implementations may therefore not support the
acquisition of GSS_C_INITIATE or GSS_C_BOTH credentials via
gss_acquire_cred for any name other than GSS_C_NO_NAME, or a name
produced by applying either gss_inquire_cred to a valid credential,
or gss_inquire_context to an active context.</p>
<p>If credential acquisition is time-consuming for a mechanism, the
mechanism may choose to delay the actual acquisition until the
credential is required (e.g. by gss_init_sec_context or
gss_accept_sec_context). Such mechanism-specific implementation
decisions should be invisible to the calling application; thus a call
of gss_inquire_cred immediately following the call of gss_add_cred
must return valid credential data, and may therefore incur the
overhead of a deferred credential acquisition.</p>
<p>This routine can be used to either compose a new credential
containing all credential-elements of the original in addition to the
newly-acquire credential-element, or to add the new credential-
element to an existing credential. If NULL is specified for the
output_cred_handle parameter argument, the new credential-element
will be added to the credential identified by input_cred_handle; if a
valid pointer is specified for the output_cred_handle parameter, a
new credential handle will be created.</p>
<p>If GSS_C_NO_CREDENTIAL is specified as the input_cred_handle,
gss_add_cred will compose a credential (and set the
output_cred_handle parameter accordingly) based on default behavior.
That is, the call will have the same effect as if the application had
first made a call to <a class="link" href="gss-api.html#gss-acquire-cred" title="gss_acquire_cred ()"><code class="function">gss_acquire_cred()</code></a>, specifying the same usage
and passing GSS_C_NO_NAME as the desired_name parameter to obtain an
explicit credential handle embodying default behavior, passed this
credential handle to <a class="link" href="gss-api.html#gss-add-cred" title="gss_add_cred ()"><code class="function">gss_add_cred()</code></a>, and finally called
<a class="link" href="gss-api.html#gss-release-cred" title="gss_release_cred ()"><code class="function">gss_release_cred()</code></a> on the first credential handle.</p>
<p>If GSS_C_NO_CREDENTIAL is specified as the input_cred_handle
parameter, a non-NULL output_cred_handle must be supplied.</p>
<div class="refsect3">
<a name="id-1.2.6.6.54.11"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>input_cred_handle</p></td>
<td class="parameter_description"><p>(gss_cred_id_t, read, optional) The credential
to which a credential-element will be added. If
GSS_C_NO_CREDENTIAL is specified, the routine will compose the
new credential based on default behavior (see text).
Note that, while the credential-handle is not modified by
<a class="link" href="gss-api.html#gss-add-cred" title="gss_add_cred ()"><code class="function">gss_add_cred()</code></a>, the underlying credential will be modified if
output_credential_handle is NULL.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>desired_name</p></td>
<td class="parameter_description"><p>(gss_name_t, read.) Name of principal whose
credential should be acquired.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>desired_mech</p></td>
<td class="parameter_description"><p>(Object ID, read) Underlying security mechanism with
which the credential may be used.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cred_usage</p></td>
<td class="parameter_description"><p>(gss_cred_usage_t, read) GSS_C_BOTH - Credential may
be used either to initiate or accept security contexts.
GSS_C_INITIATE - Credential will only be used to initiate
security contexts. GSS_C_ACCEPT - Credential will only be used
to accept security contexts.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>initiator_time_req</p></td>
<td class="parameter_description"><p>(Integer, read, optional) number of seconds
that the credential should remain valid for initiating security
contexts. This argument is ignored if the composed credentials
are of type GSS_C_ACCEPT. Specify GSS_C_INDEFINITE to request
that the credentials have the maximum permitted initiator
lifetime.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>acceptor_time_req</p></td>
<td class="parameter_description"><p>(Integer, read, optional) number of seconds
that the credential should remain valid for accepting security
contexts. This argument is ignored if the composed credentials
are of type GSS_C_INITIATE. Specify GSS_C_INDEFINITE to request
that the credentials have the maximum permitted initiator
lifetime.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_cred_handle</p></td>
<td class="parameter_description"><p>(gss_cred_id_t, modify, optional) The returned
credential handle, containing the new credential-element and all
the credential-elements from input_cred_handle. If a valid
pointer to a gss_cred_id_t is supplied for this parameter,
gss_add_cred creates a new credential handle containing all
credential-elements from the input_cred_handle and the newly
acquired credential-element; if NULL is specified for this
parameter, the newly acquired credential-element will be added to
the credential identified by input_cred_handle. The resources
associated with any credential handle returned via this parameter
must be released by the application after use with a call to
<a class="link" href="gss-api.html#gss-release-cred" title="gss_release_cred ()"><code class="function">gss_release_cred()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>actual_mechs</p></td>
<td class="parameter_description"><p>(Set of Object IDs, modify, optional) The complete
set of mechanisms for which the new credential is valid. Storage
for the returned OID-set must be freed by the application after
use with a call to <a class="link" href="gss-api.html#gss-release-oid-set" title="gss_release_oid_set ()"><code class="function">gss_release_oid_set()</code></a>. Specify NULL if not
required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>initiator_time_rec</p></td>
<td class="parameter_description"><p>(Integer, modify, optional) Actual number of
seconds for which the returned credentials will remain valid for
initiating contexts using the specified mechanism. If the
implementation or mechanism does not support expiration of
credentials, the value GSS_C_INDEFINITE will be returned. Specify
NULL if not required</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>acceptor_time_rec</p></td>
<td class="parameter_description"><p>(Integer, modify, optional) Actual number of
seconds for which the returned credentials will remain valid for
accepting security contexts using the specified mechanism. If
the implementation or mechanism does not support expiration of
credentials, the value GSS_C_INDEFINITE will be returned. Specify
NULL if not required</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.54.12"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_BAD_MECH</code>: Unavailable mechanism requested.</p>
<p><code class="literal">GSS_S_BAD_NAMETYPE</code>: Type contained within desired_name parameter
is not supported.</p>
<p><code class="literal">GSS_S_BAD_NAME</code>: Value supplied for desired_name parameter is
ill-formed.</p>
<p><code class="literal">GSS_S_DUPLICATE_ELEMENT</code>: The credential already contains an
element for the requested mechanism with overlapping usage and
validity period.</p>
<p><code class="literal">GSS_S_CREDENTIALS_EXPIRED</code>: The required credentials could not be
added because they have expired.</p>
<p><code class="literal">GSS_S_NO_CRED</code>: No credentials were found for the specified name.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-inquire-cred-by-mech"></a><h3>gss_inquire_cred_by_mech ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_inquire_cred_by_mech (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-cred-id-t" title="gss_cred_id_t"><span class="type">gss_cred_id_t</span></a> cred_handle</code></em>,
<em class="parameter"><code>const <span class="type">gss_OID</span> mech_type</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> *name</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *initiator_lifetime</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *acceptor_lifetime</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-cred-usage-t" title="gss_cred_usage_t"><span class="type">gss_cred_usage_t</span></a> *cred_usage</code></em>);</pre>
<p>Obtains per-mechanism information about a credential.</p>
<div class="refsect3">
<a name="id-1.2.6.6.55.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cred_handle</p></td>
<td class="parameter_description"><p>(gss_cred_id_t, read) A handle that refers to the
target credential. Specify GSS_C_NO_CREDENTIAL to inquire about
the default initiator principal.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mech_type</p></td>
<td class="parameter_description"><p>(gss_OID, read) The mechanism for which information
should be returned.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>(gss_name_t, modify, optional) The name whose identity the
credential asserts. Storage associated with this name must be
freed by the application after use with a call to
<a class="link" href="gss-api.html#gss-release-name" title="gss_release_name ()"><code class="function">gss_release_name()</code></a>. Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>initiator_lifetime</p></td>
<td class="parameter_description"><p>(Integer, modify, optional) The number of
seconds for which the credential will remain capable of
initiating security contexts under the specified mechanism. If
the credential can no longer be used to initiate contexts, or if
the credential usage for this mechanism is GSS_C_ACCEPT, this
parameter will be set to zero. If the implementation does not
support expiration of initiator credentials, the value
GSS_C_INDEFINITE will be returned. Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>acceptor_lifetime</p></td>
<td class="parameter_description"><p>(Integer, modify, optional) The number of
seconds for which the credential will remain capable of accepting
security contexts under the specified mechanism. If the
credential can no longer be used to accept contexts, or if the
credential usage for this mechanism is GSS_C_INITIATE, this
parameter will be set to zero. If the implementation does not
support expiration of acceptor credentials, the value
GSS_C_INDEFINITE will be returned. Specify NULL if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cred_usage</p></td>
<td class="parameter_description"><p>(gss_cred_usage_t, modify, optional) How the
credential may be used with the specified mechanism. One of the
following: GSS_C_INITIATE, GSS_C_ACCEPT, GSS_C_BOTH. Specify NULL
if not required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.55.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_NO_CRED</code>: The referenced credentials could not be accessed.</p>
<p><code class="literal">GSS_S_DEFECTIVE_CREDENTIAL</code>: The referenced credentials were invalid.</p>
<p><code class="literal">GSS_S_CREDENTIALS_EXPIRED</code>: The referenced credentials have
expired. If the lifetime parameter was not passed as NULL, it will
be set to 0.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-export-sec-context"></a><h3>gss_export_sec_context ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_export_sec_context (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> *context_handle</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> interprocess_token</code></em>);</pre>
<p>Provided to support the sharing of work between multiple processes.
This routine will typically be used by the context-acceptor, in an
application where a single process receives incoming connection
requests and accepts security contexts over them, then passes the
established context to one or more other processes for message
exchange. <a class="link" href="gss-api.html#gss-export-sec-context" title="gss_export_sec_context ()"><code class="function">gss_export_sec_context()</code></a> deactivates the security context
for the calling process and creates an interprocess token which,
when passed to gss_import_sec_context in another process, will
re-activate the context in the second process. Only a single
instantiation of a given context may be active at any one time; a
subsequent attempt by a context exporter to access the exported
security context will fail.</p>
<p>The implementation may constrain the set of processes by which the
interprocess token may be imported, either as a function of local
security policy, or as a result of implementation decisions. For
example, some implementations may constrain contexts to be passed
only between processes that run under the same account, or which
are part of the same process group.</p>
<p>The interprocess token may contain security-sensitive information
(for example cryptographic keys). While mechanisms are encouraged
to either avoid placing such sensitive information within
interprocess tokens, or to encrypt the token before returning it to
the application, in a typical object-library GSS-API implementation
this may not be possible. Thus the application must take care to
protect the interprocess token, and ensure that any process to
which the token is transferred is trustworthy.</p>
<p>If creation of the interprocess token is successful, the
implementation shall deallocate all process-wide resources
associated with the security context, and set the context_handle to
GSS_C_NO_CONTEXT. In the event of an error that makes it
impossible to complete the export of the security context, the
implementation must not return an interprocess token, and should
strive to leave the security context referenced by the
context_handle parameter untouched. If this is impossible, it is
permissible for the implementation to delete the security context,
providing it also sets the context_handle parameter to
GSS_C_NO_CONTEXT.</p>
<div class="refsect3">
<a name="id-1.2.6.6.56.8"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>context_handle</p></td>
<td class="parameter_description"><p>(gss_ctx_id_t, modify) Context handle identifying
the context to transfer.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>interprocess_token</p></td>
<td class="parameter_description"><p>(buffer, opaque, modify) Token to be
transferred to target process. Storage associated with this
token must be freed by the application after use with a call to
<a class="link" href="gss-api.html#gss-release-buffer" title="gss_release_buffer ()"><code class="function">gss_release_buffer()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.56.9"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_CONTEXT_EXPIRED</code>: The context has expired.</p>
<p><code class="literal">GSS_S_NO_CONTEXT</code>: The context was invalid.</p>
<p><code class="literal">GSS_S_UNAVAILABLE</code>: The operation is not supported.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-import-sec-context"></a><h3>gss_import_sec_context ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_import_sec_context (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <span class="type">gss_buffer_t</span> interprocess_token</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> *context_handle</code></em>);</pre>
<p>Allows a process to import a security context established by
another process. A given interprocess token may be imported only
once. See gss_export_sec_context.</p>
<div class="refsect3">
<a name="id-1.2.6.6.57.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>interprocess_token</p></td>
<td class="parameter_description"><p>(buffer, opaque, modify) Token received from
exporting process</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>context_handle</p></td>
<td class="parameter_description"><p>(gss_ctx_id_t, modify) Context handle of newly
reactivated context. Resources associated with this context
handle must be released by the application after use with a call
to <a class="link" href="gss-api.html#gss-delete-sec-context" title="gss_delete_sec_context ()"><code class="function">gss_delete_sec_context()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.57.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_NO_CONTEXT</code>: The token did not contain a valid context
reference.</p>
<p><code class="literal">GSS_S_DEFECTIVE_TOKEN</code>: The token was invalid.</p>
<p><code class="literal">GSS_S_UNAVAILABLE</code>: The operation is unavailable.</p>
<p><code class="literal">GSS_S_UNAUTHORIZED</code>: Local policy prevents the import of this
context by the current process.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-create-empty-oid-set"></a><h3>gss_create_empty_oid_set ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_create_empty_oid_set (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code><span class="type">gss_OID_set</span> *oid_set</code></em>);</pre>
<p>Create an object-identifier set containing no object identifiers,
to which members may be subsequently added using the
<a class="link" href="gss-api.html#gss-add-oid-set-member" title="gss_add_oid_set_member ()"><code class="function">gss_add_oid_set_member()</code></a> routine. These routines are intended to
be used to construct sets of mechanism object identifiers, for
input to gss_acquire_cred.</p>
<div class="refsect3">
<a name="id-1.2.6.6.58.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>oid_set</p></td>
<td class="parameter_description"><p>(Set of Object IDs, modify) The empty object identifier
set. The routine will allocate the gss_OID_set_desc object,
which the application must free after use with a call to
<a class="link" href="gss-api.html#gss-release-oid-set" title="gss_release_oid_set ()"><code class="function">gss_release_oid_set()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.58.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-add-oid-set-member"></a><h3>gss_add_oid_set_member ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_add_oid_set_member (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <span class="type">gss_OID</span> member_oid</code></em>,
<em class="parameter"><code><span class="type">gss_OID_set</span> *oid_set</code></em>);</pre>
<p>Add an Object Identifier to an Object Identifier set. This routine
is intended for use in conjunction with gss_create_empty_oid_set
when constructing a set of mechanism OIDs for input to
gss_acquire_cred. The oid_set parameter must refer to an OID-set
that was created by GSS-API (e.g. a set returned by
<a class="link" href="gss-api.html#gss-create-empty-oid-set" title="gss_create_empty_oid_set ()"><code class="function">gss_create_empty_oid_set()</code></a>). GSS-API creates a copy of the
member_oid and inserts this copy into the set, expanding the
storage allocated to the OID-set's elements array if necessary.
The routine may add the new member OID anywhere within the elements
array, and implementations should verify that the new member_oid is
not already contained within the elements array; if the member_oid
is already present, the oid_set should remain unchanged.</p>
<div class="refsect3">
<a name="id-1.2.6.6.59.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>member_oid</p></td>
<td class="parameter_description"><p>(Object ID, read) The object identifier to copied into
the set.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>oid_set</p></td>
<td class="parameter_description"><p>(Set of Object ID, modify) The set in which the object
identifier should be inserted.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.59.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-test-oid-set-member"></a><h3>gss_test_oid_set_member ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_test_oid_set_member (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <span class="type">gss_OID</span> member</code></em>,
<em class="parameter"><code>const <span class="type">gss_OID_set</span> set</code></em>,
<em class="parameter"><code><span class="type">int</span> *present</code></em>);</pre>
<p>Interrogate an Object Identifier set to determine whether a
specified Object Identifier is a member. This routine is intended
to be used with OID sets returned by <a class="link" href="gss-api.html#gss-indicate-mechs" title="gss_indicate_mechs ()"><code class="function">gss_indicate_mechs()</code></a>,
<a class="link" href="gss-api.html#gss-acquire-cred" title="gss_acquire_cred ()"><code class="function">gss_acquire_cred()</code></a>, and <a class="link" href="gss-api.html#gss-inquire-cred" title="gss_inquire_cred ()"><code class="function">gss_inquire_cred()</code></a>, but will also work with
user-generated sets.</p>
<div class="refsect3">
<a name="id-1.2.6.6.60.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>member</p></td>
<td class="parameter_description"><p>(Object ID, read) The object identifier whose presence is
to be tested.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>set</p></td>
<td class="parameter_description"><p>(Set of Object ID, read) The Object Identifier set.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>present</p></td>
<td class="parameter_description"><p>(Boolean, modify) Non-zero if the specified OID is a
member of the set, zero if not.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.60.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-inquire-names-for-mech"></a><h3>gss_inquire_names_for_mech ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_inquire_names_for_mech (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <span class="type">gss_OID</span> mechanism</code></em>,
<em class="parameter"><code><span class="type">gss_OID_set</span> *name_types</code></em>);</pre>
<p>Returns the set of nametypes supported by the specified mechanism.</p>
<div class="refsect3">
<a name="id-1.2.6.6.61.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mechanism</p></td>
<td class="parameter_description"><p>(gss_OID, read) The mechanism to be interrogated.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name_types</p></td>
<td class="parameter_description"><p>(gss_OID_set, modify) Set of name-types supported by
the specified mechanism. The returned OID set must be freed by
the application after use with a call to <a class="link" href="gss-api.html#gss-release-oid-set" title="gss_release_oid_set ()"><code class="function">gss_release_oid_set()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.61.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-inquire-mechs-for-name"></a><h3>gss_inquire_mechs_for_name ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_inquire_mechs_for_name (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> input_name</code></em>,
<em class="parameter"><code><span class="type">gss_OID_set</span> *mech_types</code></em>);</pre>
<p>Returns the set of mechanisms supported by the GSS-API
implementation that may be able to process the specified name.</p>
<p>Each mechanism returned will recognize at least one element within
the name. It is permissible for this routine to be implemented
within a mechanism-independent GSS-API layer, using the type
information contained within the presented name, and based on
registration information provided by individual mechanism
implementations. This means that the returned mech_types set may
indicate that a particular mechanism will understand the name when
in fact it would refuse to accept the name as input to
gss_canonicalize_name, gss_init_sec_context, gss_acquire_cred or
gss_add_cred (due to some property of the specific name, as opposed
to the name type). Thus this routine should be used only as a
prefilter for a call to a subsequent mechanism-specific routine.</p>
<div class="refsect3">
<a name="id-1.2.6.6.62.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>input_name</p></td>
<td class="parameter_description"><p>(gss_name_t, read) The name to which the inquiry
relates.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mech_types</p></td>
<td class="parameter_description"><p>(gss_OID_set, modify) Set of mechanisms that may
support the specified name. The returned OID set must be freed
by the caller after use with a call to <a class="link" href="gss-api.html#gss-release-oid-set" title="gss_release_oid_set ()"><code class="function">gss_release_oid_set()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.62.7"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_BAD_NAME</code>: The input_name parameter was ill-formed.</p>
<p><code class="literal">GSS_S_BAD_NAMETYPE</code>: The input_name parameter contained an invalid
or unsupported type of name.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-canonicalize-name"></a><h3>gss_canonicalize_name ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_canonicalize_name (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> input_name</code></em>,
<em class="parameter"><code>const <span class="type">gss_OID</span> mech_type</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> *output_name</code></em>);</pre>
<p>Generate a canonical mechanism name (MN) from an arbitrary internal
name. The mechanism name is the name that would be returned to a
context acceptor on successful authentication of a context where
the initiator used the input_name in a successful call to
gss_acquire_cred, specifying an OID set containing <em class="parameter"><code>mech_type</code></em>
as
its only member, followed by a call to <a class="link" href="gss-api.html#gss-init-sec-context" title="gss_init_sec_context ()"><code class="function">gss_init_sec_context()</code></a>,
specifying <em class="parameter"><code>mech_type</code></em>
as the authentication mechanism.</p>
<div class="refsect3">
<a name="id-1.2.6.6.63.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>input_name</p></td>
<td class="parameter_description"><p>(gss_name_t, read) The name for which a canonical form
is desired.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mech_type</p></td>
<td class="parameter_description"><p>(Object ID, read) The authentication mechanism for
which the canonical form of the name is desired. The desired
mechanism must be specified explicitly; no default is provided.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_name</p></td>
<td class="parameter_description"><p>(gss_name_t, modify) The resultant canonical name.
Storage associated with this name must be freed by the
application after use with a call to <a class="link" href="gss-api.html#gss-release-name" title="gss_release_name ()"><code class="function">gss_release_name()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.63.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-duplicate-name"></a><h3>gss_duplicate_name ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_duplicate_name (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> src_name</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> *dest_name</code></em>);</pre>
<p>Create an exact duplicate of the existing internal name <em class="parameter"><code>src_name</code></em>
.
The new <em class="parameter"><code>dest_name</code></em>
will be independent of src_name (i.e. <em class="parameter"><code>src_name</code></em>
and <em class="parameter"><code>dest_name</code></em>
must both be released, and the release of one shall
not affect the validity of the other).</p>
<div class="refsect3">
<a name="id-1.2.6.6.64.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>src_name</p></td>
<td class="parameter_description"><p>(gss_name_t, read) Internal name to be duplicated.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest_name</p></td>
<td class="parameter_description"><p>(gss_name_t, modify) The resultant copy of <em class="parameter"><code>src_name</code></em>
.
Storage associated with this name must be freed by the application
after use with a call to <a class="link" href="gss-api.html#gss-release-name" title="gss_release_name ()"><code class="function">gss_release_name()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.64.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_BAD_NAME</code>: The src_name parameter was ill-formed.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-sign"></a><h3>gss_sign ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_sign (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> context_handle</code></em>,
<em class="parameter"><code><span class="type">int</span> qop_req</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> message_buffer</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> message_token</code></em>);</pre>
<p>
</p>
<div class="refsect3">
<a name="id-1.2.6.6.65.5"></a><h4>Returns</h4>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-verify"></a><h3>gss_verify ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_verify (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> context_handle</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> message_buffer</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> token_buffer</code></em>,
<em class="parameter"><code><span class="type">int</span> *qop_state</code></em>);</pre>
<p>
</p>
<div class="refsect3">
<a name="id-1.2.6.6.66.5"></a><h4>Returns</h4>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-seal"></a><h3>gss_seal ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_seal (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> context_handle</code></em>,
<em class="parameter"><code><span class="type">int</span> conf_req_flag</code></em>,
<em class="parameter"><code><span class="type">int</span> qop_req</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> input_message_buffer</code></em>,
<em class="parameter"><code><span class="type">int</span> *conf_state</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> output_message_buffer</code></em>);</pre>
<p>
</p>
<div class="refsect3">
<a name="id-1.2.6.6.67.5"></a><h4>Returns</h4>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-unseal"></a><h3>gss_unseal ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_unseal (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-ctx-id-t" title="gss_ctx_id_t"><span class="type">gss_ctx_id_t</span></a> context_handle</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> input_message_buffer</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> output_message_buffer</code></em>,
<em class="parameter"><code><span class="type">int</span> *conf_state</code></em>,
<em class="parameter"><code><span class="type">int</span> *qop_state</code></em>);</pre>
<p>
</p>
<div class="refsect3">
<a name="id-1.2.6.6.68.5"></a><h4>Returns</h4>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-inquire-saslname-for-mech"></a><h3>gss_inquire_saslname_for_mech ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_inquire_saslname_for_mech (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <span class="type">gss_OID</span> desired_mech</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> sasl_mech_name</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> mech_name</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> mech_description</code></em>);</pre>
<p>Output the SASL mechanism name of a GSS-API mechanism. It also
returns a name and description of the mechanism in a user friendly
form.</p>
<div class="refsect3">
<a name="id-1.2.6.6.69.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>desired_mech</p></td>
<td class="parameter_description"><p>(OID, read) Identifies the GSS-API mechanism to query.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>sasl_mech_name</p></td>
<td class="parameter_description"><p>(buffer, character-string, modify, optional)
Buffer to receive SASL mechanism name. The application must free
storage associated with this name after use with a call to
<a class="link" href="gss-api.html#gss-release-buffer" title="gss_release_buffer ()"><code class="function">gss_release_buffer()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mech_name</p></td>
<td class="parameter_description"><p>(buffer, character-string, modify, optional) Buffer to
receive human readable mechanism name. The application must free
storage associated with this name after use with a call to
<a class="link" href="gss-api.html#gss-release-buffer" title="gss_release_buffer ()"><code class="function">gss_release_buffer()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mech_description</p></td>
<td class="parameter_description"><p>(buffer, character-string, modify, optional)
Buffer to receive description of mechanism. The application must
free storage associated with this name after use with a call to
<a class="link" href="gss-api.html#gss-release-buffer" title="gss_release_buffer ()"><code class="function">gss_release_buffer()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.69.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_BAD_MECH</code>: The <em class="parameter"><code>desired_mech</code></em>
OID is unsupported.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-inquire-mech-for-saslname"></a><h3>gss_inquire_mech_for_saslname ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_inquire_mech_for_saslname (<em class="parameter"><code><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="type">OM_uint32</span></a> *minor_status</code></em>,
<em class="parameter"><code>const <span class="type">gss_buffer_t</span> sasl_mech_name</code></em>,
<em class="parameter"><code><span class="type">gss_OID</span> *mech_type</code></em>);</pre>
<p>Output GSS-API mechanism OID of mechanism associated with given
<em class="parameter"><code>sasl_mech_name</code></em>
.</p>
<div class="refsect3">
<a name="id-1.2.6.6.70.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>minor_status</p></td>
<td class="parameter_description"><p>(Integer, modify) Mechanism specific status code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>sasl_mech_name</p></td>
<td class="parameter_description"><p>(buffer, character-string, read) Buffer with SASL
mechanism name.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mech_type</p></td>
<td class="parameter_description"><p>(OID, modify, optional) Actual mechanism used. The OID
returned via this parameter will be a pointer to static storage
that should be treated as read-only; In particular the
application should not attempt to free it. Specify NULL if not
required.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.70.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Successful completion.</p>
<p><code class="literal">GSS_S_BAD_MECH</code>: There is no GSS-API mechanism known as <em class="parameter"><code>sasl_mech_name</code></em>
.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-oid-equal"></a><h3>gss_oid_equal ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
gss_oid_equal (<em class="parameter"><code><a class="link" href="gss-api.html#gss-const-OID" title="gss_const_OID"><span class="type">gss_const_OID</span></a> first_oid</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-const-OID" title="gss_const_OID"><span class="type">gss_const_OID</span></a> second_oid</code></em>);</pre>
<p>Compare two OIDs for equality. The comparison is "deep", i.e., the
actual byte sequences of the OIDs are compared instead of just the
pointer equality. This function is standardized in RFC 6339.</p>
<div class="refsect3">
<a name="id-1.2.6.6.71.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>first_oid</p></td>
<td class="parameter_description"><p>(Object ID, read) First Object identifier.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>second_oid</p></td>
<td class="parameter_description"><p>(Object ID, read) First Object identifier.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.71.6"></a><h4>Returns</h4>
<p> Returns boolean value true when the two OIDs are
equal, otherwise false.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-encapsulate-token"></a><h3>gss_encapsulate_token ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_encapsulate_token (<em class="parameter"><code><a class="link" href="gss-api.html#gss-const-buffer-t" title="gss_const_buffer_t"><span class="type">gss_const_buffer_t</span></a> input_token</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-const-OID" title="gss_const_OID"><span class="type">gss_const_OID</span></a> token_oid</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> output_token</code></em>);</pre>
<p>Add the mechanism-independent token header to GSS-API context token
data. This is used for the initial token of a GSS-API context
establishment sequence. It incorporates an identifier of the
mechanism type to be used on that context, and enables tokens to be
interpreted unambiguously at GSS-API peers. See further section
3.1 of RFC 2743. This function is standardized in RFC 6339.</p>
<div class="refsect3">
<a name="id-1.2.6.6.72.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>input_token</p></td>
<td class="parameter_description"><p>(buffer, opaque, read) Buffer with GSS-API context token data.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>token_oid</p></td>
<td class="parameter_description"><p>(Object ID, read) Object identifier of token.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_token</p></td>
<td class="parameter_description"><p>(buffer, opaque, modify) Encapsulated token data;
caller must release with <a class="link" href="gss-api.html#gss-release-buffer" title="gss_release_buffer ()"><code class="function">gss_release_buffer()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.72.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Indicates successful completion, and that output
parameters holds correct information.</p>
<p><code class="literal">GSS_S_FAILURE</code>: Indicates that encapsulation failed for reasons
unspecified at the GSS-API level.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-decapsulate-token"></a><h3>gss_decapsulate_token ()</h3>
<pre class="programlisting"><a class="link" href="gss-api.html#OM-uint32" title="OM_uint32"><span class="returnvalue">OM_uint32</span></a>
gss_decapsulate_token (<em class="parameter"><code><a class="link" href="gss-api.html#gss-const-buffer-t" title="gss_const_buffer_t"><span class="type">gss_const_buffer_t</span></a> input_token</code></em>,
<em class="parameter"><code><a class="link" href="gss-api.html#gss-const-OID" title="gss_const_OID"><span class="type">gss_const_OID</span></a> token_oid</code></em>,
<em class="parameter"><code><span class="type">gss_buffer_t</span> output_token</code></em>);</pre>
<p>Remove the mechanism-independent token header from an initial
GSS-API context token. Unwrap a buffer in the
mechanism-independent token format. This is the reverse of
<a class="link" href="gss-api.html#gss-encapsulate-token" title="gss_encapsulate_token ()"><code class="function">gss_encapsulate_token()</code></a>. The translation is loss-less, all data is
preserved as is. This function is standardized in RFC 6339.</p>
<div class="refsect3">
<a name="id-1.2.6.6.73.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>input_token</p></td>
<td class="parameter_description"><p>(buffer, opaque, read) Buffer with GSS-API context token.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>token_oid</p></td>
<td class="parameter_description"><p>(Object ID, read) Expected object identifier of token.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>output_token</p></td>
<td class="parameter_description"><p>(buffer, opaque, modify) Decapsulated token data;
caller must release with <a class="link" href="gss-api.html#gss-release-buffer" title="gss_release_buffer ()"><code class="function">gss_release_buffer()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.6.6.73.6"></a><h4>Returns</h4>
<p><code class="literal">GSS_S_COMPLETE</code>: Indicates successful completion, and that output
parameters holds correct information.</p>
<p><code class="literal">GSS_S_DEFECTIVE_TOKEN</code>: Means that the token failed consistency
checks (e.g., OID mismatch or ASN.1 DER length errors).</p>
<p><code class="literal">GSS_S_FAILURE</code>: Indicates that decapsulation failed for reasons
unspecified at the GSS-API level.</p>
<p></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="gss-api.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="gss-ctx-id-t"></a><h3>gss_ctx_id_t</h3>
<pre class="programlisting">typedef struct gss_ctx_id_struct *gss_ctx_id_t;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gss-cred-id-t"></a><h3>gss_cred_id_t</h3>
<pre class="programlisting">typedef struct gss_cred_id_struct *gss_cred_id_t;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gss-name-t"></a><h3>gss_name_t</h3>
<pre class="programlisting">typedef struct gss_name_struct *gss_name_t;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gss-uint32"></a><h3>gss_uint32</h3>
<pre class="programlisting">typedef unsigned short gss_uint32;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="OM-uint32"></a><h3>OM_uint32</h3>
<pre class="programlisting">typedef gss_uint32 OM_uint32;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gss-qop-t"></a><h3>gss_qop_t</h3>
<pre class="programlisting">typedef OM_uint32 gss_qop_t;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gss-cred-usage-t"></a><h3>gss_cred_usage_t</h3>
<pre class="programlisting">typedef int gss_cred_usage_t;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-DELEG-FLAG:CAPS"></a><h3>GSS_C_DELEG_FLAG</h3>
<pre class="programlisting">#define GSS_C_DELEG_FLAG 1
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-MUTUAL-FLAG:CAPS"></a><h3>GSS_C_MUTUAL_FLAG</h3>
<pre class="programlisting">#define GSS_C_MUTUAL_FLAG 2
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-REPLAY-FLAG:CAPS"></a><h3>GSS_C_REPLAY_FLAG</h3>
<pre class="programlisting">#define GSS_C_REPLAY_FLAG 4
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-SEQUENCE-FLAG:CAPS"></a><h3>GSS_C_SEQUENCE_FLAG</h3>
<pre class="programlisting">#define GSS_C_SEQUENCE_FLAG 8
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-CONF-FLAG:CAPS"></a><h3>GSS_C_CONF_FLAG</h3>
<pre class="programlisting">#define GSS_C_CONF_FLAG 16
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-INTEG-FLAG:CAPS"></a><h3>GSS_C_INTEG_FLAG</h3>
<pre class="programlisting">#define GSS_C_INTEG_FLAG 32
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-ANON-FLAG:CAPS"></a><h3>GSS_C_ANON_FLAG</h3>
<pre class="programlisting">#define GSS_C_ANON_FLAG 64
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-PROT-READY-FLAG:CAPS"></a><h3>GSS_C_PROT_READY_FLAG</h3>
<pre class="programlisting">#define GSS_C_PROT_READY_FLAG 128
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-TRANS-FLAG:CAPS"></a><h3>GSS_C_TRANS_FLAG</h3>
<pre class="programlisting">#define GSS_C_TRANS_FLAG 256
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-BOTH:CAPS"></a><h3>GSS_C_BOTH</h3>
<pre class="programlisting">#define GSS_C_BOTH 0
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-INITIATE:CAPS"></a><h3>GSS_C_INITIATE</h3>
<pre class="programlisting">#define GSS_C_INITIATE 1
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-ACCEPT:CAPS"></a><h3>GSS_C_ACCEPT</h3>
<pre class="programlisting">#define GSS_C_ACCEPT 2
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-GSS-CODE:CAPS"></a><h3>GSS_C_GSS_CODE</h3>
<pre class="programlisting">#define GSS_C_GSS_CODE 1
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-MECH-CODE:CAPS"></a><h3>GSS_C_MECH_CODE</h3>
<pre class="programlisting">#define GSS_C_MECH_CODE 2
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-UNSPEC:CAPS"></a><h3>GSS_C_AF_UNSPEC</h3>
<pre class="programlisting">#define GSS_C_AF_UNSPEC 0
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-LOCAL:CAPS"></a><h3>GSS_C_AF_LOCAL</h3>
<pre class="programlisting">#define GSS_C_AF_LOCAL 1
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-INET:CAPS"></a><h3>GSS_C_AF_INET</h3>
<pre class="programlisting">#define GSS_C_AF_INET 2
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-IMPLINK:CAPS"></a><h3>GSS_C_AF_IMPLINK</h3>
<pre class="programlisting">#define GSS_C_AF_IMPLINK 3
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-PUP:CAPS"></a><h3>GSS_C_AF_PUP</h3>
<pre class="programlisting">#define GSS_C_AF_PUP 4
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-CHAOS:CAPS"></a><h3>GSS_C_AF_CHAOS</h3>
<pre class="programlisting">#define GSS_C_AF_CHAOS 5
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-NS:CAPS"></a><h3>GSS_C_AF_NS</h3>
<pre class="programlisting">#define GSS_C_AF_NS 6
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-NBS:CAPS"></a><h3>GSS_C_AF_NBS</h3>
<pre class="programlisting">#define GSS_C_AF_NBS 7
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-ECMA:CAPS"></a><h3>GSS_C_AF_ECMA</h3>
<pre class="programlisting">#define GSS_C_AF_ECMA 8
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-DATAKIT:CAPS"></a><h3>GSS_C_AF_DATAKIT</h3>
<pre class="programlisting">#define GSS_C_AF_DATAKIT 9
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-CCITT:CAPS"></a><h3>GSS_C_AF_CCITT</h3>
<pre class="programlisting">#define GSS_C_AF_CCITT 10
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-SNA:CAPS"></a><h3>GSS_C_AF_SNA</h3>
<pre class="programlisting">#define GSS_C_AF_SNA 11
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-DECnet"></a><h3>GSS_C_AF_DECnet</h3>
<pre class="programlisting">#define GSS_C_AF_DECnet 12
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-DLI:CAPS"></a><h3>GSS_C_AF_DLI</h3>
<pre class="programlisting">#define GSS_C_AF_DLI 13
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-LAT:CAPS"></a><h3>GSS_C_AF_LAT</h3>
<pre class="programlisting">#define GSS_C_AF_LAT 14
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-HYLINK:CAPS"></a><h3>GSS_C_AF_HYLINK</h3>
<pre class="programlisting">#define GSS_C_AF_HYLINK 15
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-APPLETALK:CAPS"></a><h3>GSS_C_AF_APPLETALK</h3>
<pre class="programlisting">#define GSS_C_AF_APPLETALK 16
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-BSC:CAPS"></a><h3>GSS_C_AF_BSC</h3>
<pre class="programlisting">#define GSS_C_AF_BSC 17
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-DSS:CAPS"></a><h3>GSS_C_AF_DSS</h3>
<pre class="programlisting">#define GSS_C_AF_DSS 18
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-OSI:CAPS"></a><h3>GSS_C_AF_OSI</h3>
<pre class="programlisting">#define GSS_C_AF_OSI 19
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-X25:CAPS"></a><h3>GSS_C_AF_X25</h3>
<pre class="programlisting">#define GSS_C_AF_X25 21
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-AF-NULLADDR:CAPS"></a><h3>GSS_C_AF_NULLADDR</h3>
<pre class="programlisting">#define GSS_C_AF_NULLADDR 255
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-EMPTY-BUFFER:CAPS"></a><h3>GSS_C_EMPTY_BUFFER</h3>
<pre class="programlisting">#define GSS_C_EMPTY_BUFFER {0, NULL}
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NULL-OID:CAPS"></a><h3>GSS_C_NULL_OID</h3>
<pre class="programlisting">#define GSS_C_NULL_OID GSS_C_NO_OID
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NULL-OID-SET:CAPS"></a><h3>GSS_C_NULL_OID_SET</h3>
<pre class="programlisting">#define GSS_C_NULL_OID_SET GSS_C_NO_OID_SET
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-QOP-DEFAULT:CAPS"></a><h3>GSS_C_QOP_DEFAULT</h3>
<pre class="programlisting">#define GSS_C_QOP_DEFAULT 0
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-INDEFINITE:CAPS"></a><h3>GSS_C_INDEFINITE</h3>
<pre class="programlisting">#define GSS_C_INDEFINITE 0xfffffffful
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NT-USER-NAME:CAPS"></a><h3>GSS_C_NT_USER_NAME</h3>
<pre class="programlisting">extern gss_OID GSS_C_NT_USER_NAME;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NT-MACHINE-UID-NAME:CAPS"></a><h3>GSS_C_NT_MACHINE_UID_NAME</h3>
<pre class="programlisting">extern gss_OID GSS_C_NT_MACHINE_UID_NAME;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NT-STRING-UID-NAME:CAPS"></a><h3>GSS_C_NT_STRING_UID_NAME</h3>
<pre class="programlisting">extern gss_OID GSS_C_NT_STRING_UID_NAME;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NT-HOSTBASED-SERVICE-X:CAPS"></a><h3>GSS_C_NT_HOSTBASED_SERVICE_X</h3>
<pre class="programlisting">extern gss_OID GSS_C_NT_HOSTBASED_SERVICE_X;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NT-HOSTBASED-SERVICE:CAPS"></a><h3>GSS_C_NT_HOSTBASED_SERVICE</h3>
<pre class="programlisting">extern gss_OID GSS_C_NT_HOSTBASED_SERVICE;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NT-ANONYMOUS:CAPS"></a><h3>GSS_C_NT_ANONYMOUS</h3>
<pre class="programlisting">extern gss_OID GSS_C_NT_ANONYMOUS;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NT-EXPORT-NAME:CAPS"></a><h3>GSS_C_NT_EXPORT_NAME</h3>
<pre class="programlisting">extern gss_OID GSS_C_NT_EXPORT_NAME;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-COMPLETE:CAPS"></a><h3>GSS_S_COMPLETE</h3>
<pre class="programlisting">#define GSS_S_COMPLETE 0
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-CALLING-ERROR-OFFSET:CAPS"></a><h3>GSS_C_CALLING_ERROR_OFFSET</h3>
<pre class="programlisting">#define GSS_C_CALLING_ERROR_OFFSET 24
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-ROUTINE-ERROR-OFFSET:CAPS"></a><h3>GSS_C_ROUTINE_ERROR_OFFSET</h3>
<pre class="programlisting">#define GSS_C_ROUTINE_ERROR_OFFSET 16
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-SUPPLEMENTARY-OFFSET:CAPS"></a><h3>GSS_C_SUPPLEMENTARY_OFFSET</h3>
<pre class="programlisting">#define GSS_C_SUPPLEMENTARY_OFFSET 0
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-CALLING-ERROR-MASK:CAPS"></a><h3>GSS_C_CALLING_ERROR_MASK</h3>
<pre class="programlisting">#define GSS_C_CALLING_ERROR_MASK 0377ul
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-ROUTINE-ERROR-MASK:CAPS"></a><h3>GSS_C_ROUTINE_ERROR_MASK</h3>
<pre class="programlisting">#define GSS_C_ROUTINE_ERROR_MASK 0377ul
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-SUPPLEMENTARY-MASK:CAPS"></a><h3>GSS_C_SUPPLEMENTARY_MASK</h3>
<pre class="programlisting">#define GSS_C_SUPPLEMENTARY_MASK 0177777ul
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-CALL-INACCESSIBLE-READ:CAPS"></a><h3>GSS_S_CALL_INACCESSIBLE_READ</h3>
<pre class="programlisting">#define GSS_S_CALL_INACCESSIBLE_READ (1ul << GSS_C_CALLING_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-CALL-INACCESSIBLE-WRITE:CAPS"></a><h3>GSS_S_CALL_INACCESSIBLE_WRITE</h3>
<pre class="programlisting">#define GSS_S_CALL_INACCESSIBLE_WRITE (2ul << GSS_C_CALLING_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-CALL-BAD-STRUCTURE:CAPS"></a><h3>GSS_S_CALL_BAD_STRUCTURE</h3>
<pre class="programlisting">#define GSS_S_CALL_BAD_STRUCTURE (3ul << GSS_C_CALLING_ERROR_OFFSET)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-BAD-MIC:CAPS"></a><h3>GSS_S_BAD_MIC</h3>
<pre class="programlisting">#define GSS_S_BAD_MIC GSS_S_BAD_SIG
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-CONTINUE-NEEDED:CAPS"></a><h3>GSS_S_CONTINUE_NEEDED</h3>
<pre class="programlisting">#define GSS_S_CONTINUE_NEEDED (1ul << (GSS_C_SUPPLEMENTARY_OFFSET + 0))
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-DUPLICATE-TOKEN:CAPS"></a><h3>GSS_S_DUPLICATE_TOKEN</h3>
<pre class="programlisting">#define GSS_S_DUPLICATE_TOKEN (1ul << (GSS_C_SUPPLEMENTARY_OFFSET + 1))
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-OLD-TOKEN:CAPS"></a><h3>GSS_S_OLD_TOKEN</h3>
<pre class="programlisting">#define GSS_S_OLD_TOKEN (1ul << (GSS_C_SUPPLEMENTARY_OFFSET + 2))
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-UNSEQ-TOKEN:CAPS"></a><h3>GSS_S_UNSEQ_TOKEN</h3>
<pre class="programlisting">#define GSS_S_UNSEQ_TOKEN (1ul << (GSS_C_SUPPLEMENTARY_OFFSET + 3))
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-S-GAP-TOKEN:CAPS"></a><h3>GSS_S_GAP_TOKEN</h3>
<pre class="programlisting">#define GSS_S_GAP_TOKEN (1ul << (GSS_C_SUPPLEMENTARY_OFFSET + 4))
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gss-const-buffer-t"></a><h3>gss_const_buffer_t</h3>
<pre class="programlisting">typedef const gss_buffer_desc *gss_const_buffer_t;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gss-const-ctx-id-t"></a><h3>gss_const_ctx_id_t</h3>
<pre class="programlisting">typedef const struct gss_ctx_id_struct *gss_const_ctx_id_t;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gss-const-cred-id-t"></a><h3>gss_const_cred_id_t</h3>
<pre class="programlisting">typedef const struct gss_cred_id_struct *gss_const_cred_id_t;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gss-const-name-t"></a><h3>gss_const_name_t</h3>
<pre class="programlisting">typedef const struct gss_name_struct *gss_const_name_t;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gss-const-OID"></a><h3>gss_const_OID</h3>
<pre class="programlisting">typedef const gss_OID_desc *gss_const_OID;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gss-const-OID-set"></a><h3>gss_const_OID_set</h3>
<pre class="programlisting">typedef const gss_OID_set_desc *gss_const_OID_set;
</pre>
<p>
</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.21</div>
</body>
</html>
|