/lib/bouncycastle/docs/org/bouncycastle/asn1/ess/ContentIdentifier.html
HTML | 354 lines | 292 code | 39 blank | 23 comment | 0 complexity | 70e2e5723d897aae44f45f4952032b0a 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:33 EST 2010 -->
6<TITLE>
7ContentIdentifier (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="ContentIdentifier (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/ess/ContentHints.html" title="class in org.bouncycastle.asn1.ess"><B>PREV CLASS</B></A>
58 <A HREF="../../../../org/bouncycastle/asn1/ess/ESSCertID.html" title="class in org.bouncycastle.asn1.ess"><B>NEXT CLASS</B></A></FONT></TD>
59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60 <A HREF="../../../../index.html?org/bouncycastle/asn1/ess/ContentIdentifier.html" target="_top"><B>FRAMES</B></A>
61 <A HREF="ContentIdentifier.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.ess</FONT>
91<BR>
92Class ContentIdentifier</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.ess.ContentIdentifier</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>ContentIdentifier</B><DT>extends <A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html" title="class in org.bouncycastle.asn1">ASN1Encodable</A></DL>
104</PRE>
105
106<P>
107<HR>
108
109<P>
110<!-- =========== FIELD SUMMARY =========== -->
111
112<A NAME="field_summary"><!-- --></A>
113<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
114<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
115<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
116<B>Field Summary</B></FONT></TH>
117</TR>
118</TABLE>
119 <A NAME="fields_inherited_from_class_org.bouncycastle.asn1.ASN1Encodable"><!-- --></A>
120<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
121<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
122<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>
123</TR>
124<TR BGCOLOR="white" CLASS="TableRowColor">
125<TD><CODE><A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#BER">BER</A>, <A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#DER">DER</A></CODE></TD>
126</TR>
127</TABLE>
128
129<!-- ======== CONSTRUCTOR SUMMARY ======== -->
130
131<A NAME="constructor_summary"><!-- --></A>
132<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
133<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
134<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
135<B>Constructor Summary</B></FONT></TH>
136</TR>
137<TR BGCOLOR="white" CLASS="TableRowColor">
138<TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/ess/ContentIdentifier.html#ContentIdentifier(org.bouncycastle.asn1.ASN1OctetString)">ContentIdentifier</A></B>(<A HREF="../../../../org/bouncycastle/asn1/ASN1OctetString.html" title="class in org.bouncycastle.asn1">ASN1OctetString</A> value)</CODE>
139
140<BR>
141 Create from OCTET STRING whose octets represent the identifier.</TD>
142</TR>
143<TR BGCOLOR="white" CLASS="TableRowColor">
144<TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/ess/ContentIdentifier.html#ContentIdentifier(byte[])">ContentIdentifier</A></B>(byte[] value)</CODE>
145
146<BR>
147 Create from byte array representing the identifier.</TD>
148</TR>
149</TABLE>
150
151<!-- ========== METHOD SUMMARY =========== -->
152
153<A NAME="method_summary"><!-- --></A>
154<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
155<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
156<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
157<B>Method Summary</B></FONT></TH>
158</TR>
159<TR BGCOLOR="white" CLASS="TableRowColor">
160<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
161<CODE>static <A HREF="../../../../org/bouncycastle/asn1/ess/ContentIdentifier.html" title="class in org.bouncycastle.asn1.ess">ContentIdentifier</A></CODE></FONT></TD>
162<TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/ess/ContentIdentifier.html#getInstance(java.lang.Object)">getInstance</A></B>(java.lang.Object o)</CODE>
163
164<BR>
165 </TD>
166</TR>
167<TR BGCOLOR="white" CLASS="TableRowColor">
168<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
169<CODE> <A HREF="../../../../org/bouncycastle/asn1/ASN1OctetString.html" title="class in org.bouncycastle.asn1">ASN1OctetString</A></CODE></FONT></TD>
170<TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/ess/ContentIdentifier.html#getValue()">getValue</A></B>()</CODE>
171
172<BR>
173 </TD>
174</TR>
175<TR BGCOLOR="white" CLASS="TableRowColor">
176<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
177<CODE> <A HREF="../../../../org/bouncycastle/asn1/DERObject.html" title="class in org.bouncycastle.asn1">DERObject</A></CODE></FONT></TD>
178<TD><CODE><B><A HREF="../../../../org/bouncycastle/asn1/ess/ContentIdentifier.html#toASN1Object()">toASN1Object</A></B>()</CODE>
179
180<BR>
181 The definition of ContentIdentifier is
182
183 ContentIdentifier ::= OCTET STRING
184
185 id-aa-contentIdentifier OBJECT IDENTIFIER ::= { iso(1)
186 member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
187 smime(16) id-aa(2) 7 }</TD>
188</TR>
189</TABLE>
190 <A NAME="methods_inherited_from_class_org.bouncycastle.asn1.ASN1Encodable"><!-- --></A>
191<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
192<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
193<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>
194</TR>
195<TR BGCOLOR="white" CLASS="TableRowColor">
196<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>
197</TR>
198</TABLE>
199 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
200<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
201<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
202<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
203</TR>
204<TR BGCOLOR="white" CLASS="TableRowColor">
205<TD><CODE>clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
206</TR>
207</TABLE>
208
209<P>
210
211<!-- ========= CONSTRUCTOR DETAIL ======== -->
212
213<A NAME="constructor_detail"><!-- --></A>
214<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
215<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
216<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
217<B>Constructor Detail</B></FONT></TH>
218</TR>
219</TABLE>
220
221<A NAME="ContentIdentifier(org.bouncycastle.asn1.ASN1OctetString)"><!-- --></A><H3>
222ContentIdentifier</H3>
223<PRE>
224public <B>ContentIdentifier</B>(<A HREF="../../../../org/bouncycastle/asn1/ASN1OctetString.html" title="class in org.bouncycastle.asn1">ASN1OctetString</A> value)</PRE>
225<DL>
226<DD>Create from OCTET STRING whose octets represent the identifier.
227<P>
228</DL>
229<HR>
230
231<A NAME="ContentIdentifier(byte[])"><!-- --></A><H3>
232ContentIdentifier</H3>
233<PRE>
234public <B>ContentIdentifier</B>(byte[] value)</PRE>
235<DL>
236<DD>Create from byte array representing the identifier.
237<P>
238</DL>
239
240<!-- ============ METHOD DETAIL ========== -->
241
242<A NAME="method_detail"><!-- --></A>
243<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
244<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
245<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
246<B>Method Detail</B></FONT></TH>
247</TR>
248</TABLE>
249
250<A NAME="getInstance(java.lang.Object)"><!-- --></A><H3>
251getInstance</H3>
252<PRE>
253public static <A HREF="../../../../org/bouncycastle/asn1/ess/ContentIdentifier.html" title="class in org.bouncycastle.asn1.ess">ContentIdentifier</A> <B>getInstance</B>(java.lang.Object o)</PRE>
254<DL>
255<DD><DL>
256</DL>
257</DD>
258</DL>
259<HR>
260
261<A NAME="getValue()"><!-- --></A><H3>
262getValue</H3>
263<PRE>
264public <A HREF="../../../../org/bouncycastle/asn1/ASN1OctetString.html" title="class in org.bouncycastle.asn1">ASN1OctetString</A> <B>getValue</B>()</PRE>
265<DL>
266<DD><DL>
267</DL>
268</DD>
269</DL>
270<HR>
271
272<A NAME="toASN1Object()"><!-- --></A><H3>
273toASN1Object</H3>
274<PRE>
275public <A HREF="../../../../org/bouncycastle/asn1/DERObject.html" title="class in org.bouncycastle.asn1">DERObject</A> <B>toASN1Object</B>()</PRE>
276<DL>
277<DD>The definition of ContentIdentifier is
278 <pre>
279 ContentIdentifier ::= OCTET STRING
280 </pre>
281 id-aa-contentIdentifier OBJECT IDENTIFIER ::= { iso(1)
282 member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
283 smime(16) id-aa(2) 7 }
284<P>
285<DD><DL>
286<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>
287</DD>
288<DD><DL>
289</DL>
290</DD>
291</DL>
292<!-- ========= END OF CLASS DATA ========= -->
293<HR>
294
295
296<!-- ======= START OF BOTTOM NAVBAR ====== -->
297<A NAME="navbar_bottom"><!-- --></A>
298<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
299<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
300<TR>
301<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
302<A NAME="navbar_bottom_firstrow"><!-- --></A>
303<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
304 <TR ALIGN="center" VALIGN="top">
305 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
306 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
307 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
308 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
309 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
310 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
311 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
312 </TR>
313</TABLE>
314</TD>
315<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
316<b>Bouncy Castle Cryptography Library 1.45</b></EM>
317</TD>
318</TR>
319
320<TR>
321<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
322 <A HREF="../../../../org/bouncycastle/asn1/ess/ContentHints.html" title="class in org.bouncycastle.asn1.ess"><B>PREV CLASS</B></A>
323 <A HREF="../../../../org/bouncycastle/asn1/ess/ESSCertID.html" title="class in org.bouncycastle.asn1.ess"><B>NEXT CLASS</B></A></FONT></TD>
324<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
325 <A HREF="../../../../index.html?org/bouncycastle/asn1/ess/ContentIdentifier.html" target="_top"><B>FRAMES</B></A>
326 <A HREF="ContentIdentifier.html" target="_top"><B>NO FRAMES</B></A>
327 <SCRIPT type="text/javascript">
328 <!--
329 if(window==top) {
330 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
331 }
332 //-->
333</SCRIPT>
334<NOSCRIPT>
335 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
336</NOSCRIPT>
337
338
339</FONT></TD>
340</TR>
341<TR>
342<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
343 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>
344<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
345DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
346</TR>
347</TABLE>
348<A NAME="skip-navbar_bottom"></A>
349<!-- ======== END OF BOTTOM NAVBAR ======= -->
350
351<HR>
352
353</BODY>
354</HTML>