/lib/bouncycastle/docs/org/bouncycastle/jce/provider/JDKDSAPublicKey.html

https://bitbucket.org/arkban/somersault · HTML · 379 lines · 319 code · 40 blank · 20 comment · 0 complexity · f589e7221286e19ccc897da65f9e9766 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:38 EST 2010 -->
  6. <TITLE>
  7. JDKDSAPublicKey (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="JDKDSAPublicKey (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/JDKDSAPrivateKey.html" title="class in org.bouncycastle.jce.provider"><B>PREV CLASS</B></A>&nbsp;
  50. &nbsp;<A HREF="../../../../org/bouncycastle/jce/provider/JDKDSASigner.html" title="class in org.bouncycastle.jce.provider"><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/JDKDSAPublicKey.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="JDKDSAPublicKey.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;CONSTR&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;CONSTR&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</FONT>
  80. <BR>
  81. Class JDKDSAPublicKey</H2>
  82. <PRE>
  83. java.lang.Object
  84. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.bouncycastle.jce.provider.JDKDSAPublicKey</B>
  85. </PRE>
  86. <DL>
  87. <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, java.security.interfaces.DSAKey, java.security.interfaces.DSAPublicKey, java.security.Key, java.security.PublicKey</DD>
  88. </DL>
  89. <HR>
  90. <DL>
  91. <DT><PRE>public class <B>JDKDSAPublicKey</B><DT>extends java.lang.Object<DT>implements java.security.interfaces.DSAPublicKey</DL>
  92. </PRE>
  93. <P>
  94. <DL>
  95. <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.bouncycastle.jce.provider.JDKDSAPublicKey">Serialized Form</A></DL>
  96. <HR>
  97. <P>
  98. <!-- ========== METHOD SUMMARY =========== -->
  99. <A NAME="method_summary"><!-- --></A>
  100. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  101. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  102. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  103. <B>Method Summary</B></FONT></TH>
  104. </TR>
  105. <TR BGCOLOR="white" CLASS="TableRowColor">
  106. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  107. <CODE>&nbsp;boolean</CODE></FONT></TD>
  108. <TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JDKDSAPublicKey.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;o)</CODE>
  109. <BR>
  110. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  111. </TR>
  112. <TR BGCOLOR="white" CLASS="TableRowColor">
  113. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  114. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  115. <TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JDKDSAPublicKey.html#getAlgorithm()">getAlgorithm</A></B>()</CODE>
  116. <BR>
  117. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  118. </TR>
  119. <TR BGCOLOR="white" CLASS="TableRowColor">
  120. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  121. <CODE>&nbsp;byte[]</CODE></FONT></TD>
  122. <TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JDKDSAPublicKey.html#getEncoded()">getEncoded</A></B>()</CODE>
  123. <BR>
  124. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  125. </TR>
  126. <TR BGCOLOR="white" CLASS="TableRowColor">
  127. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  128. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  129. <TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JDKDSAPublicKey.html#getFormat()">getFormat</A></B>()</CODE>
  130. <BR>
  131. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  132. </TR>
  133. <TR BGCOLOR="white" CLASS="TableRowColor">
  134. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  135. <CODE>&nbsp;java.security.interfaces.DSAParams</CODE></FONT></TD>
  136. <TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JDKDSAPublicKey.html#getParams()">getParams</A></B>()</CODE>
  137. <BR>
  138. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  139. </TR>
  140. <TR BGCOLOR="white" CLASS="TableRowColor">
  141. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  142. <CODE>&nbsp;java.math.BigInteger</CODE></FONT></TD>
  143. <TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JDKDSAPublicKey.html#getY()">getY</A></B>()</CODE>
  144. <BR>
  145. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  146. </TR>
  147. <TR BGCOLOR="white" CLASS="TableRowColor">
  148. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  149. <CODE>&nbsp;int</CODE></FONT></TD>
  150. <TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JDKDSAPublicKey.html#hashCode()">hashCode</A></B>()</CODE>
  151. <BR>
  152. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  153. </TR>
  154. <TR BGCOLOR="white" CLASS="TableRowColor">
  155. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  156. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  157. <TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/provider/JDKDSAPublicKey.html#toString()">toString</A></B>()</CODE>
  158. <BR>
  159. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  160. </TR>
  161. </TABLE>
  162. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  163. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  164. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  165. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  166. </TR>
  167. <TR BGCOLOR="white" CLASS="TableRowColor">
  168. <TD><CODE>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
  169. </TR>
  170. </TABLE>
  171. &nbsp;
  172. <P>
  173. <!-- ============ METHOD DETAIL ========== -->
  174. <A NAME="method_detail"><!-- --></A>
  175. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  176. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  177. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  178. <B>Method Detail</B></FONT></TH>
  179. </TR>
  180. </TABLE>
  181. <A NAME="getAlgorithm()"><!-- --></A><H3>
  182. getAlgorithm</H3>
  183. <PRE>
  184. public java.lang.String <B>getAlgorithm</B>()</PRE>
  185. <DL>
  186. <DD><DL>
  187. <DT><B>Specified by:</B><DD><CODE>getAlgorithm</CODE> in interface <CODE>java.security.Key</CODE></DL>
  188. </DD>
  189. <DD><DL>
  190. </DL>
  191. </DD>
  192. </DL>
  193. <HR>
  194. <A NAME="getFormat()"><!-- --></A><H3>
  195. getFormat</H3>
  196. <PRE>
  197. public java.lang.String <B>getFormat</B>()</PRE>
  198. <DL>
  199. <DD><DL>
  200. <DT><B>Specified by:</B><DD><CODE>getFormat</CODE> in interface <CODE>java.security.Key</CODE></DL>
  201. </DD>
  202. <DD><DL>
  203. </DL>
  204. </DD>
  205. </DL>
  206. <HR>
  207. <A NAME="getEncoded()"><!-- --></A><H3>
  208. getEncoded</H3>
  209. <PRE>
  210. public byte[] <B>getEncoded</B>()</PRE>
  211. <DL>
  212. <DD><DL>
  213. <DT><B>Specified by:</B><DD><CODE>getEncoded</CODE> in interface <CODE>java.security.Key</CODE></DL>
  214. </DD>
  215. <DD><DL>
  216. </DL>
  217. </DD>
  218. </DL>
  219. <HR>
  220. <A NAME="getParams()"><!-- --></A><H3>
  221. getParams</H3>
  222. <PRE>
  223. public java.security.interfaces.DSAParams <B>getParams</B>()</PRE>
  224. <DL>
  225. <DD><DL>
  226. <DT><B>Specified by:</B><DD><CODE>getParams</CODE> in interface <CODE>java.security.interfaces.DSAKey</CODE></DL>
  227. </DD>
  228. <DD><DL>
  229. </DL>
  230. </DD>
  231. </DL>
  232. <HR>
  233. <A NAME="getY()"><!-- --></A><H3>
  234. getY</H3>
  235. <PRE>
  236. public java.math.BigInteger <B>getY</B>()</PRE>
  237. <DL>
  238. <DD><DL>
  239. <DT><B>Specified by:</B><DD><CODE>getY</CODE> in interface <CODE>java.security.interfaces.DSAPublicKey</CODE></DL>
  240. </DD>
  241. <DD><DL>
  242. </DL>
  243. </DD>
  244. </DL>
  245. <HR>
  246. <A NAME="toString()"><!-- --></A><H3>
  247. toString</H3>
  248. <PRE>
  249. public java.lang.String <B>toString</B>()</PRE>
  250. <DL>
  251. <DD><DL>
  252. <DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
  253. </DD>
  254. <DD><DL>
  255. </DL>
  256. </DD>
  257. </DL>
  258. <HR>
  259. <A NAME="hashCode()"><!-- --></A><H3>
  260. hashCode</H3>
  261. <PRE>
  262. public int <B>hashCode</B>()</PRE>
  263. <DL>
  264. <DD><DL>
  265. <DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL>
  266. </DD>
  267. <DD><DL>
  268. </DL>
  269. </DD>
  270. </DL>
  271. <HR>
  272. <A NAME="equals(java.lang.Object)"><!-- --></A><H3>
  273. equals</H3>
  274. <PRE>
  275. public boolean <B>equals</B>(java.lang.Object&nbsp;o)</PRE>
  276. <DL>
  277. <DD><DL>
  278. <DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
  279. </DD>
  280. <DD><DL>
  281. </DL>
  282. </DD>
  283. </DL>
  284. <!-- ========= END OF CLASS DATA ========= -->
  285. <HR>
  286. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  287. <A NAME="navbar_bottom"><!-- --></A>
  288. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  289. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  290. <TR>
  291. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  292. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  293. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  294. <TR ALIGN="center" VALIGN="top">
  295. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  296. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  297. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  298. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  299. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  300. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  301. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  302. </TR>
  303. </TABLE>
  304. </TD>
  305. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  306. <b>Bouncy Castle Cryptography Library 1.45</b></EM>
  307. </TD>
  308. </TR>
  309. <TR>
  310. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  311. &nbsp;<A HREF="../../../../org/bouncycastle/jce/provider/JDKDSAPrivateKey.html" title="class in org.bouncycastle.jce.provider"><B>PREV CLASS</B></A>&nbsp;
  312. &nbsp;<A HREF="../../../../org/bouncycastle/jce/provider/JDKDSASigner.html" title="class in org.bouncycastle.jce.provider"><B>NEXT CLASS</B></A></FONT></TD>
  313. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  314. <A HREF="../../../../index.html?org/bouncycastle/jce/provider/JDKDSAPublicKey.html" target="_top"><B>FRAMES</B></A> &nbsp;
  315. &nbsp;<A HREF="JDKDSAPublicKey.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  316. &nbsp;<SCRIPT type="text/javascript">
  317. <!--
  318. if(window==top) {
  319. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  320. }
  321. //-->
  322. </SCRIPT>
  323. <NOSCRIPT>
  324. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  325. </NOSCRIPT>
  326. </FONT></TD>
  327. </TR>
  328. <TR>
  329. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  330. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  331. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  332. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  333. </TR>
  334. </TABLE>
  335. <A NAME="skip-navbar_bottom"></A>
  336. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  337. <HR>
  338. </BODY>
  339. </HTML>