xref: /freebsd-src/crypto/heimdal/doc/doxyout/gssapi/html/internalvsmechname.html (revision ae77177087c655fc883075af4f425b37e032cd05)
1*ae771770SStanislav Sedov<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2*ae771770SStanislav Sedov<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3*ae771770SStanislav Sedov<title>HeimdalGSS-APIlibrary: Internal names and mechanism names</title>
4*ae771770SStanislav Sedov<link href="doxygen.css" rel="stylesheet" type="text/css">
5*ae771770SStanislav Sedov<link href="tabs.css" rel="stylesheet" type="text/css">
6*ae771770SStanislav Sedov</head><body>
7*ae771770SStanislav Sedov<p>
8*ae771770SStanislav Sedov<a href="http://www.h5l.org/"><img src="http://www.h5l.org/keyhole-heimdal.png" alt="keyhole logo"/></a>
9*ae771770SStanislav Sedov</p>
10*ae771770SStanislav Sedov<!-- end of header marker -->
11*ae771770SStanislav Sedov<!-- Generated by Doxygen 1.5.6 -->
12*ae771770SStanislav Sedov<div class="navigation" id="top">
13*ae771770SStanislav Sedov  <div class="tabs">
14*ae771770SStanislav Sedov    <ul>
15*ae771770SStanislav Sedov      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
16*ae771770SStanislav Sedov      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
17*ae771770SStanislav Sedov      <li><a href="modules.html"><span>Modules</span></a></li>
18*ae771770SStanislav Sedov    </ul>
19*ae771770SStanislav Sedov  </div>
20*ae771770SStanislav Sedov</div>
21*ae771770SStanislav Sedov<div class="contents">
22*ae771770SStanislav Sedov<h1><a class="anchor" name="internalVSmechname">Internal names and mechanism names </a></h1><h2><a class="anchor" name="gssapi_api_INvsMN">
23*ae771770SStanislav SedovName forms</a></h2>
24*ae771770SStanislav SedovThere are two forms of name in GSS-API, Internal form and Contiguous string ("flat") form. gss_export_name() and <a class="el" href="group__gssapi.html#g0afe06fd5264ebfb93ecca4bcc70895b">gss_import_name()</a> can be used to convert between the two forms.<p>
25*ae771770SStanislav Sedov<ul>
26*ae771770SStanislav Sedov<li>The contiguous string form is described by an oid specificing the type and an octet string. A special form of the contiguous string form is the exported name object. The exported name defined for each mechanism, is something that can be stored and complared later. The exported name is what should be used for ACLs comparisons.</li></ul>
27*ae771770SStanislav Sedov<p>
28*ae771770SStanislav Sedov<ul>
29*ae771770SStanislav Sedov<li>The Internal form</li></ul>
30*ae771770SStanislav Sedov<p>
31*ae771770SStanislav SedovThere is also special form of the Internal Name (IN), and that is the Mechanism Name (MN). In the mechanism name all the generic information is stripped of and only contain the information for one mechanism. In GSS-API some function return MN and some require MN as input. Each of these function is marked up as such.<p>
32*ae771770SStanislav SedovDescribe relationship between import_name, canonicalize_name, export_name and friends. </div>
33*ae771770SStanislav Sedov<hr size="1"><address style="text-align: right;"><small>
34*ae771770SStanislav SedovGenerated on Fri Sep 30 15:26:16 2011 for HeimdalGSS-APIlibrary by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6</small></address>
35*ae771770SStanislav Sedov</body>
36*ae771770SStanislav Sedov</html>
37