/lib/bouncycastle/docs/org/bouncycastle/crypto/tls/AlwaysValidVerifyer.html

https://bitbucket.org/arkban/somersault · HTML · 266 lines · 212 code · 32 blank · 22 comment · 0 complexity · 44a685d2bd312d3946845872e27e1de6 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:36 EST 2010 -->
  6. <TITLE>
  7. AlwaysValidVerifyer (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="AlwaysValidVerifyer (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;PREV CLASS&nbsp;
  50. &nbsp;<A HREF="../../../../org/bouncycastle/crypto/tls/ByteQueue.html" title="class in org.bouncycastle.crypto.tls"><B>NEXT CLASS</B></A></FONT></TD>
  51. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  52. <A HREF="../../../../index.html?org/bouncycastle/crypto/tls/AlwaysValidVerifyer.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="AlwaysValidVerifyer.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.crypto.tls</FONT>
  80. <BR>
  81. Class AlwaysValidVerifyer</H2>
  82. <PRE>
  83. java.lang.Object
  84. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.bouncycastle.crypto.tls.AlwaysValidVerifyer</B>
  85. </PRE>
  86. <DL>
  87. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/bouncycastle/crypto/tls/CertificateVerifyer.html" title="interface in org.bouncycastle.crypto.tls">CertificateVerifyer</A></DD>
  88. </DL>
  89. <HR>
  90. <DL>
  91. <DT><PRE>public class <B>AlwaysValidVerifyer</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/bouncycastle/crypto/tls/CertificateVerifyer.html" title="interface in org.bouncycastle.crypto.tls">CertificateVerifyer</A></DL>
  92. </PRE>
  93. <P>
  94. A certificate verifyer, that will always return true.
  95. <pre>
  96. DO NOT USE THIS FILE UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING.
  97. </pre>
  98. <P>
  99. <P>
  100. <HR>
  101. <P>
  102. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  103. <A NAME="constructor_summary"><!-- --></A>
  104. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  105. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  106. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  107. <B>Constructor Summary</B></FONT></TH>
  108. </TR>
  109. <TR BGCOLOR="white" CLASS="TableRowColor">
  110. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/tls/AlwaysValidVerifyer.html#AlwaysValidVerifyer()">AlwaysValidVerifyer</A></B>()</CODE>
  111. <BR>
  112. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  113. </TR>
  114. </TABLE>
  115. &nbsp;
  116. <!-- ========== METHOD SUMMARY =========== -->
  117. <A NAME="method_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>Method Summary</B></FONT></TH>
  122. </TR>
  123. <TR BGCOLOR="white" CLASS="TableRowColor">
  124. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  125. <CODE>&nbsp;boolean</CODE></FONT></TD>
  126. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/tls/AlwaysValidVerifyer.html#isValid(org.bouncycastle.asn1.x509.X509CertificateStructure[])">isValid</A></B>(<A HREF="../../../../org/bouncycastle/asn1/x509/X509CertificateStructure.html" title="class in org.bouncycastle.asn1.x509">X509CertificateStructure</A>[]&nbsp;certs)</CODE>
  127. <BR>
  128. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return true.</TD>
  129. </TR>
  130. </TABLE>
  131. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  132. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  133. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  134. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  135. </TR>
  136. <TR BGCOLOR="white" CLASS="TableRowColor">
  137. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  138. </TR>
  139. </TABLE>
  140. &nbsp;
  141. <P>
  142. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  143. <A NAME="constructor_detail"><!-- --></A>
  144. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  145. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  146. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  147. <B>Constructor Detail</B></FONT></TH>
  148. </TR>
  149. </TABLE>
  150. <A NAME="AlwaysValidVerifyer()"><!-- --></A><H3>
  151. AlwaysValidVerifyer</H3>
  152. <PRE>
  153. public <B>AlwaysValidVerifyer</B>()</PRE>
  154. <DL>
  155. </DL>
  156. <!-- ============ METHOD DETAIL ========== -->
  157. <A NAME="method_detail"><!-- --></A>
  158. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  159. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  160. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  161. <B>Method Detail</B></FONT></TH>
  162. </TR>
  163. </TABLE>
  164. <A NAME="isValid(org.bouncycastle.asn1.x509.X509CertificateStructure[])"><!-- --></A><H3>
  165. isValid</H3>
  166. <PRE>
  167. public boolean <B>isValid</B>(<A HREF="../../../../org/bouncycastle/asn1/x509/X509CertificateStructure.html" title="class in org.bouncycastle.asn1.x509">X509CertificateStructure</A>[]&nbsp;certs)</PRE>
  168. <DL>
  169. <DD>Return true.
  170. <P>
  171. <DD><DL>
  172. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/bouncycastle/crypto/tls/CertificateVerifyer.html#isValid(org.bouncycastle.asn1.x509.X509CertificateStructure[])">isValid</A></CODE> in interface <CODE><A HREF="../../../../org/bouncycastle/crypto/tls/CertificateVerifyer.html" title="interface in org.bouncycastle.crypto.tls">CertificateVerifyer</A></CODE></DL>
  173. </DD>
  174. <DD><DL>
  175. <DT><B>Parameters:</B><DD><CODE>certs</CODE> - The certs, which are part of the chain.
  176. <DT><B>Returns:</B><DD>True, if the chain is accepted, false otherwise.<DT><B>See Also:</B><DD><A HREF="../../../../org/bouncycastle/crypto/tls/CertificateVerifyer.html#isValid(org.bouncycastle.asn1.x509.X509CertificateStructure[])"><CODE>CertificateVerifyer.isValid(org.bouncycastle.asn1.x509.X509CertificateStructure[])</CODE></A></DL>
  177. </DD>
  178. </DL>
  179. <!-- ========= END OF CLASS DATA ========= -->
  180. <HR>
  181. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  182. <A NAME="navbar_bottom"><!-- --></A>
  183. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  184. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  185. <TR>
  186. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  187. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  188. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  189. <TR ALIGN="center" VALIGN="top">
  190. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  191. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  192. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  193. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  194. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  195. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  196. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  197. </TR>
  198. </TABLE>
  199. </TD>
  200. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  201. <b>Bouncy Castle Cryptography Library 1.45</b></EM>
  202. </TD>
  203. </TR>
  204. <TR>
  205. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  206. &nbsp;PREV CLASS&nbsp;
  207. &nbsp;<A HREF="../../../../org/bouncycastle/crypto/tls/ByteQueue.html" title="class in org.bouncycastle.crypto.tls"><B>NEXT CLASS</B></A></FONT></TD>
  208. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  209. <A HREF="../../../../index.html?org/bouncycastle/crypto/tls/AlwaysValidVerifyer.html" target="_top"><B>FRAMES</B></A> &nbsp;
  210. &nbsp;<A HREF="AlwaysValidVerifyer.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  211. &nbsp;<SCRIPT type="text/javascript">
  212. <!--
  213. if(window==top) {
  214. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  215. }
  216. //-->
  217. </SCRIPT>
  218. <NOSCRIPT>
  219. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  220. </NOSCRIPT>
  221. </FONT></TD>
  222. </TR>
  223. <TR>
  224. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  225. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  226. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  227. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  228. </TR>
  229. </TABLE>
  230. <A NAME="skip-navbar_bottom"></A>
  231. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  232. <HR>
  233. </BODY>
  234. </HTML>