/lib/bouncycastle/docs/org/bouncycastle/jce/provider/test/CipherStreamTest.html

https://bitbucket.org/arkban/somersault · HTML · 314 lines · 255 code · 37 blank · 22 comment · 0 complexity · b9e03275ab0c2486532fdd866f685d96 MD5 · raw file

  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>
  7. CipherStreamTest (Bouncy Castle Library 1.45 API Specification)
  8. </TITLE>
  9. <META NAME="date" CONTENT="2010-01-11">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="CipherStreamTest (Bouncy Castle Library 1.45 API Specification)";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  40. </TR>
  41. </TABLE>
  42. </TD>
  43. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  44. <b>Bouncy Castle Cryptography Library 1.45</b></EM>
  45. </TD>
  46. </TR>
  47. <TR>
  48. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  49. &nbsp;<A HREF="../../../../../org/bouncycastle/jce/provider/test/CertUniqueIDTest.html" title="class in org.bouncycastle.jce.provider.test"><B>PREV CLASS</B></A>&nbsp;
  50. &nbsp;<A HREF="../../../../../org/bouncycastle/jce/provider/test/CRL5Test.html" title="class in org.bouncycastle.jce.provider.test"><B>NEXT CLASS</B></A></FONT></TD>
  51. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  52. <A HREF="../../../../../index.html?org/bouncycastle/jce/provider/test/CipherStreamTest.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="CipherStreamTest.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  54. &nbsp;<SCRIPT type="text/javascript">
  55. <!--
  56. if(window==top) {
  57. document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  58. }
  59. //-->
  60. </SCRIPT>
  61. <NOSCRIPT>
  62. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  63. </NOSCRIPT>
  64. </FONT></TD>
  65. </TR>
  66. <TR>
  67. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  68. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  71. </TR>
  72. </TABLE>
  73. <A NAME="skip-navbar_top"></A>
  74. <!-- ========= END OF TOP NAVBAR ========= -->
  75. <HR>
  76. <!-- ======== START OF CLASS DATA ======== -->
  77. <H2>
  78. <FONT SIZE="-1">
  79. org.bouncycastle.jce.provider.test</FONT>
  80. <BR>
  81. Class CipherStreamTest</H2>
  82. <PRE>
  83. java.lang.Object
  84. <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>
  85. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.bouncycastle.jce.provider.test.CipherStreamTest</B>
  86. </PRE>
  87. <DL>
  88. <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>
  89. </DL>
  90. <HR>
  91. <DL>
  92. <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>
  93. </PRE>
  94. <P>
  95. check that cipher input/output streams are working correctly
  96. <P>
  97. <P>
  98. <HR>
  99. <P>
  100. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  101. <A NAME="constructor_summary"><!-- --></A>
  102. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  103. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  104. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  105. <B>Constructor Summary</B></FONT></TH>
  106. </TR>
  107. <TR BGCOLOR="white" CLASS="TableRowColor">
  108. <TD><CODE><B><A HREF="../../../../../org/bouncycastle/jce/provider/test/CipherStreamTest.html#CipherStreamTest()">CipherStreamTest</A></B>()</CODE>
  109. <BR>
  110. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  111. </TR>
  112. </TABLE>
  113. &nbsp;
  114. <!-- ========== METHOD SUMMARY =========== -->
  115. <A NAME="method_summary"><!-- --></A>
  116. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  117. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  118. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  119. <B>Method Summary</B></FONT></TH>
  120. </TR>
  121. <TR BGCOLOR="white" CLASS="TableRowColor">
  122. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  123. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  124. <TD><CODE><B><A HREF="../../../../../org/bouncycastle/jce/provider/test/CipherStreamTest.html#getName()">getName</A></B>()</CODE>
  125. <BR>
  126. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  127. </TR>
  128. <TR BGCOLOR="white" CLASS="TableRowColor">
  129. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  130. <CODE>static&nbsp;void</CODE></FONT></TD>
  131. <TD><CODE><B><A HREF="../../../../../org/bouncycastle/jce/provider/test/CipherStreamTest.html#main(java.lang.String[])">main</A></B>(java.lang.String[]&nbsp;args)</CODE>
  132. <BR>
  133. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  134. </TR>
  135. <TR BGCOLOR="white" CLASS="TableRowColor">
  136. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  137. <CODE>&nbsp;void</CODE></FONT></TD>
  138. <TD><CODE><B><A HREF="../../../../../org/bouncycastle/jce/provider/test/CipherStreamTest.html#performTest()">performTest</A></B>()</CODE>
  139. <BR>
  140. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  141. </TR>
  142. </TABLE>
  143. &nbsp;<A NAME="methods_inherited_from_class_org.bouncycastle.util.test.SimpleTest"><!-- --></A>
  144. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  145. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  146. <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>
  147. </TR>
  148. <TR BGCOLOR="white" CLASS="TableRowColor">
  149. <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>
  150. </TR>
  151. </TABLE>
  152. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  153. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  154. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  155. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  156. </TR>
  157. <TR BGCOLOR="white" CLASS="TableRowColor">
  158. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  159. </TR>
  160. </TABLE>
  161. &nbsp;
  162. <P>
  163. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  164. <A NAME="constructor_detail"><!-- --></A>
  165. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  166. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  167. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  168. <B>Constructor Detail</B></FONT></TH>
  169. </TR>
  170. </TABLE>
  171. <A NAME="CipherStreamTest()"><!-- --></A><H3>
  172. CipherStreamTest</H3>
  173. <PRE>
  174. public <B>CipherStreamTest</B>()</PRE>
  175. <DL>
  176. </DL>
  177. <!-- ============ METHOD DETAIL ========== -->
  178. <A NAME="method_detail"><!-- --></A>
  179. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  180. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  181. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  182. <B>Method Detail</B></FONT></TH>
  183. </TR>
  184. </TABLE>
  185. <A NAME="performTest()"><!-- --></A><H3>
  186. performTest</H3>
  187. <PRE>
  188. public void <B>performTest</B>()
  189. throws java.lang.Exception</PRE>
  190. <DL>
  191. <DD><DL>
  192. <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>
  193. </DD>
  194. <DD><DL>
  195. <DT><B>Throws:</B>
  196. <DD><CODE>java.lang.Exception</CODE></DL>
  197. </DD>
  198. </DL>
  199. <HR>
  200. <A NAME="getName()"><!-- --></A><H3>
  201. getName</H3>
  202. <PRE>
  203. public java.lang.String <B>getName</B>()</PRE>
  204. <DL>
  205. <DD><DL>
  206. <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>
  207. </DD>
  208. <DD><DL>
  209. </DL>
  210. </DD>
  211. </DL>
  212. <HR>
  213. <A NAME="main(java.lang.String[])"><!-- --></A><H3>
  214. main</H3>
  215. <PRE>
  216. public static void <B>main</B>(java.lang.String[]&nbsp;args)</PRE>
  217. <DL>
  218. <DD><DL>
  219. </DL>
  220. </DD>
  221. </DL>
  222. <!-- ========= END OF CLASS DATA ========= -->
  223. <HR>
  224. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  225. <A NAME="navbar_bottom"><!-- --></A>
  226. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  227. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  228. <TR>
  229. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  230. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  231. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  232. <TR ALIGN="center" VALIGN="top">
  233. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  234. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  235. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  236. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  237. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  238. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  239. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  240. </TR>
  241. </TABLE>
  242. </TD>
  243. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  244. <b>Bouncy Castle Cryptography Library 1.45</b></EM>
  245. </TD>
  246. </TR>
  247. <TR>
  248. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  249. &nbsp;<A HREF="../../../../../org/bouncycastle/jce/provider/test/CertUniqueIDTest.html" title="class in org.bouncycastle.jce.provider.test"><B>PREV CLASS</B></A>&nbsp;
  250. &nbsp;<A HREF="../../../../../org/bouncycastle/jce/provider/test/CRL5Test.html" title="class in org.bouncycastle.jce.provider.test"><B>NEXT CLASS</B></A></FONT></TD>
  251. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  252. <A HREF="../../../../../index.html?org/bouncycastle/jce/provider/test/CipherStreamTest.html" target="_top"><B>FRAMES</B></A> &nbsp;
  253. &nbsp;<A HREF="CipherStreamTest.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  254. &nbsp;<SCRIPT type="text/javascript">
  255. <!--
  256. if(window==top) {
  257. document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  258. }
  259. //-->
  260. </SCRIPT>
  261. <NOSCRIPT>
  262. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  263. </NOSCRIPT>
  264. </FONT></TD>
  265. </TR>
  266. <TR>
  267. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  268. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  269. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  270. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  271. </TR>
  272. </TABLE>
  273. <A NAME="skip-navbar_bottom"></A>
  274. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  275. <HR>
  276. </BODY>
  277. </HTML>