/lib/bouncycastle/docs/org/bouncycastle/asn1/x509/RoleSyntax.html
HTML | 517 lines | 438 code | 56 blank | 23 comment | 0 complexity | aebe7d41b004e21ad1519312423a46a8 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-3-Clause, Apache-2.0
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.6.0) on Mon Jan 11 13:46:34 EST 2010 -->
6<TITLE>
7RoleSyntax (Bouncy Castle Library 1.45 API Specification)
8</TITLE>
9
10<META NAME="date" CONTENT="2010-01-11">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 if (location.href.indexOf('is-external=true') == -1) {
18 parent.document.title="RoleSyntax (Bouncy Castle Library 1.45 API Specification)";
19 }
20}
21</SCRIPT>
22<NOSCRIPT>
23</NOSCRIPT>
24
25</HEAD>
26
27<BODY BGCOLOR="white" onload="windowTitle();">
28<HR>
29
30
31<!-- ========= START OF TOP NAVBAR ======= -->
32<A NAME="navbar_top"><!-- --></A>
33<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35<TR>
36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37<A NAME="navbar_top_firstrow"><!-- --></A>
38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39 <TR ALIGN="center" VALIGN="top">
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
47 </TR>
48</TABLE>
49</TD>
50<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
51<b>Bouncy Castle Cryptography Library 1.45</b></EM>
52</TD>
53</TR>
54
55<TR>
56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57 <A HREF="../../../../org/bouncycastle/asn1/x509/ReasonFlags.html" title="class in org.bouncycastle.asn1.x509"><B>PREV CLASS</B></A>
58 <A HREF="../../../../org/bouncycastle/asn1/x509/RSAPublicKeyStructure.html" title="class in org.bouncycastle.asn1.x509"><B>NEXT CLASS</B></A></FONT></TD>
59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60 <A HREF="../../../../index.html?org/bouncycastle/asn1/x509/RoleSyntax.html" target="_top"><B>FRAMES</B></A>
61 <A HREF="RoleSyntax.html" target="_top"><B>NO FRAMES</B></A>
62 <SCRIPT type="text/javascript">
63 <!--
64 if(window==top) {
65 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
66 }
67 //-->
68</SCRIPT>
69<NOSCRIPT>
70 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
71</NOSCRIPT>
72
73
74</FONT></TD>
75</TR>
76<TR>
77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78 SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.bouncycastle.asn1.ASN1Encodable">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
81</TR>
82</TABLE>
83<A NAME="skip-navbar_top"></A>
84<!-- ========= END OF TOP NAVBAR ========= -->
85
86<HR>
87<!-- ======== START OF CLASS DATA ======== -->
88<H2>
89<FONT SIZE="-1">
90org.bouncycastle.asn1.x509</FONT>
91<BR>
92Class RoleSyntax</H2>
93<PRE>
94java.lang.Object
95 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html" title="class in org.bouncycastle.asn1">org.bouncycastle.asn1.ASN1Encodable</A>
96 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.bouncycastle.asn1.x509.RoleSyntax</B>
97</PRE>
98<DL>
99<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/bouncycastle/asn1/DEREncodable.html" title="interface in org.bouncycastle.asn1">DEREncodable</A></DD>
100</DL>
101<HR>
102<DL>
103<DT><PRE>public class <B>RoleSyntax</B><DT>extends <A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html" title="class in org.bouncycastle.asn1">ASN1Encodable</A></DL>
104</PRE>
105
106<P>
107Implementation of the RoleSyntax object as specified by the RFC3281.
108
109 <pre>
110 RoleSyntax ::= SEQUENCE {
111 roleAuthority [0] GeneralNames OPTIONAL,
112 roleName [1] GeneralName
113 }
114 </pre>
115<P>
116
117<P>
118<HR>
119
120<P>
121<!-- =========== FIELD SUMMARY =========== -->
122
123<A NAME="field_summary"><!-- --></A>
124<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
125<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
126<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
127<B>Field Summary</B></FONT></TH>
128</TR>
129</TABLE>
130 <A NAME="fields_inherited_from_class_org.bouncycastle.asn1.ASN1Encodable"><!-- --></A>
131<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
132<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
133<TH ALIGN="left"><B>Fields inherited from class org.bouncycastle.asn1.<A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html" title="class in org.bouncycastle.asn1">ASN1Encodable</A></B></TH>
134</TR>
135<TR BGCOLOR="white" CLASS="TableRowColor">
136<TD><CODE><A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#BER">BER</A>, <A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#DER">DER</A></CODE></TD>
137</TR>
138</TABLE>
139
140<!-- ======== CONSTRUCTOR SUMMARY ======== -->
141
142<A NAME="constructor_summary"><!-- --></A>
143<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
144<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
145<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
146<B>Constructor Summary</B></FONT></TH>
147</TR>
148<TR BGCOLOR="white" CLASS="TableRowColor">
149<TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/x509/RoleSyntax.html#RoleSyntax(org.bouncycastle.asn1.ASN1Sequence)">RoleSyntax</A></B>(<A HREF="../../../../org/bouncycastle/asn1/ASN1Sequence.html" title="class in org.bouncycastle.asn1">ASN1Sequence</A> seq)</CODE>
150
151<BR>
152 Constructor that builds an instance of <code>RoleSyntax</code> by
153 extracting the encoded elements from the <code>ASN1Sequence</code>
154 object supplied.</TD>
155</TR>
156<TR BGCOLOR="white" CLASS="TableRowColor">
157<TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/x509/RoleSyntax.html#RoleSyntax(org.bouncycastle.asn1.x509.GeneralName)">RoleSyntax</A></B>(<A HREF="../../../../org/bouncycastle/asn1/x509/GeneralName.html" title="class in org.bouncycastle.asn1.x509">GeneralName</A> roleName)</CODE>
158
159<BR>
160 Constructor.</TD>
161</TR>
162<TR BGCOLOR="white" CLASS="TableRowColor">
163<TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/x509/RoleSyntax.html#RoleSyntax(org.bouncycastle.asn1.x509.GeneralNames, org.bouncycastle.asn1.x509.GeneralName)">RoleSyntax</A></B>(<A HREF="../../../../org/bouncycastle/asn1/x509/GeneralNames.html" title="class in org.bouncycastle.asn1.x509">GeneralNames</A> roleAuthority,
164 <A HREF="../../../../org/bouncycastle/asn1/x509/GeneralName.html" title="class in org.bouncycastle.asn1.x509">GeneralName</A> roleName)</CODE>
165
166<BR>
167 Constructor.</TD>
168</TR>
169<TR BGCOLOR="white" CLASS="TableRowColor">
170<TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/x509/RoleSyntax.html#RoleSyntax(java.lang.String)">RoleSyntax</A></B>(java.lang.String roleName)</CODE>
171
172<BR>
173 Utility constructor.</TD>
174</TR>
175</TABLE>
176
177<!-- ========== METHOD SUMMARY =========== -->
178
179<A NAME="method_summary"><!-- --></A>
180<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
181<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
182<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
183<B>Method Summary</B></FONT></TH>
184</TR>
185<TR BGCOLOR="white" CLASS="TableRowColor">
186<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187<CODE>static <A HREF="../../../../org/bouncycastle/asn1/x509/RoleSyntax.html" title="class in org.bouncycastle.asn1.x509">RoleSyntax</A></CODE></FONT></TD>
188<TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/x509/RoleSyntax.html#getInstance(java.lang.Object)">getInstance</A></B>(java.lang.Object obj)</CODE>
189
190<BR>
191 RoleSyntax factory method.</TD>
192</TR>
193<TR BGCOLOR="white" CLASS="TableRowColor">
194<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195<CODE> <A HREF="../../../../org/bouncycastle/asn1/x509/GeneralNames.html" title="class in org.bouncycastle.asn1.x509">GeneralNames</A></CODE></FONT></TD>
196<TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/x509/RoleSyntax.html#getRoleAuthority()">getRoleAuthority</A></B>()</CODE>
197
198<BR>
199 Gets the role authority of this RoleSyntax.</TD>
200</TR>
201<TR BGCOLOR="white" CLASS="TableRowColor">
202<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203<CODE> java.lang.String[]</CODE></FONT></TD>
204<TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/x509/RoleSyntax.html#getRoleAuthorityAsString()">getRoleAuthorityAsString</A></B>()</CODE>
205
206<BR>
207 Gets the role authority as a <code>String[]</code> object.</TD>
208</TR>
209<TR BGCOLOR="white" CLASS="TableRowColor">
210<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211<CODE> <A HREF="../../../../org/bouncycastle/asn1/x509/GeneralName.html" title="class in org.bouncycastle.asn1.x509">GeneralName</A></CODE></FONT></TD>
212<TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/x509/RoleSyntax.html#getRoleName()">getRoleName</A></B>()</CODE>
213
214<BR>
215 Gets the role name of this RoleSyntax.</TD>
216</TR>
217<TR BGCOLOR="white" CLASS="TableRowColor">
218<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219<CODE> java.lang.String</CODE></FONT></TD>
220<TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/x509/RoleSyntax.html#getRoleNameAsString()">getRoleNameAsString</A></B>()</CODE>
221
222<BR>
223 Gets the role name as a <code>java.lang.String</code> object.</TD>
224</TR>
225<TR BGCOLOR="white" CLASS="TableRowColor">
226<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
227<CODE> <A HREF="../../../../org/bouncycastle/asn1/DERObject.html" title="class in org.bouncycastle.asn1">DERObject</A></CODE></FONT></TD>
228<TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/x509/RoleSyntax.html#toASN1Object()">toASN1Object</A></B>()</CODE>
229
230<BR>
231 Implementation of the method <code>toASN1Object</code> as
232 required by the superclass <code>ASN1Encodable</code>.</TD>
233</TR>
234<TR BGCOLOR="white" CLASS="TableRowColor">
235<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
236<CODE> java.lang.String</CODE></FONT></TD>
237<TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/x509/RoleSyntax.html#toString()">toString</A></B>()</CODE>
238
239<BR>
240 </TD>
241</TR>
242</TABLE>
243 <A NAME="methods_inherited_from_class_org.bouncycastle.asn1.ASN1Encodable"><!-- --></A>
244<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
245<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
246<TH ALIGN="left"><B>Methods inherited from class org.bouncycastle.asn1.<A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html" title="class in org.bouncycastle.asn1">ASN1Encodable</A></B></TH>
247</TR>
248<TR BGCOLOR="white" CLASS="TableRowColor">
249<TD><CODE><A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#getDEREncoded()">getDEREncoded</A>, <A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#getDERObject()">getDERObject</A>, <A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#getEncoded()">getEncoded</A>, <A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#getEncoded(java.lang.String)">getEncoded</A>, <A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#hashCode()">hashCode</A></CODE></TD>
250</TR>
251</TABLE>
252 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
253<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
254<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
255<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
256</TR>
257<TR BGCOLOR="white" CLASS="TableRowColor">
258<TD><CODE>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
259</TR>
260</TABLE>
261
262<P>
263
264<!-- ========= CONSTRUCTOR DETAIL ======== -->
265
266<A NAME="constructor_detail"><!-- --></A>
267<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
268<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
269<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
270<B>Constructor Detail</B></FONT></TH>
271</TR>
272</TABLE>
273
274<A NAME="RoleSyntax(org.bouncycastle.asn1.x509.GeneralNames, org.bouncycastle.asn1.x509.GeneralName)"><!-- --></A><H3>
275RoleSyntax</H3>
276<PRE>
277public <B>RoleSyntax</B>(<A HREF="../../../../org/bouncycastle/asn1/x509/GeneralNames.html" title="class in org.bouncycastle.asn1.x509">GeneralNames</A> roleAuthority,
278 <A HREF="../../../../org/bouncycastle/asn1/x509/GeneralName.html" title="class in org.bouncycastle.asn1.x509">GeneralName</A> roleName)</PRE>
279<DL>
280<DD>Constructor.
281<P>
282<DL>
283<DT><B>Parameters:</B><DD><CODE>roleAuthority</CODE> - the role authority of this RoleSyntax.<DD><CODE>roleName</CODE> - the role name of this RoleSyntax.</DL>
284</DL>
285<HR>
286
287<A NAME="RoleSyntax(org.bouncycastle.asn1.x509.GeneralName)"><!-- --></A><H3>
288RoleSyntax</H3>
289<PRE>
290public <B>RoleSyntax</B>(<A HREF="../../../../org/bouncycastle/asn1/x509/GeneralName.html" title="class in org.bouncycastle.asn1.x509">GeneralName</A> roleName)</PRE>
291<DL>
292<DD>Constructor. Invoking this constructor is the same as invoking
293 <code>new RoleSyntax(null, roleName)</code>.
294<P>
295<DL>
296<DT><B>Parameters:</B><DD><CODE>roleName</CODE> - the role name of this RoleSyntax.</DL>
297</DL>
298<HR>
299
300<A NAME="RoleSyntax(java.lang.String)"><!-- --></A><H3>
301RoleSyntax</H3>
302<PRE>
303public <B>RoleSyntax</B>(java.lang.String roleName)</PRE>
304<DL>
305<DD>Utility constructor. Takes a <code>String</code> argument representing
306 the role name, builds a <code>GeneralName</code> to hold the role name
307 and calls the constructor that takes a <code>GeneralName</code>.
308<P>
309<DL>
310<DT><B>Parameters:</B><DD><CODE>roleName</CODE> - </DL>
311</DL>
312<HR>
313
314<A NAME="RoleSyntax(org.bouncycastle.asn1.ASN1Sequence)"><!-- --></A><H3>
315RoleSyntax</H3>
316<PRE>
317public <B>RoleSyntax</B>(<A HREF="../../../../org/bouncycastle/asn1/ASN1Sequence.html" title="class in org.bouncycastle.asn1">ASN1Sequence</A> seq)</PRE>
318<DL>
319<DD>Constructor that builds an instance of <code>RoleSyntax</code> by
320 extracting the encoded elements from the <code>ASN1Sequence</code>
321 object supplied.
322<P>
323<DL>
324<DT><B>Parameters:</B><DD><CODE>seq</CODE> - an instance of <code>ASN1Sequence</code> that holds
325 the encoded elements used to build this <code>RoleSyntax</code>.</DL>
326</DL>
327
328<!-- ============ METHOD DETAIL ========== -->
329
330<A NAME="method_detail"><!-- --></A>
331<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
332<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
333<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
334<B>Method Detail</B></FONT></TH>
335</TR>
336</TABLE>
337
338<A NAME="getInstance(java.lang.Object)"><!-- --></A><H3>
339getInstance</H3>
340<PRE>
341public static <A HREF="../../../../org/bouncycastle/asn1/x509/RoleSyntax.html" title="class in org.bouncycastle.asn1.x509">RoleSyntax</A> <B>getInstance</B>(java.lang.Object obj)</PRE>
342<DL>
343<DD>RoleSyntax factory method.
344<P>
345<DD><DL>
346<DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object used to construct an instance of <code>
347 RoleSyntax</code>. It must be an instance of <code>RoleSyntax
348 </code> or <code>ASN1Sequence</code>.
349<DT><B>Returns:</B><DD>the instance of <code>RoleSyntax</code> built from the
350 supplied object.
351<DT><B>Throws:</B>
352<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the object passed
353 to the factory is not an instance of <code>RoleSyntax</code> or
354 <code>ASN1Sequence</code>.</DL>
355</DD>
356</DL>
357<HR>
358
359<A NAME="getRoleAuthority()"><!-- --></A><H3>
360getRoleAuthority</H3>
361<PRE>
362public <A HREF="../../../../org/bouncycastle/asn1/x509/GeneralNames.html" title="class in org.bouncycastle.asn1.x509">GeneralNames</A> <B>getRoleAuthority</B>()</PRE>
363<DL>
364<DD>Gets the role authority of this RoleSyntax.
365<P>
366<DD><DL>
367
368<DT><B>Returns:</B><DD>an instance of <code>GeneralNames</code> holding the
369 role authority of this RoleSyntax.</DL>
370</DD>
371</DL>
372<HR>
373
374<A NAME="getRoleName()"><!-- --></A><H3>
375getRoleName</H3>
376<PRE>
377public <A HREF="../../../../org/bouncycastle/asn1/x509/GeneralName.html" title="class in org.bouncycastle.asn1.x509">GeneralName</A> <B>getRoleName</B>()</PRE>
378<DL>
379<DD>Gets the role name of this RoleSyntax.
380<P>
381<DD><DL>
382
383<DT><B>Returns:</B><DD>an instance of <code>GeneralName</code> holding the
384 role name of this RoleSyntax.</DL>
385</DD>
386</DL>
387<HR>
388
389<A NAME="getRoleNameAsString()"><!-- --></A><H3>
390getRoleNameAsString</H3>
391<PRE>
392public java.lang.String <B>getRoleNameAsString</B>()</PRE>
393<DL>
394<DD>Gets the role name as a <code>java.lang.String</code> object.
395<P>
396<DD><DL>
397
398<DT><B>Returns:</B><DD>the role name of this RoleSyntax represented as a
399 <code>java.lang.String</code> object.</DL>
400</DD>
401</DL>
402<HR>
403
404<A NAME="getRoleAuthorityAsString()"><!-- --></A><H3>
405getRoleAuthorityAsString</H3>
406<PRE>
407public java.lang.String[] <B>getRoleAuthorityAsString</B>()</PRE>
408<DL>
409<DD>Gets the role authority as a <code>String[]</code> object.
410<P>
411<DD><DL>
412
413<DT><B>Returns:</B><DD>the role authority of this RoleSyntax represented as a
414 <code>String[]</code> array.</DL>
415</DD>
416</DL>
417<HR>
418
419<A NAME="toASN1Object()"><!-- --></A><H3>
420toASN1Object</H3>
421<PRE>
422public <A HREF="../../../../org/bouncycastle/asn1/DERObject.html" title="class in org.bouncycastle.asn1">DERObject</A> <B>toASN1Object</B>()</PRE>
423<DL>
424<DD>Implementation of the method <code>toASN1Object</code> as
425 required by the superclass <code>ASN1Encodable</code>.
426
427 <pre>
428 RoleSyntax ::= SEQUENCE {
429 roleAuthority [0] GeneralNames OPTIONAL,
430 roleName [1] GeneralName
431 }
432 </pre>
433<P>
434<DD><DL>
435<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#toASN1Object()">toASN1Object</A></CODE> in class <CODE><A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html" title="class in org.bouncycastle.asn1">ASN1Encodable</A></CODE></DL>
436</DD>
437<DD><DL>
438</DL>
439</DD>
440</DL>
441<HR>
442
443<A NAME="toString()"><!-- --></A><H3>
444toString</H3>
445<PRE>
446public java.lang.String <B>toString</B>()</PRE>
447<DL>
448<DD><DL>
449<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
450</DD>
451<DD><DL>
452</DL>
453</DD>
454</DL>
455<!-- ========= END OF CLASS DATA ========= -->
456<HR>
457
458
459<!-- ======= START OF BOTTOM NAVBAR ====== -->
460<A NAME="navbar_bottom"><!-- --></A>
461<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
462<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
463<TR>
464<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
465<A NAME="navbar_bottom_firstrow"><!-- --></A>
466<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
467 <TR ALIGN="center" VALIGN="top">
468 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
469 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
470 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
471 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
472 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
473 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
474 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
475 </TR>
476</TABLE>
477</TD>
478<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
479<b>Bouncy Castle Cryptography Library 1.45</b></EM>
480</TD>
481</TR>
482
483<TR>
484<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
485 <A HREF="../../../../org/bouncycastle/asn1/x509/ReasonFlags.html" title="class in org.bouncycastle.asn1.x509"><B>PREV CLASS</B></A>
486 <A HREF="../../../../org/bouncycastle/asn1/x509/RSAPublicKeyStructure.html" title="class in org.bouncycastle.asn1.x509"><B>NEXT CLASS</B></A></FONT></TD>
487<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
488 <A HREF="../../../../index.html?org/bouncycastle/asn1/x509/RoleSyntax.html" target="_top"><B>FRAMES</B></A>
489 <A HREF="RoleSyntax.html" target="_top"><B>NO FRAMES</B></A>
490 <SCRIPT type="text/javascript">
491 <!--
492 if(window==top) {
493 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
494 }
495 //-->
496</SCRIPT>
497<NOSCRIPT>
498 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
499</NOSCRIPT>
500
501
502</FONT></TD>
503</TR>
504<TR>
505<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
506 SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.bouncycastle.asn1.ASN1Encodable">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
507<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
508DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
509</TR>
510</TABLE>
511<A NAME="skip-navbar_bottom"></A>
512<!-- ======== END OF BOTTOM NAVBAR ======= -->
513
514<HR>
515
516</BODY>
517</HTML>