/lib/bouncycastle/docs/org/bouncycastle/jce/provider/test/CipherStreamTest.html
HTML | 314 lines | 255 code | 37 blank | 22 comment | 0 complexity | b9e03275ab0c2486532fdd866f685d96 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:40 EST 2010 -->
6<TITLE>
7CipherStreamTest (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="CipherStreamTest (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/jce/provider/test/CertUniqueIDTest.html" title="class in org.bouncycastle.jce.provider.test"><B>PREV CLASS</B></A>
58 <A HREF="../../../../../org/bouncycastle/jce/provider/test/CRL5Test.html" title="class in org.bouncycastle.jce.provider.test"><B>NEXT CLASS</B></A></FONT></TD>
59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60 <A HREF="../../../../../index.html?org/bouncycastle/jce/provider/test/CipherStreamTest.html" target="_top"><B>FRAMES</B></A>
61 <A HREF="CipherStreamTest.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 | FIELD | <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.jce.provider.test</FONT>
91<BR>
92Class CipherStreamTest</H2>
93<PRE>
94java.lang.Object
95 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/bouncycastle/util/test/SimpleTest.html" title="class in org.bouncycastle.util.test">org.bouncycastle.util.test.SimpleTest</A>
96 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.bouncycastle.jce.provider.test.CipherStreamTest</B>
97</PRE>
98<DL>
99<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/bouncycastle/util/test/Test.html" title="interface in org.bouncycastle.util.test">Test</A></DD>
100</DL>
101<HR>
102<DL>
103<DT><PRE>public class <B>CipherStreamTest</B><DT>extends <A HREF="../../../../../org/bouncycastle/util/test/SimpleTest.html" title="class in org.bouncycastle.util.test">SimpleTest</A></DL>
104</PRE>
105
106<P>
107check that cipher input/output streams are working correctly
108<P>
109
110<P>
111<HR>
112
113<P>
114
115<!-- ======== CONSTRUCTOR SUMMARY ======== -->
116
117<A NAME="constructor_summary"><!-- --></A>
118<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
119<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
120<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
121<B>Constructor Summary</B></FONT></TH>
122</TR>
123<TR BGCOLOR="white" CLASS="TableRowColor">
124<TD><CODE><B><A HREF="../../../../../org/bouncycastle/jce/provider/test/CipherStreamTest.html#CipherStreamTest()">CipherStreamTest</A></B>()</CODE>
125
126<BR>
127 </TD>
128</TR>
129</TABLE>
130
131<!-- ========== METHOD SUMMARY =========== -->
132
133<A NAME="method_summary"><!-- --></A>
134<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
136<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
137<B>Method Summary</B></FONT></TH>
138</TR>
139<TR BGCOLOR="white" CLASS="TableRowColor">
140<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141<CODE> java.lang.String</CODE></FONT></TD>
142<TD><CODE><B><A HREF="../../../../../org/bouncycastle/jce/provider/test/CipherStreamTest.html#getName()">getName</A></B>()</CODE>
143
144<BR>
145 </TD>
146</TR>
147<TR BGCOLOR="white" CLASS="TableRowColor">
148<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149<CODE>static void</CODE></FONT></TD>
150<TD><CODE><B><A HREF="../../../../../org/bouncycastle/jce/provider/test/CipherStreamTest.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE>
151
152<BR>
153 </TD>
154</TR>
155<TR BGCOLOR="white" CLASS="TableRowColor">
156<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157<CODE> void</CODE></FONT></TD>
158<TD><CODE><B><A HREF="../../../../../org/bouncycastle/jce/provider/test/CipherStreamTest.html#performTest()">performTest</A></B>()</CODE>
159
160<BR>
161 </TD>
162</TR>
163</TABLE>
164 <A NAME="methods_inherited_from_class_org.bouncycastle.util.test.SimpleTest"><!-- --></A>
165<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
166<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
167<TH ALIGN="left"><B>Methods inherited from class org.bouncycastle.util.test.<A HREF="../../../../../org/bouncycastle/util/test/SimpleTest.html" title="class in org.bouncycastle.util.test">SimpleTest</A></B></TH>
168</TR>
169<TR BGCOLOR="white" CLASS="TableRowColor">
170<TD><CODE><A HREF="../../../../../org/bouncycastle/util/test/SimpleTest.html#areEqual(byte[], byte[])">areEqual</A>, <A HREF="../../../../../org/bouncycastle/util/test/SimpleTest.html#fail(java.lang.String)">fail</A>, <A HREF="../../../../../org/bouncycastle/util/test/SimpleTest.html#fail(java.lang.String, java.lang.Object, java.lang.Object)">fail</A>, <A HREF="../../../../../org/bouncycastle/util/test/SimpleTest.html#fail(java.lang.String, java.lang.Throwable)">fail</A>, <A HREF="../../../../../org/bouncycastle/util/test/SimpleTest.html#perform()">perform</A>, <A HREF="../../../../../org/bouncycastle/util/test/SimpleTest.html#runTest(org.bouncycastle.util.test.Test)">runTest</A>, <A HREF="../../../../../org/bouncycastle/util/test/SimpleTest.html#runTest(org.bouncycastle.util.test.Test, java.io.PrintStream)">runTest</A></CODE></TD>
171</TR>
172</TABLE>
173 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
174<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
175<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
176<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
177</TR>
178<TR BGCOLOR="white" CLASS="TableRowColor">
179<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
180</TR>
181</TABLE>
182
183<P>
184
185<!-- ========= CONSTRUCTOR DETAIL ======== -->
186
187<A NAME="constructor_detail"><!-- --></A>
188<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
189<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
190<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
191<B>Constructor Detail</B></FONT></TH>
192</TR>
193</TABLE>
194
195<A NAME="CipherStreamTest()"><!-- --></A><H3>
196CipherStreamTest</H3>
197<PRE>
198public <B>CipherStreamTest</B>()</PRE>
199<DL>
200</DL>
201
202<!-- ============ METHOD DETAIL ========== -->
203
204<A NAME="method_detail"><!-- --></A>
205<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
206<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
207<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
208<B>Method Detail</B></FONT></TH>
209</TR>
210</TABLE>
211
212<A NAME="performTest()"><!-- --></A><H3>
213performTest</H3>
214<PRE>
215public void <B>performTest</B>()
216 throws java.lang.Exception</PRE>
217<DL>
218<DD><DL>
219<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/bouncycastle/util/test/SimpleTest.html#performTest()">performTest</A></CODE> in class <CODE><A HREF="../../../../../org/bouncycastle/util/test/SimpleTest.html" title="class in org.bouncycastle.util.test">SimpleTest</A></CODE></DL>
220</DD>
221<DD><DL>
222
223<DT><B>Throws:</B>
224<DD><CODE>java.lang.Exception</CODE></DL>
225</DD>
226</DL>
227<HR>
228
229<A NAME="getName()"><!-- --></A><H3>
230getName</H3>
231<PRE>
232public java.lang.String <B>getName</B>()</PRE>
233<DL>
234<DD><DL>
235<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/bouncycastle/util/test/Test.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../../../org/bouncycastle/util/test/Test.html" title="interface in org.bouncycastle.util.test">Test</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/bouncycastle/util/test/SimpleTest.html#getName()">getName</A></CODE> in class <CODE><A HREF="../../../../../org/bouncycastle/util/test/SimpleTest.html" title="class in org.bouncycastle.util.test">SimpleTest</A></CODE></DL>
236</DD>
237<DD><DL>
238</DL>
239</DD>
240</DL>
241<HR>
242
243<A NAME="main(java.lang.String[])"><!-- --></A><H3>
244main</H3>
245<PRE>
246public static void <B>main</B>(java.lang.String[] args)</PRE>
247<DL>
248<DD><DL>
249</DL>
250</DD>
251</DL>
252<!-- ========= END OF CLASS DATA ========= -->
253<HR>
254
255
256<!-- ======= START OF BOTTOM NAVBAR ====== -->
257<A NAME="navbar_bottom"><!-- --></A>
258<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
259<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
260<TR>
261<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
262<A NAME="navbar_bottom_firstrow"><!-- --></A>
263<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
264 <TR ALIGN="center" VALIGN="top">
265 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
266 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
267 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
268 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
269 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
270 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
271 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
272 </TR>
273</TABLE>
274</TD>
275<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
276<b>Bouncy Castle Cryptography Library 1.45</b></EM>
277</TD>
278</TR>
279
280<TR>
281<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
282 <A HREF="../../../../../org/bouncycastle/jce/provider/test/CertUniqueIDTest.html" title="class in org.bouncycastle.jce.provider.test"><B>PREV CLASS</B></A>
283 <A HREF="../../../../../org/bouncycastle/jce/provider/test/CRL5Test.html" title="class in org.bouncycastle.jce.provider.test"><B>NEXT CLASS</B></A></FONT></TD>
284<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
285 <A HREF="../../../../../index.html?org/bouncycastle/jce/provider/test/CipherStreamTest.html" target="_top"><B>FRAMES</B></A>
286 <A HREF="CipherStreamTest.html" target="_top"><B>NO FRAMES</B></A>
287 <SCRIPT type="text/javascript">
288 <!--
289 if(window==top) {
290 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
291 }
292 //-->
293</SCRIPT>
294<NOSCRIPT>
295 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
296</NOSCRIPT>
297
298
299</FONT></TD>
300</TR>
301<TR>
302<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
303 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
304<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
305DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
306</TR>
307</TABLE>
308<A NAME="skip-navbar_bottom"></A>
309<!-- ======== END OF BOTTOM NAVBAR ======= -->
310
311<HR>
312
313</BODY>
314</HTML>