source: fedd/abac-src/rtml/doc/edu/stanford/rt/credential/HashID.html @ fc36019

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

ABAC sources from Cobham

  • Property mode set to 100644
File size: 14.9 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:57 PDT 2002 -->
6<TITLE>
7HashID
8</TITLE>
9<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
10</HEAD>
11<SCRIPT>
12function asd()
13{
14parent.document.title="HashID";
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/HashID.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/DomainSpecification.html"><B>PREV CLASS</B></A>&nbsp;
46&nbsp;<A HREF="../../../../edu/stanford/rt/credential/IssuerAndRoleDeclaration.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="HashID.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  HashID</H2>
79<PRE>
80java.lang.Object
81  |
82  +--<B>edu.stanford.rt.credential.HashID</B>
83</PRE>
84<HR>
85<DL>
86<DT>public class <B>HashID</B><DT>extends java.lang.Object</DL>
87
88<P>
89<DL>
90<DT><B>Author:</B><DD>Ninghui Li, Sandra Qiu<br>
91 
92 HashID is the identifier of a <code>DomainSpecification</code> element.
93 It is represented by the "id" attribute of the element.</DD>
94</DD>
95</DL>
96<HR>
97
98<P>
99<!-- ======== NESTED CLASS SUMMARY ======== -->
100
101
102<!-- =========== FIELD SUMMARY =========== -->
103
104<A NAME="field_summary"><!-- --></A>
105<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
106<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
107<TD COLSPAN=2><FONT SIZE="+2">
108<B>Field Summary</B></FONT></TD>
109</TR>
110<TR BGCOLOR="white" CLASS="TableRowColor">
111<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
112<CODE>static&nbsp;int</CODE></FONT></TD>
113<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/HashID.html#APPLICATION_DOMAIN">APPLICATION_DOMAIN</A></B></CODE>
114
115<BR>
116&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ApplicationDomain type of hash id</TD>
117</TR>
118<TR BGCOLOR="white" CLASS="TableRowColor">
119<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
120<CODE>static&nbsp;int</CODE></FONT></TD>
121<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/HashID.html#CREDENTIAL_DOMAIN">CREDENTIAL_DOMAIN</A></B></CODE>
122
123<BR>
124&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CredentialDomain type of hash id</TD>
125</TR>
126<TR BGCOLOR="white" CLASS="TableRowColor">
127<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
128<CODE>private &nbsp;int</CODE></FONT></TD>
129<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/HashID.html#hashType">hashType</A></B></CODE>
130
131<BR>
132&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type of the hash id.</TD>
133</TR>
134<TR BGCOLOR="white" CLASS="TableRowColor">
135<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
136<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
137<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/HashID.html#hashValue">hashValue</A></B></CODE>
138
139<BR>
140&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the hash value for the element.</TD>
141</TR>
142</TABLE>
143&nbsp;
144<!-- ======== CONSTRUCTOR SUMMARY ======== -->
145
146<A NAME="constructor_summary"><!-- --></A>
147<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
148<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
149<TD COLSPAN=2><FONT SIZE="+2">
150<B>Constructor Summary</B></FONT></TD>
151</TR>
152<TR BGCOLOR="white" CLASS="TableRowColor">
153<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/HashID.html#HashID(int, java.lang.String)">HashID</A></B>(int&nbsp;hashType,
154       java.lang.String&nbsp;hashValue)</CODE>
155
156<BR>
157&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor for HashID</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;boolean</CODE></FONT></TD>
172<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/HashID.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;id)</CODE>
173
174<BR>
175&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
176</TR>
177<TR BGCOLOR="white" CLASS="TableRowColor">
178<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179<CODE>&nbsp;int</CODE></FONT></TD>
180<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/HashID.html#getHashType()">getHashType</A></B>()</CODE>
181
182<BR>
183&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the hashType.</TD>
184</TR>
185<TR BGCOLOR="white" CLASS="TableRowColor">
186<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
188<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/HashID.html#getHashValue()">getHashValue</A></B>()</CODE>
189
190<BR>
191&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the hashValue.</TD>
192</TR>
193<TR BGCOLOR="white" CLASS="TableRowColor">
194<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195<CODE>&nbsp;int</CODE></FONT></TD>
196<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/HashID.html#hashCode()">hashCode</A></B>()</CODE>
197
198<BR>
199&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
200</TR>
201<TR BGCOLOR="white" CLASS="TableRowColor">
202<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
204<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/HashID.html#toString()">toString</A></B>()</CODE>
205
206<BR>
207&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
208</TR>
209</TABLE>
210&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
211<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
212<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
213<TD><B>Methods inherited from class java.lang.Object</B></TD>
214</TR>
215<TR BGCOLOR="white" CLASS="TableRowColor">
216<TD><CODE>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
217</TR>
218</TABLE>
219&nbsp;
220<P>
221
222<!-- ============ FIELD DETAIL =========== -->
223
224<A NAME="field_detail"><!-- --></A>
225<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
226<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
227<TD COLSPAN=1><FONT SIZE="+2">
228<B>Field Detail</B></FONT></TD>
229</TR>
230</TABLE>
231
232<A NAME="APPLICATION_DOMAIN"><!-- --></A><H3>
233APPLICATION_DOMAIN</H3>
234<PRE>
235public static final int <B>APPLICATION_DOMAIN</B></PRE>
236<DL>
237<DD>ApplicationDomain type of hash id
238<P>
239<DL>
240<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#edu.stanford.rt.credential.HashID.APPLICATION_DOMAIN">Constant Field Values</A></DL>
241</DL>
242<HR>
243
244<A NAME="CREDENTIAL_DOMAIN"><!-- --></A><H3>
245CREDENTIAL_DOMAIN</H3>
246<PRE>
247public static final int <B>CREDENTIAL_DOMAIN</B></PRE>
248<DL>
249<DD>CredentialDomain type of hash id
250<P>
251<DL>
252<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#edu.stanford.rt.credential.HashID.CREDENTIAL_DOMAIN">Constant Field Values</A></DL>
253</DL>
254<HR>
255
256<A NAME="hashValue"><!-- --></A><H3>
257hashValue</H3>
258<PRE>
259private java.lang.String <B>hashValue</B></PRE>
260<DL>
261<DD>the hash value for the element.
262<P>
263<DL>
264</DL>
265</DL>
266<HR>
267
268<A NAME="hashType"><!-- --></A><H3>
269hashType</H3>
270<PRE>
271private int <B>hashType</B></PRE>
272<DL>
273<DD>type of the hash id.
274<P>
275<DL>
276</DL>
277</DL>
278
279<!-- ========= CONSTRUCTOR DETAIL ======== -->
280
281<A NAME="constructor_detail"><!-- --></A>
282<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
283<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
284<TD COLSPAN=1><FONT SIZE="+2">
285<B>Constructor Detail</B></FONT></TD>
286</TR>
287</TABLE>
288
289<A NAME="HashID(int, java.lang.String)"><!-- --></A><H3>
290HashID</H3>
291<PRE>
292public <B>HashID</B>(int&nbsp;hashType,
293              java.lang.String&nbsp;hashValue)</PRE>
294<DL>
295<DD>Constructor for HashID
296<P>
297</DL>
298
299<!-- ============ METHOD DETAIL ========== -->
300
301<A NAME="method_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>Method Detail</B></FONT></TD>
306</TR>
307</TABLE>
308
309<A NAME="hashCode()"><!-- --></A><H3>
310hashCode</H3>
311<PRE>
312public int <B>hashCode</B>()</PRE>
313<DL>
314<DD><DL>
315<DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL>
316</DD>
317<DD><DL>
318</DL>
319</DD>
320</DL>
321<HR>
322
323<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
324equals</H3>
325<PRE>
326public boolean <B>equals</B>(java.lang.Object&nbsp;id)</PRE>
327<DL>
328<DD><DL>
329<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
330</DD>
331<DD><DL>
332</DL>
333</DD>
334</DL>
335<HR>
336
337<A NAME="getHashType()"><!-- --></A><H3>
338getHashType</H3>
339<PRE>
340public int <B>getHashType</B>()</PRE>
341<DL>
342<DD>Returns the hashType.
343<P>
344<DD><DL>
345
346<DT><B>Returns:</B><DD>int</DL>
347</DD>
348</DL>
349<HR>
350
351<A NAME="getHashValue()"><!-- --></A><H3>
352getHashValue</H3>
353<PRE>
354public java.lang.String <B>getHashValue</B>()</PRE>
355<DL>
356<DD>Returns the hashValue.
357<P>
358<DD><DL>
359
360<DT><B>Returns:</B><DD>String</DL>
361</DD>
362</DL>
363<HR>
364
365<A NAME="toString()"><!-- --></A><H3>
366toString</H3>
367<PRE>
368public java.lang.String <B>toString</B>()</PRE>
369<DL>
370<DD><DL>
371<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
372</DD>
373<DD><DL>
374</DL>
375</DD>
376</DL>
377<!-- ========= END OF CLASS DATA ========= -->
378<HR>
379
380<!-- ========== START OF NAVBAR ========== -->
381<A NAME="navbar_bottom"><!-- --></A>
382<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
383<TR>
384<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
385<A NAME="navbar_bottom_firstrow"><!-- --></A>
386<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
387  <TR ALIGN="center" VALIGN="top">
388  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
389  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
390  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
391  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/HashID.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
392  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
393  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
394  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
395  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
396  </TR>
397</TABLE>
398</TD>
399<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
400</EM>
401</TD>
402</TR>
403
404<TR>
405<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
406&nbsp;<A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html"><B>PREV CLASS</B></A>&nbsp;
407&nbsp;<A HREF="../../../../edu/stanford/rt/credential/IssuerAndRoleDeclaration.html"><B>NEXT CLASS</B></A></FONT></TD>
408<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
409  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
410&nbsp;<A HREF="HashID.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
411&nbsp;
412<SCRIPT>
413  <!--
414  if(window==top) {
415    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
416  }
417  //-->
418</SCRIPT>
419<NOSCRIPT>
420<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
421</NOSCRIPT>
422</FONT></TD>
423</TR>
424<TR>
425<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
426  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>
427<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
428DETAIL:&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>
429</TR>
430</TABLE>
431<!-- =========== END OF NAVBAR =========== -->
432
433<HR>
434
435</BODY>
436</HTML>
Note: See TracBrowser for help on using the repository browser.