/lib/bouncycastle/docs/org/bouncycastle/crypto/params/DHPublicKeyParameters.html

https://bitbucket.org/arkban/somersault · HTML · 319 lines · 262 code · 35 blank · 22 comment · 0 complexity · d56404151908c2805b69767357bce2fa 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. DHPublicKeyParameters (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="DHPublicKeyParameters (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/crypto/params/DHPrivateKeyParameters.html" title="class in org.bouncycastle.crypto.params"><B>PREV CLASS</B></A>&nbsp;
  50. &nbsp;<A HREF="../../../../org/bouncycastle/crypto/params/DHValidationParameters.html" title="class in org.bouncycastle.crypto.params"><B>NEXT CLASS</B></A></FONT></TD>
  51. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  52. <A HREF="../../../../index.html?org/bouncycastle/crypto/params/DHPublicKeyParameters.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="DHPublicKeyParameters.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.params</FONT>
  80. <BR>
  81. Class DHPublicKeyParameters</H2>
  82. <PRE>
  83. java.lang.Object
  84. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/bouncycastle/crypto/params/AsymmetricKeyParameter.html" title="class in org.bouncycastle.crypto.params">org.bouncycastle.crypto.params.AsymmetricKeyParameter</A>
  85. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/bouncycastle/crypto/params/DHKeyParameters.html" title="class in org.bouncycastle.crypto.params">org.bouncycastle.crypto.params.DHKeyParameters</A>
  86. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.bouncycastle.crypto.params.DHPublicKeyParameters</B>
  87. </PRE>
  88. <DL>
  89. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/bouncycastle/crypto/CipherParameters.html" title="interface in org.bouncycastle.crypto">CipherParameters</A></DD>
  90. </DL>
  91. <HR>
  92. <DL>
  93. <DT><PRE>public class <B>DHPublicKeyParameters</B><DT>extends <A HREF="../../../../org/bouncycastle/crypto/params/DHKeyParameters.html" title="class in org.bouncycastle.crypto.params">DHKeyParameters</A></DL>
  94. </PRE>
  95. <P>
  96. <HR>
  97. <P>
  98. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  99. <A NAME="constructor_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>Constructor Summary</B></FONT></TH>
  104. </TR>
  105. <TR BGCOLOR="white" CLASS="TableRowColor">
  106. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/params/DHPublicKeyParameters.html#DHPublicKeyParameters(java.math.BigInteger, org.bouncycastle.crypto.params.DHParameters)">DHPublicKeyParameters</A></B>(java.math.BigInteger&nbsp;y,
  107. <A HREF="../../../../org/bouncycastle/crypto/params/DHParameters.html" title="class in org.bouncycastle.crypto.params">DHParameters</A>&nbsp;params)</CODE>
  108. <BR>
  109. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  110. </TR>
  111. </TABLE>
  112. &nbsp;
  113. <!-- ========== METHOD SUMMARY =========== -->
  114. <A NAME="method_summary"><!-- --></A>
  115. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  116. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  117. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  118. <B>Method Summary</B></FONT></TH>
  119. </TR>
  120. <TR BGCOLOR="white" CLASS="TableRowColor">
  121. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  122. <CODE>&nbsp;boolean</CODE></FONT></TD>
  123. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/params/DHPublicKeyParameters.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;obj)</CODE>
  124. <BR>
  125. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  126. </TR>
  127. <TR BGCOLOR="white" CLASS="TableRowColor">
  128. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  129. <CODE>&nbsp;java.math.BigInteger</CODE></FONT></TD>
  130. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/params/DHPublicKeyParameters.html#getY()">getY</A></B>()</CODE>
  131. <BR>
  132. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  133. </TR>
  134. <TR BGCOLOR="white" CLASS="TableRowColor">
  135. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  136. <CODE>&nbsp;int</CODE></FONT></TD>
  137. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/params/DHPublicKeyParameters.html#hashCode()">hashCode</A></B>()</CODE>
  138. <BR>
  139. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  140. </TR>
  141. </TABLE>
  142. &nbsp;<A NAME="methods_inherited_from_class_org.bouncycastle.crypto.params.DHKeyParameters"><!-- --></A>
  143. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  144. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  145. <TH ALIGN="left"><B>Methods inherited from class org.bouncycastle.crypto.params.<A HREF="../../../../org/bouncycastle/crypto/params/DHKeyParameters.html" title="class in org.bouncycastle.crypto.params">DHKeyParameters</A></B></TH>
  146. </TR>
  147. <TR BGCOLOR="white" CLASS="TableRowColor">
  148. <TD><CODE><A HREF="../../../../org/bouncycastle/crypto/params/DHKeyParameters.html#getParameters()">getParameters</A></CODE></TD>
  149. </TR>
  150. </TABLE>
  151. &nbsp;<A NAME="methods_inherited_from_class_org.bouncycastle.crypto.params.AsymmetricKeyParameter"><!-- --></A>
  152. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  153. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  154. <TH ALIGN="left"><B>Methods inherited from class org.bouncycastle.crypto.params.<A HREF="../../../../org/bouncycastle/crypto/params/AsymmetricKeyParameter.html" title="class in org.bouncycastle.crypto.params">AsymmetricKeyParameter</A></B></TH>
  155. </TR>
  156. <TR BGCOLOR="white" CLASS="TableRowColor">
  157. <TD><CODE><A HREF="../../../../org/bouncycastle/crypto/params/AsymmetricKeyParameter.html#isPrivate()">isPrivate</A></CODE></TD>
  158. </TR>
  159. </TABLE>
  160. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  161. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  162. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  163. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  164. </TR>
  165. <TR BGCOLOR="white" CLASS="TableRowColor">
  166. <TD><CODE>clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  167. </TR>
  168. </TABLE>
  169. &nbsp;
  170. <P>
  171. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  172. <A NAME="constructor_detail"><!-- --></A>
  173. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  174. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  175. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  176. <B>Constructor Detail</B></FONT></TH>
  177. </TR>
  178. </TABLE>
  179. <A NAME="DHPublicKeyParameters(java.math.BigInteger, org.bouncycastle.crypto.params.DHParameters)"><!-- --></A><H3>
  180. DHPublicKeyParameters</H3>
  181. <PRE>
  182. public <B>DHPublicKeyParameters</B>(java.math.BigInteger&nbsp;y,
  183. <A HREF="../../../../org/bouncycastle/crypto/params/DHParameters.html" title="class in org.bouncycastle.crypto.params">DHParameters</A>&nbsp;params)</PRE>
  184. <DL>
  185. </DL>
  186. <!-- ============ METHOD DETAIL ========== -->
  187. <A NAME="method_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>Method Detail</B></FONT></TH>
  192. </TR>
  193. </TABLE>
  194. <A NAME="getY()"><!-- --></A><H3>
  195. getY</H3>
  196. <PRE>
  197. public java.math.BigInteger <B>getY</B>()</PRE>
  198. <DL>
  199. <DD><DL>
  200. </DL>
  201. </DD>
  202. </DL>
  203. <HR>
  204. <A NAME="hashCode()"><!-- --></A><H3>
  205. hashCode</H3>
  206. <PRE>
  207. public int <B>hashCode</B>()</PRE>
  208. <DL>
  209. <DD><DL>
  210. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/bouncycastle/crypto/params/DHKeyParameters.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../../org/bouncycastle/crypto/params/DHKeyParameters.html" title="class in org.bouncycastle.crypto.params">DHKeyParameters</A></CODE></DL>
  211. </DD>
  212. <DD><DL>
  213. </DL>
  214. </DD>
  215. </DL>
  216. <HR>
  217. <A NAME="equals(java.lang.Object)"><!-- --></A><H3>
  218. equals</H3>
  219. <PRE>
  220. public boolean <B>equals</B>(java.lang.Object&nbsp;obj)</PRE>
  221. <DL>
  222. <DD><DL>
  223. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/bouncycastle/crypto/params/DHKeyParameters.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../org/bouncycastle/crypto/params/DHKeyParameters.html" title="class in org.bouncycastle.crypto.params">DHKeyParameters</A></CODE></DL>
  224. </DD>
  225. <DD><DL>
  226. </DL>
  227. </DD>
  228. </DL>
  229. <!-- ========= END OF CLASS DATA ========= -->
  230. <HR>
  231. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  232. <A NAME="navbar_bottom"><!-- --></A>
  233. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  234. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  235. <TR>
  236. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  237. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  238. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  239. <TR ALIGN="center" VALIGN="top">
  240. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  241. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  242. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  243. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  244. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  245. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  246. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  247. </TR>
  248. </TABLE>
  249. </TD>
  250. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  251. <b>Bouncy Castle Cryptography Library 1.45</b></EM>
  252. </TD>
  253. </TR>
  254. <TR>
  255. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  256. &nbsp;<A HREF="../../../../org/bouncycastle/crypto/params/DHPrivateKeyParameters.html" title="class in org.bouncycastle.crypto.params"><B>PREV CLASS</B></A>&nbsp;
  257. &nbsp;<A HREF="../../../../org/bouncycastle/crypto/params/DHValidationParameters.html" title="class in org.bouncycastle.crypto.params"><B>NEXT CLASS</B></A></FONT></TD>
  258. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  259. <A HREF="../../../../index.html?org/bouncycastle/crypto/params/DHPublicKeyParameters.html" target="_top"><B>FRAMES</B></A> &nbsp;
  260. &nbsp;<A HREF="DHPublicKeyParameters.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  261. &nbsp;<SCRIPT type="text/javascript">
  262. <!--
  263. if(window==top) {
  264. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  265. }
  266. //-->
  267. </SCRIPT>
  268. <NOSCRIPT>
  269. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  270. </NOSCRIPT>
  271. </FONT></TD>
  272. </TR>
  273. <TR>
  274. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  275. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  276. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  277. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  278. </TR>
  279. </TABLE>
  280. <A NAME="skip-navbar_bottom"></A>
  281. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  282. <HR>
  283. </BODY>
  284. </HTML>