source: fedd/abac-src/rtml/doc/edu/stanford/rt/credential/RTContext.html @ 15100e9

axis_examplecompt_changesinfo-opsversion-1.30version-2.00version-3.01version-3.02
Last change on this file since 15100e9 was 8780cbec, checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago

ABAC sources from Cobham

  • Property mode set to 100644
File size: 20.3 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc on Wed Oct 02 14:27:58 PDT 2002 -->
6<TITLE>
7RTContext
8</TITLE>
9<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
10</HEAD>
11<SCRIPT>
12function asd()
13{
14parent.document.title="RTContext";
15}
16</SCRIPT>
17<BODY BGCOLOR="white" onload="asd();">
18
19<!-- ========== START OF NAVBAR ========== -->
20<A NAME="navbar_top"><!-- --></A>
21<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
22<TR>
23<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
24<A NAME="navbar_top_firstrow"><!-- --></A>
25<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
26  <TR ALIGN="center" VALIGN="top">
27  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
28  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
29  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
30  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/RTContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
31  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
32  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
33  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
34  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
35  </TR>
36</TABLE>
37</TD>
38<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
39</EM>
40</TD>
41</TR>
42
43<TR>
44<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
45&nbsp;<A HREF="../../../../edu/stanford/rt/credential/RoleTerm.html"><B>PREV CLASS</B></A>&nbsp;
46&nbsp;<A HREF="../../../../edu/stanford/rt/credential/ValidityTime.html"><B>NEXT CLASS</B></A></FONT></TD>
47<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
48  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
49&nbsp;<A HREF="RTContext.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
50&nbsp;
51<SCRIPT>
52  <!--
53  if(window==top) {
54    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
55  }
56  //-->
57</SCRIPT>
58<NOSCRIPT>
59<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
60</NOSCRIPT>
61</FONT></TD>
62</TR>
63<TR>
64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
65  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
67DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
68</TR>
69</TABLE>
70<!-- =========== END OF NAVBAR =========== -->
71
72<HR>
73<!-- ======== START OF CLASS DATA ======== -->
74<H2>
75<FONT SIZE="-1">
76edu.stanford.rt.credential</FONT>
77<BR>
78Class  RTContext</H2>
79<PRE>
80java.lang.Object
81  |
82  +--<B>edu.stanford.rt.credential.RTContext</B>
83</PRE>
84<DL>
85<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../edu/stanford/rt/credential/CredentialStore.html">CredentialStore</A></DD>
86</DL>
87<HR>
88<DL>
89<DT>public class <B>RTContext</B><DT>extends java.lang.Object</DL>
90
91<P>
92<DL>
93<DT><B>Author:</B><DD>Ninghui Li, Sandra Qiu <br>
94 
95 RTContext contains the info about <code>ApplicationDomainSecification</code>s and
96 <code>Principal</code>s in the system.</DD>
97</DD>
98</DL>
99<HR>
100
101<P>
102<!-- ======== NESTED CLASS SUMMARY ======== -->
103
104
105<!-- =========== FIELD SUMMARY =========== -->
106
107<A NAME="field_summary"><!-- --></A>
108<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
109<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
110<TD COLSPAN=2><FONT SIZE="+2">
111<B>Field Summary</B></FONT></TD>
112</TR>
113<TR BGCOLOR="white" CLASS="TableRowColor">
114<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
115<CODE>private &nbsp;java.util.HashMap</CODE></FONT></TD>
116<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RTContext.html#applicationDomains">applicationDomains</A></B></CODE>
117
118<BR>
119&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Index for <code>ApplicationDomain</code> objects.<br>
120 
121 Key: <code>HashID</code> <br>
122 Value: <code>ApplicationDomain</code></TD>
123</TR>
124<TR BGCOLOR="white" CLASS="TableRowColor">
125<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
126<CODE>private &nbsp;java.util.HashMap</CODE></FONT></TD>
127<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RTContext.html#principals">principals</A></B></CODE>
128
129<BR>
130&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Index for <code>Principal</code> objects.<br>
131 
132 Key: <code>PublicKeyPrincipal</code> <br>
133 Value: <code>PublicKeyPrincipalInfo</code></TD>
134</TR>
135<TR BGCOLOR="white" CLASS="TableRowColor">
136<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A></CODE></FONT></TD>
138<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RTContext.html#systemDomain">systemDomain</A></B></CODE>
139
140<BR>
141&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The built-in system domain.</TD>
142</TR>
143</TABLE>
144&nbsp;
145<!-- ======== CONSTRUCTOR SUMMARY ======== -->
146
147<A NAME="constructor_summary"><!-- --></A>
148<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
149<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
150<TD COLSPAN=2><FONT SIZE="+2">
151<B>Constructor Summary</B></FONT></TD>
152</TR>
153<TR BGCOLOR="white" CLASS="TableRowColor">
154<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RTContext.html#RTContext(edu.stanford.rt.parser.RTParser)">RTContext</A></B>(<A HREF="../../../../edu/stanford/rt/parser/RTParser.html">RTParser</A>&nbsp;rtParser)</CODE>
155
156<BR>
157&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor for RTContext.</TD>
158</TR>
159</TABLE>
160&nbsp;
161<!-- ========== METHOD SUMMARY =========== -->
162
163<A NAME="method_summary"><!-- --></A>
164<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
165<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
166<TD COLSPAN=2><FONT SIZE="+2">
167<B>Method Summary</B></FONT></TD>
168</TR>
169<TR BGCOLOR="white" CLASS="TableRowColor">
170<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171<CODE>&nbsp;void</CODE></FONT></TD>
172<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RTContext.html#addApplicationDomain(edu.stanford.rt.credential.HashID, edu.stanford.rt.credential.ApplicationDomain)">addApplicationDomain</A></B>(<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A>&nbsp;id,
173                     <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A>&nbsp;appDomain)</CODE>
174
175<BR>
176&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method addApplicationDomain.</TD>
177</TR>
178<TR BGCOLOR="white" CLASS="TableRowColor">
179<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180<CODE>&nbsp;void</CODE></FONT></TD>
181<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RTContext.html#addPrincipal(edu.stanford.rt.credential.PublicKeyPrincipal, edu.stanford.rt.credential.PublicKeyPrincipalInfo)">addPrincipal</A></B>(<A HREF="../../../../edu/stanford/rt/credential/PublicKeyPrincipal.html">PublicKeyPrincipal</A>&nbsp;id,
182             <A HREF="../../../../edu/stanford/rt/credential/PublicKeyPrincipalInfo.html">PublicKeyPrincipalInfo</A>&nbsp;principal)</CODE>
183
184<BR>
185&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method addPrincipals.</TD>
186</TR>
187<TR BGCOLOR="white" CLASS="TableRowColor">
188<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
189<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A></CODE></FONT></TD>
190<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RTContext.html#getApplicationDomain(edu.stanford.rt.credential.HashID)">getApplicationDomain</A></B>(<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A>&nbsp;id)</CODE>
191
192<BR>
193&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getApplicationDomain.</TD>
194</TR>
195<TR BGCOLOR="white" CLASS="TableRowColor">
196<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
197<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A></CODE></FONT></TD>
198<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RTContext.html#getApplicationDomain(java.lang.String)">getApplicationDomain</A></B>(java.lang.String&nbsp;id)</CODE>
199
200<BR>
201&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getApplicationDomain.</TD>
202</TR>
203<TR BGCOLOR="white" CLASS="TableRowColor">
204<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
205<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/PublicKeyPrincipalInfo.html">PublicKeyPrincipalInfo</A></CODE></FONT></TD>
206<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RTContext.html#getPrincipal(edu.stanford.rt.credential.PublicKeyPrincipal)">getPrincipal</A></B>(<A HREF="../../../../edu/stanford/rt/credential/PublicKeyPrincipal.html">PublicKeyPrincipal</A>&nbsp;id)</CODE>
207
208<BR>
209&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getPrincipal.</TD>
210</TR>
211<TR BGCOLOR="white" CLASS="TableRowColor">
212<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
213<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A></CODE></FONT></TD>
214<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RTContext.html#getSystemDomain()">getSystemDomain</A></B>()</CODE>
215
216<BR>
217&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getSystemDomain.</TD>
218</TR>
219<TR BGCOLOR="white" CLASS="TableRowColor">
220<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
221<CODE>&nbsp;boolean</CODE></FONT></TD>
222<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RTContext.html#hasDomainWithID(java.lang.String)">hasDomainWithID</A></B>(java.lang.String&nbsp;idref)</CODE>
223
224<BR>
225&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method hasDomainWithID.</TD>
226</TR>
227<TR BGCOLOR="white" CLASS="TableRowColor">
228<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
229<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
230<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RTContext.html#toString(java.lang.String)">toString</A></B>(java.lang.String&nbsp;indent)</CODE>
231
232<BR>
233&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
234</TR>
235</TABLE>
236&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
237<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
238<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
239<TD><B>Methods inherited from class java.lang.Object</B></TD>
240</TR>
241<TR BGCOLOR="white" CLASS="TableRowColor">
242<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
243</TR>
244</TABLE>
245&nbsp;
246<P>
247
248<!-- ============ FIELD DETAIL =========== -->
249
250<A NAME="field_detail"><!-- --></A>
251<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
252<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
253<TD COLSPAN=1><FONT SIZE="+2">
254<B>Field Detail</B></FONT></TD>
255</TR>
256</TABLE>
257
258<A NAME="applicationDomains"><!-- --></A><H3>
259applicationDomains</H3>
260<PRE>
261private java.util.HashMap <B>applicationDomains</B></PRE>
262<DL>
263<DD>Index for <code>ApplicationDomain</code> objects.<br>
264 
265 Key: <code>HashID</code> <br>
266 Value: <code>ApplicationDomain</code>
267<P>
268<DL>
269</DL>
270</DL>
271<HR>
272
273<A NAME="principals"><!-- --></A><H3>
274principals</H3>
275<PRE>
276private java.util.HashMap <B>principals</B></PRE>
277<DL>
278<DD>Index for <code>Principal</code> objects.<br>
279 
280 Key: <code>PublicKeyPrincipal</code> <br>
281 Value: <code>PublicKeyPrincipalInfo</code>
282<P>
283<DL>
284</DL>
285</DL>
286<HR>
287
288<A NAME="systemDomain"><!-- --></A><H3>
289systemDomain</H3>
290<PRE>
291private <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A> <B>systemDomain</B></PRE>
292<DL>
293<DD>The built-in system domain.
294<P>
295<DL>
296</DL>
297</DL>
298
299<!-- ========= CONSTRUCTOR DETAIL ======== -->
300
301<A NAME="constructor_detail"><!-- --></A>
302<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
303<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
304<TD COLSPAN=1><FONT SIZE="+2">
305<B>Constructor Detail</B></FONT></TD>
306</TR>
307</TABLE>
308
309<A NAME="RTContext(edu.stanford.rt.parser.RTParser)"><!-- --></A><H3>
310RTContext</H3>
311<PRE>
312public <B>RTContext</B>(<A HREF="../../../../edu/stanford/rt/parser/RTParser.html">RTParser</A>&nbsp;rtParser)
313          throws java.lang.Exception</PRE>
314<DL>
315<DD>Constructor for RTContext.
316<P>
317</DL>
318
319<!-- ============ METHOD DETAIL ========== -->
320
321<A NAME="method_detail"><!-- --></A>
322<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
323<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
324<TD COLSPAN=1><FONT SIZE="+2">
325<B>Method Detail</B></FONT></TD>
326</TR>
327</TABLE>
328
329<A NAME="getSystemDomain()"><!-- --></A><H3>
330getSystemDomain</H3>
331<PRE>
332public <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A> <B>getSystemDomain</B>()</PRE>
333<DL>
334<DD>Method getSystemDomain.
335<P>
336<DD><DL>
337
338<DT><B>Returns:</B><DD>ApplicationDomain</DL>
339</DD>
340</DL>
341<HR>
342
343<A NAME="getApplicationDomain(java.lang.String)"><!-- --></A><H3>
344getApplicationDomain</H3>
345<PRE>
346public <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A> <B>getApplicationDomain</B>(java.lang.String&nbsp;id)</PRE>
347<DL>
348<DD>Method getApplicationDomain.
349<P>
350<DD><DL>
351<DT><B>Parameters:</B><DD><CODE>id</CODE> -
352<DT><B>Returns:</B><DD>ApplicationDomain</DL>
353</DD>
354</DL>
355<HR>
356
357<A NAME="getApplicationDomain(edu.stanford.rt.credential.HashID)"><!-- --></A><H3>
358getApplicationDomain</H3>
359<PRE>
360public <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A> <B>getApplicationDomain</B>(<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A>&nbsp;id)</PRE>
361<DL>
362<DD>Method getApplicationDomain.
363<P>
364<DD><DL>
365<DT><B>Parameters:</B><DD><CODE>id</CODE> -
366<DT><B>Returns:</B><DD>ApplicationDomain</DL>
367</DD>
368</DL>
369<HR>
370
371<A NAME="addApplicationDomain(edu.stanford.rt.credential.HashID, edu.stanford.rt.credential.ApplicationDomain)"><!-- --></A><H3>
372addApplicationDomain</H3>
373<PRE>
374public void <B>addApplicationDomain</B>(<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A>&nbsp;id,
375                                 <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A>&nbsp;appDomain)
376                          throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
377<DL>
378<DD>Method addApplicationDomain.
379<P>
380<DD><DL>
381<DT><B>Parameters:</B><DD><CODE>id</CODE> - <DD><CODE>appDomain</CODE> -
382<DT><B>Throws:</B>
383<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
384</DD>
385</DL>
386<HR>
387
388<A NAME="getPrincipal(edu.stanford.rt.credential.PublicKeyPrincipal)"><!-- --></A><H3>
389getPrincipal</H3>
390<PRE>
391public <A HREF="../../../../edu/stanford/rt/credential/PublicKeyPrincipalInfo.html">PublicKeyPrincipalInfo</A> <B>getPrincipal</B>(<A HREF="../../../../edu/stanford/rt/credential/PublicKeyPrincipal.html">PublicKeyPrincipal</A>&nbsp;id)</PRE>
392<DL>
393<DD>Method getPrincipal.
394<P>
395<DD><DL>
396<DT><B>Parameters:</B><DD><CODE>id</CODE> -
397<DT><B>Returns:</B><DD>PublicKeyPrincipalInfo</DL>
398</DD>
399</DL>
400<HR>
401
402<A NAME="addPrincipal(edu.stanford.rt.credential.PublicKeyPrincipal, edu.stanford.rt.credential.PublicKeyPrincipalInfo)"><!-- --></A><H3>
403addPrincipal</H3>
404<PRE>
405public void <B>addPrincipal</B>(<A HREF="../../../../edu/stanford/rt/credential/PublicKeyPrincipal.html">PublicKeyPrincipal</A>&nbsp;id,
406                         <A HREF="../../../../edu/stanford/rt/credential/PublicKeyPrincipalInfo.html">PublicKeyPrincipalInfo</A>&nbsp;principal)
407                  throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
408<DL>
409<DD>Method addPrincipals.
410<P>
411<DD><DL>
412<DT><B>Parameters:</B><DD><CODE>id</CODE> - the hash value of the principal<DD><CODE>principal</CODE> - the public key info of the principal
413<DT><B>Throws:</B>
414<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
415</DD>
416</DL>
417<HR>
418
419<A NAME="hasDomainWithID(java.lang.String)"><!-- --></A><H3>
420hasDomainWithID</H3>
421<PRE>
422public boolean <B>hasDomainWithID</B>(java.lang.String&nbsp;idref)</PRE>
423<DL>
424<DD>Method hasDomainWithID.
425  checks if there is an ApplicationDomain object with given hash id.
426<P>
427<DD><DL>
428<DT><B>Parameters:</B><DD><CODE>idref</CODE> -
429<DT><B>Returns:</B><DD>boolean</DL>
430</DD>
431</DL>
432<HR>
433
434<A NAME="toString(java.lang.String)"><!-- --></A><H3>
435toString</H3>
436<PRE>
437public java.lang.String <B>toString</B>(java.lang.String&nbsp;indent)</PRE>
438<DL>
439<DD><DL>
440</DL>
441</DD>
442</DL>
443<!-- ========= END OF CLASS DATA ========= -->
444<HR>
445
446<!-- ========== START OF NAVBAR ========== -->
447<A NAME="navbar_bottom"><!-- --></A>
448<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
449<TR>
450<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
451<A NAME="navbar_bottom_firstrow"><!-- --></A>
452<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
453  <TR ALIGN="center" VALIGN="top">
454  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
455  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
456  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
457  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/RTContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
458  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
459  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
460  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
461  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
462  </TR>
463</TABLE>
464</TD>
465<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
466</EM>
467</TD>
468</TR>
469
470<TR>
471<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
472&nbsp;<A HREF="../../../../edu/stanford/rt/credential/RoleTerm.html"><B>PREV CLASS</B></A>&nbsp;
473&nbsp;<A HREF="../../../../edu/stanford/rt/credential/ValidityTime.html"><B>NEXT CLASS</B></A></FONT></TD>
474<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
475  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
476&nbsp;<A HREF="RTContext.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
477&nbsp;
478<SCRIPT>
479  <!--
480  if(window==top) {
481    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
482  }
483  //-->
484</SCRIPT>
485<NOSCRIPT>
486<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
487</NOSCRIPT>
488</FONT></TD>
489</TR>
490<TR>
491<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
492  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
493<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
494DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
495</TR>
496</TABLE>
497<!-- =========== END OF NAVBAR =========== -->
498
499<HR>
500
501</BODY>
502</HTML>
Note: See TracBrowser for help on using the repository browser.