source: fedd/abac-src/rtml/doc/edu/stanford/rt/credential/PublicKeyPrincipal.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: 13.1 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>
7PublicKeyPrincipal
8</TITLE>
9<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
10</HEAD>
11<SCRIPT>
12function asd()
13{
14parent.document.title="PublicKeyPrincipal";
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/PublicKeyPrincipal.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/Principal.html"><B>PREV CLASS</B></A>&nbsp;
46&nbsp;<A HREF="../../../../edu/stanford/rt/credential/PublicKeyPrincipalInfo.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="PublicKeyPrincipal.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  PublicKeyPrincipal</H2>
79<PRE>
80java.lang.Object
81  |
82  +--<A HREF="../../../../edu/stanford/rt/credential/Principal.html">edu.stanford.rt.credential.Principal</A>
83        |
84        +--<B>edu.stanford.rt.credential.PublicKeyPrincipal</B>
85</PRE>
86<DL>
87<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../edu/stanford/rt/credential/PrincipalExpression.html">PrincipalExpression</A>, java.io.Serializable</DD>
88</DL>
89<HR>
90<DL>
91<DT>public class <B>PublicKeyPrincipal</B><DT>extends <A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A></DL>
92
93<P>
94<DL>
95<DT><B>Author:</B><DD>Ninghui Li, Sandra Qiu<br>
96
97 This class handles <code>Principal</code> element which consists of
98 ds:KeyValue. Instead of storing the key vlaue, we store the
99 hashValue of the key value. The key value is stored in
100 <code>PublicKeyPrincipalInfo</code>.</DD>
101</DD>
102<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html" TARGET="edu.stanford.rt.credential.PublicKeyPrincipal">Serialized Form</A></DL>
103<HR>
104
105<P>
106<!-- ======== NESTED CLASS SUMMARY ======== -->
107
108
109<!-- =========== FIELD SUMMARY =========== -->
110
111<A NAME="field_summary"><!-- --></A>
112<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
113<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
114<TD COLSPAN=2><FONT SIZE="+2">
115<B>Field Summary</B></FONT></TD>
116</TR>
117<TR BGCOLOR="white" CLASS="TableRowColor">
118<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
119<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
120<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/PublicKeyPrincipal.html#hashValue">hashValue</A></B></CODE>
121
122<BR>
123&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hash value for the public key stored in this principal</TD>
124</TR>
125</TABLE>
126&nbsp;
127<!-- ======== CONSTRUCTOR SUMMARY ======== -->
128
129<A NAME="constructor_summary"><!-- --></A>
130<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
131<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
132<TD COLSPAN=2><FONT SIZE="+2">
133<B>Constructor Summary</B></FONT></TD>
134</TR>
135<TR BGCOLOR="white" CLASS="TableRowColor">
136<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/PublicKeyPrincipal.html#PublicKeyPrincipal(java.lang.String)">PublicKeyPrincipal</A></B>(java.lang.String&nbsp;hashValue)</CODE>
137
138<BR>
139&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Contructor of PublicKeyPrincipal</TD>
140</TR>
141</TABLE>
142&nbsp;
143<!-- ========== METHOD SUMMARY =========== -->
144
145<A NAME="method_summary"><!-- --></A>
146<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
147<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
148<TD COLSPAN=2><FONT SIZE="+2">
149<B>Method Summary</B></FONT></TD>
150</TR>
151<TR BGCOLOR="white" CLASS="TableRowColor">
152<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
153<CODE>&nbsp;boolean</CODE></FONT></TD>
154<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/PublicKeyPrincipal.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;principal)</CODE>
155
156<BR>
157&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
158</TR>
159<TR BGCOLOR="white" CLASS="TableRowColor">
160<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
161<CODE>&nbsp;int</CODE></FONT></TD>
162<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/PublicKeyPrincipal.html#hashCode()">hashCode</A></B>()</CODE>
163
164<BR>
165&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
166</TR>
167<TR BGCOLOR="white" CLASS="TableRowColor">
168<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
169<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
170<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/PublicKeyPrincipal.html#toString(java.lang.String)">toString</A></B>(java.lang.String&nbsp;indent)</CODE>
171
172<BR>
173&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
174</TR>
175</TABLE>
176&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
177<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
178<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
179<TD><B>Methods inherited from class java.lang.Object</B></TD>
180</TR>
181<TR BGCOLOR="white" CLASS="TableRowColor">
182<TD><CODE>clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
183</TR>
184</TABLE>
185&nbsp;
186<P>
187
188<!-- ============ FIELD DETAIL =========== -->
189
190<A NAME="field_detail"><!-- --></A>
191<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
192<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
193<TD COLSPAN=1><FONT SIZE="+2">
194<B>Field Detail</B></FONT></TD>
195</TR>
196</TABLE>
197
198<A NAME="hashValue"><!-- --></A><H3>
199hashValue</H3>
200<PRE>
201private java.lang.String <B>hashValue</B></PRE>
202<DL>
203<DD>Hash value for the public key stored in this principal
204<P>
205<DL>
206</DL>
207</DL>
208
209<!-- ========= CONSTRUCTOR DETAIL ======== -->
210
211<A NAME="constructor_detail"><!-- --></A>
212<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
213<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
214<TD COLSPAN=1><FONT SIZE="+2">
215<B>Constructor Detail</B></FONT></TD>
216</TR>
217</TABLE>
218
219<A NAME="PublicKeyPrincipal(java.lang.String)"><!-- --></A><H3>
220PublicKeyPrincipal</H3>
221<PRE>
222public <B>PublicKeyPrincipal</B>(java.lang.String&nbsp;hashValue)</PRE>
223<DL>
224<DD>Contructor of PublicKeyPrincipal
225<P>
226</DL>
227
228<!-- ============ METHOD DETAIL ========== -->
229
230<A NAME="method_detail"><!-- --></A>
231<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
232<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
233<TD COLSPAN=1><FONT SIZE="+2">
234<B>Method Detail</B></FONT></TD>
235</TR>
236</TABLE>
237
238<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
239equals</H3>
240<PRE>
241public boolean <B>equals</B>(java.lang.Object&nbsp;principal)</PRE>
242<DL>
243<DD><DL>
244<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
245</DD>
246<DD><DL>
247</DL>
248</DD>
249</DL>
250<HR>
251
252<A NAME="hashCode()"><!-- --></A><H3>
253hashCode</H3>
254<PRE>
255public int <B>hashCode</B>()</PRE>
256<DL>
257<DD><DL>
258<DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL>
259</DD>
260<DD><DL>
261</DL>
262</DD>
263</DL>
264<HR>
265
266<A NAME="toString(java.lang.String)"><!-- --></A><H3>
267toString</H3>
268<PRE>
269public java.lang.String <B>toString</B>(java.lang.String&nbsp;indent)</PRE>
270<DL>
271<DD><DL>
272<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../edu/stanford/rt/credential/PrincipalExpression.html#toString(java.lang.String)">toString</A></CODE> in interface <CODE><A HREF="../../../../edu/stanford/rt/credential/PrincipalExpression.html">PrincipalExpression</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../edu/stanford/rt/credential/Principal.html#toString(java.lang.String)">toString</A></CODE> in class <CODE><A HREF="../../../../edu/stanford/rt/credential/Principal.html">Principal</A></CODE></DL>
273</DD>
274<DD><DL>
275</DL>
276</DD>
277</DL>
278<!-- ========= END OF CLASS DATA ========= -->
279<HR>
280
281<!-- ========== START OF NAVBAR ========== -->
282<A NAME="navbar_bottom"><!-- --></A>
283<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
284<TR>
285<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
286<A NAME="navbar_bottom_firstrow"><!-- --></A>
287<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
288  <TR ALIGN="center" VALIGN="top">
289  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
290  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
291  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
292  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/PublicKeyPrincipal.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
293  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
294  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
295  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
296  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
297  </TR>
298</TABLE>
299</TD>
300<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
301</EM>
302</TD>
303</TR>
304
305<TR>
306<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
307&nbsp;<A HREF="../../../../edu/stanford/rt/credential/Principal.html"><B>PREV CLASS</B></A>&nbsp;
308&nbsp;<A HREF="../../../../edu/stanford/rt/credential/PublicKeyPrincipalInfo.html"><B>NEXT CLASS</B></A></FONT></TD>
309<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
310  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
311&nbsp;<A HREF="PublicKeyPrincipal.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
312&nbsp;
313<SCRIPT>
314  <!--
315  if(window==top) {
316    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
317  }
318  //-->
319</SCRIPT>
320<NOSCRIPT>
321<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
322</NOSCRIPT>
323</FONT></TD>
324</TR>
325<TR>
326<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
327  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>
328<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
329DETAIL:&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>
330</TR>
331</TABLE>
332<!-- =========== END OF NAVBAR =========== -->
333
334<HR>
335
336</BODY>
337</HTML>
Note: See TracBrowser for help on using the repository browser.