/lib/bouncycastle/docs/org/bouncycastle/jce/spec/ElGamalPublicKeySpec.html
HTML | 274 lines | 219 code | 33 blank | 22 comment | 0 complexity | d1a806157b92535cbe43efb4fc28fab0 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:41 EST 2010 -->
6<TITLE>
7ElGamalPublicKeySpec (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="ElGamalPublicKeySpec (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/spec/ElGamalPrivateKeySpec.html" title="class in org.bouncycastle.jce.spec"><B>PREV CLASS</B></A>
58 <A HREF="../../../../org/bouncycastle/jce/spec/GOST28147ParameterSpec.html" title="class in org.bouncycastle.jce.spec"><B>NEXT CLASS</B></A></FONT></TD>
59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60 <A HREF="../../../../index.html?org/bouncycastle/jce/spec/ElGamalPublicKeySpec.html" target="_top"><B>FRAMES</B></A>
61 <A HREF="ElGamalPublicKeySpec.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.spec</FONT>
91<BR>
92Class ElGamalPublicKeySpec</H2>
93<PRE>
94java.lang.Object
95 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/bouncycastle/jce/spec/ElGamalKeySpec.html" title="class in org.bouncycastle.jce.spec">org.bouncycastle.jce.spec.ElGamalKeySpec</A>
96 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.bouncycastle.jce.spec.ElGamalPublicKeySpec</B>
97</PRE>
98<DL>
99<DT><B>All Implemented Interfaces:</B> <DD>java.security.spec.KeySpec</DD>
100</DL>
101<HR>
102<DL>
103<DT><PRE>public class <B>ElGamalPublicKeySpec</B><DT>extends <A HREF="../../../../org/bouncycastle/jce/spec/ElGamalKeySpec.html" title="class in org.bouncycastle.jce.spec">ElGamalKeySpec</A></DL>
104</PRE>
105
106<P>
107This class specifies an ElGamal public key with its associated parameters.
108<P>
109
110<P>
111<DL>
112<DT><B>See Also:</B><DD><A HREF="../../../../org/bouncycastle/jce/spec/ElGamalPrivateKeySpec.html" title="class in org.bouncycastle.jce.spec"><CODE>ElGamalPrivateKeySpec</CODE></A></DL>
113<HR>
114
115<P>
116
117<!-- ======== CONSTRUCTOR SUMMARY ======== -->
118
119<A NAME="constructor_summary"><!-- --></A>
120<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
121<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
122<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
123<B>Constructor Summary</B></FONT></TH>
124</TR>
125<TR BGCOLOR="white" CLASS="TableRowColor">
126<TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/spec/ElGamalPublicKeySpec.html#ElGamalPublicKeySpec(java.math.BigInteger, org.bouncycastle.jce.spec.ElGamalParameterSpec)">ElGamalPublicKeySpec</A></B>(java.math.BigInteger y,
127 <A HREF="../../../../org/bouncycastle/jce/spec/ElGamalParameterSpec.html" title="class in org.bouncycastle.jce.spec">ElGamalParameterSpec</A> spec)</CODE>
128
129<BR>
130 </TD>
131</TR>
132</TABLE>
133
134<!-- ========== METHOD SUMMARY =========== -->
135
136<A NAME="method_summary"><!-- --></A>
137<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
138<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
139<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
140<B>Method Summary</B></FONT></TH>
141</TR>
142<TR BGCOLOR="white" CLASS="TableRowColor">
143<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
144<CODE> java.math.BigInteger</CODE></FONT></TD>
145<TD><CODE><B><A HREF="../../../../org/bouncycastle/jce/spec/ElGamalPublicKeySpec.html#getY()">getY</A></B>()</CODE>
146
147<BR>
148 Returns the public value <code>y</code>.</TD>
149</TR>
150</TABLE>
151 <A NAME="methods_inherited_from_class_org.bouncycastle.jce.spec.ElGamalKeySpec"><!-- --></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.jce.spec.<A HREF="../../../../org/bouncycastle/jce/spec/ElGamalKeySpec.html" title="class in org.bouncycastle.jce.spec">ElGamalKeySpec</A></B></TH>
155</TR>
156<TR BGCOLOR="white" CLASS="TableRowColor">
157<TD><CODE><A HREF="../../../../org/bouncycastle/jce/spec/ElGamalKeySpec.html#getParams()">getParams</A></CODE></TD>
158</TR>
159</TABLE>
160 <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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
167</TR>
168</TABLE>
169
170<P>
171
172<!-- ========= CONSTRUCTOR DETAIL ======== -->
173
174<A NAME="constructor_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>Constructor Detail</B></FONT></TH>
179</TR>
180</TABLE>
181
182<A NAME="ElGamalPublicKeySpec(java.math.BigInteger, org.bouncycastle.jce.spec.ElGamalParameterSpec)"><!-- --></A><H3>
183ElGamalPublicKeySpec</H3>
184<PRE>
185public <B>ElGamalPublicKeySpec</B>(java.math.BigInteger y,
186 <A HREF="../../../../org/bouncycastle/jce/spec/ElGamalParameterSpec.html" title="class in org.bouncycastle.jce.spec">ElGamalParameterSpec</A> spec)</PRE>
187<DL>
188</DL>
189
190<!-- ============ METHOD DETAIL ========== -->
191
192<A NAME="method_detail"><!-- --></A>
193<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
194<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
195<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
196<B>Method Detail</B></FONT></TH>
197</TR>
198</TABLE>
199
200<A NAME="getY()"><!-- --></A><H3>
201getY</H3>
202<PRE>
203public java.math.BigInteger <B>getY</B>()</PRE>
204<DL>
205<DD>Returns the public value <code>y</code>.
206<P>
207<DD><DL>
208
209<DT><B>Returns:</B><DD>the public value <code>y</code></DL>
210</DD>
211</DL>
212<!-- ========= END OF CLASS DATA ========= -->
213<HR>
214
215
216<!-- ======= START OF BOTTOM NAVBAR ====== -->
217<A NAME="navbar_bottom"><!-- --></A>
218<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
219<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
220<TR>
221<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
222<A NAME="navbar_bottom_firstrow"><!-- --></A>
223<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
224 <TR ALIGN="center" VALIGN="top">
225 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
226 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
227 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
228 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
229 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
230 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
231 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
232 </TR>
233</TABLE>
234</TD>
235<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
236<b>Bouncy Castle Cryptography Library 1.45</b></EM>
237</TD>
238</TR>
239
240<TR>
241<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
242 <A HREF="../../../../org/bouncycastle/jce/spec/ElGamalPrivateKeySpec.html" title="class in org.bouncycastle.jce.spec"><B>PREV CLASS</B></A>
243 <A HREF="../../../../org/bouncycastle/jce/spec/GOST28147ParameterSpec.html" title="class in org.bouncycastle.jce.spec"><B>NEXT CLASS</B></A></FONT></TD>
244<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
245 <A HREF="../../../../index.html?org/bouncycastle/jce/spec/ElGamalPublicKeySpec.html" target="_top"><B>FRAMES</B></A>
246 <A HREF="ElGamalPublicKeySpec.html" target="_top"><B>NO FRAMES</B></A>
247 <SCRIPT type="text/javascript">
248 <!--
249 if(window==top) {
250 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
251 }
252 //-->
253</SCRIPT>
254<NOSCRIPT>
255 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
256</NOSCRIPT>
257
258
259</FONT></TD>
260</TR>
261<TR>
262<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
263 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
264<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
265DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
266</TR>
267</TABLE>
268<A NAME="skip-navbar_bottom"></A>
269<!-- ======== END OF BOTTOM NAVBAR ======= -->
270
271<HR>
272
273</BODY>
274</HTML>