/lib/bouncycastle/docs/org/bouncycastle/crypto/tls/TlsCipherSuiteManager.html
HTML | 282 lines | 224 code | 36 blank | 22 comment | 0 complexity | 5690f0d8b67bf53e5918968800dc9a58 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:36 EST 2010 -->
6<TITLE>
7TlsCipherSuiteManager (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="TlsCipherSuiteManager (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/crypto/tls/TlsCipherSuite.html" title="class in org.bouncycastle.crypto.tls"><B>PREV CLASS</B></A>
58 <A HREF="../../../../org/bouncycastle/crypto/tls/TlsInputStream.html" title="class in org.bouncycastle.crypto.tls"><B>NEXT CLASS</B></A></FONT></TD>
59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60 <A HREF="../../../../index.html?org/bouncycastle/crypto/tls/TlsCipherSuiteManager.html" target="_top"><B>FRAMES</B></A>
61 <A HREF="TlsCipherSuiteManager.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.crypto.tls</FONT>
91<BR>
92Class TlsCipherSuiteManager</H2>
93<PRE>
94java.lang.Object
95 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.bouncycastle.crypto.tls.TlsCipherSuiteManager</B>
96</PRE>
97<HR>
98<DL>
99<DT><PRE>public class <B>TlsCipherSuiteManager</B><DT>extends java.lang.Object</DL>
100</PRE>
101
102<P>
103A manager for ciphersuite. This class does manage all ciphersuites
104 which are used by MicroTLS.
105<P>
106
107<P>
108<HR>
109
110<P>
111
112<!-- ======== CONSTRUCTOR SUMMARY ======== -->
113
114<A NAME="constructor_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>Constructor Summary</B></FONT></TH>
119</TR>
120<TR BGCOLOR="white" CLASS="TableRowColor">
121<TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/tls/TlsCipherSuiteManager.html#TlsCipherSuiteManager()">TlsCipherSuiteManager</A></B>()</CODE>
122
123<BR>
124 </TD>
125</TR>
126</TABLE>
127
128<!-- ========== METHOD SUMMARY =========== -->
129
130<A NAME="method_summary"><!-- --></A>
131<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
132<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
133<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
134<B>Method Summary</B></FONT></TH>
135</TR>
136<TR BGCOLOR="white" CLASS="TableRowColor">
137<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
138<CODE>protected static <A HREF="../../../../org/bouncycastle/crypto/tls/TlsCipherSuite.html" title="class in org.bouncycastle.crypto.tls">TlsCipherSuite</A></CODE></FONT></TD>
139<TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/tls/TlsCipherSuiteManager.html#getCipherSuite(int, org.bouncycastle.crypto.tls.TlsProtocolHandler)">getCipherSuite</A></B>(int number,
140 <A HREF="../../../../org/bouncycastle/crypto/tls/TlsProtocolHandler.html" title="class in org.bouncycastle.crypto.tls">TlsProtocolHandler</A> handler)</CODE>
141
142<BR>
143 </TD>
144</TR>
145<TR BGCOLOR="white" CLASS="TableRowColor">
146<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
147<CODE>protected static void</CODE></FONT></TD>
148<TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/tls/TlsCipherSuiteManager.html#writeCipherSuites(java.io.OutputStream)">writeCipherSuites</A></B>(java.io.OutputStream os)</CODE>
149
150<BR>
151 </TD>
152</TR>
153</TABLE>
154 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
155<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
156<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
157<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
158</TR>
159<TR BGCOLOR="white" CLASS="TableRowColor">
160<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
161</TR>
162</TABLE>
163
164<P>
165
166<!-- ========= CONSTRUCTOR DETAIL ======== -->
167
168<A NAME="constructor_detail"><!-- --></A>
169<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
170<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
171<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
172<B>Constructor Detail</B></FONT></TH>
173</TR>
174</TABLE>
175
176<A NAME="TlsCipherSuiteManager()"><!-- --></A><H3>
177TlsCipherSuiteManager</H3>
178<PRE>
179public <B>TlsCipherSuiteManager</B>()</PRE>
180<DL>
181</DL>
182
183<!-- ============ METHOD DETAIL ========== -->
184
185<A NAME="method_detail"><!-- --></A>
186<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
187<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
188<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
189<B>Method Detail</B></FONT></TH>
190</TR>
191</TABLE>
192
193<A NAME="writeCipherSuites(java.io.OutputStream)"><!-- --></A><H3>
194writeCipherSuites</H3>
195<PRE>
196protected static void <B>writeCipherSuites</B>(java.io.OutputStream os)
197 throws java.io.IOException</PRE>
198<DL>
199<DD><DL>
200
201<DT><B>Throws:</B>
202<DD><CODE>java.io.IOException</CODE></DL>
203</DD>
204</DL>
205<HR>
206
207<A NAME="getCipherSuite(int, org.bouncycastle.crypto.tls.TlsProtocolHandler)"><!-- --></A><H3>
208getCipherSuite</H3>
209<PRE>
210protected static <A HREF="../../../../org/bouncycastle/crypto/tls/TlsCipherSuite.html" title="class in org.bouncycastle.crypto.tls">TlsCipherSuite</A> <B>getCipherSuite</B>(int number,
211 <A HREF="../../../../org/bouncycastle/crypto/tls/TlsProtocolHandler.html" title="class in org.bouncycastle.crypto.tls">TlsProtocolHandler</A> handler)
212 throws java.io.IOException</PRE>
213<DL>
214<DD><DL>
215
216<DT><B>Throws:</B>
217<DD><CODE>java.io.IOException</CODE></DL>
218</DD>
219</DL>
220<!-- ========= END OF CLASS DATA ========= -->
221<HR>
222
223
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> </TD>
234 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
235 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
236 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
237 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
238 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
239 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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
248<TR>
249<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
250 <A HREF="../../../../org/bouncycastle/crypto/tls/TlsCipherSuite.html" title="class in org.bouncycastle.crypto.tls"><B>PREV CLASS</B></A>
251 <A HREF="../../../../org/bouncycastle/crypto/tls/TlsInputStream.html" title="class in org.bouncycastle.crypto.tls"><B>NEXT CLASS</B></A></FONT></TD>
252<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
253 <A HREF="../../../../index.html?org/bouncycastle/crypto/tls/TlsCipherSuiteManager.html" target="_top"><B>FRAMES</B></A>
254 <A HREF="TlsCipherSuiteManager.html" target="_top"><B>NO FRAMES</B></A>
255 <SCRIPT type="text/javascript">
256 <!--
257 if(window==top) {
258 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
259 }
260 //-->
261</SCRIPT>
262<NOSCRIPT>
263 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
264</NOSCRIPT>
265
266
267</FONT></TD>
268</TR>
269<TR>
270<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
271 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
272<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
273DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
274</TR>
275</TABLE>
276<A NAME="skip-navbar_bottom"></A>
277<!-- ======== END OF BOTTOM NAVBAR ======= -->
278
279<HR>
280
281</BODY>
282</HTML>