2004-02-17 Carlos Guzm��n ��lvarez <carlosga@telefonica.net>
[mono.git] / mcs / class / Mono.Security / Mono.Security.Protocol.Tls / ChangeLog
1 2004-02-17 Carlos Guzmán Álvarez  <carlosga@telefonica.net>
2
3         * Mono.Security.Protocol.Tls/SslClientStream.cs:
4
5         - Fix for send the close notify alert in the Close method
6         only if the Handshake is fully negotiated.
7
8
9 2004-02-16 Carlos Guzmán Álvarez  <carlosga@telefonica.net>
10
11         * Mono.Security.Protocol.Tls/TlsCipherSuiteFactory.cs:
12
13         - Changed ciphersuites order of preference ( Thanks to Sebastien Pouliot for his feedback ).
14
15 2004-02-15 Carlos Guzmán Álvarez  <carlosga@telefonica.net>
16  
17         * Mono.Security.Protocol.Tls/SslClientStream.cs:
18  
19                 - Added specific control od available data for Network Streams
20                 on Read ( Thanks to Francisco Figueiredo Jr. for his feedback ).
21  
22                 - Removed test code.
23
24 2004-02-14 Carlos Guzmán Álvarez  <carlosga@telefonica.net>
25
26     * Mono.Security.Protocol.Tls/SslClientStream.cs:
27
28         - Removed test code.
29
30 2003-11-17 Carlos Guzmán Álvarez  <carlosga@telefonica.net>\r
31 \r
32         * Mono.Security.Protocol.Tls/SslClientStream.cs:\r
33 \r
34                 Removed ReadByte method, use innerStream.ReadByte() method instead.\r
35 \r
36 2003-11-13 Carlos Guzmán Álvarez  <carlosga@telefonica.net>\r
37 \r
38         * Added implementation of an SslClientStream class similar to the MS .NET Framework 1.2 documentation.\r
39 \r
40                 The next files are no more needed:\r
41 \r
42                         - TlsSession.cs\r
43 \r
44                         - TlsNetworkStream.cs\r
45 \r
46                         - TlsSocket.cs\r
47 \r
48                         - TlsSessionState.cs\r
49 \r
50                 The next files are renamed:\r
51 \r
52                         - TlsSessionSettings.cs -> TlsClientSettings.cs\r
53 \r
54                         - TlsSessionContext.cs -> TlsContext.cs\r
55 \r
56                 The next files are new:\r
57 \r
58                         - SslClientStream.cs ( the name is non definitive yet )\r
59 \r
60                 The next files where changed to reflect the new canges:\r
61 \r
62                         - TlsHandshakeMessage.cs\r
63 \r
64                         - TlsClientCertificate.cs\r
65 \r
66                         - TlsClientCertificateVerify.cs\r
67 \r
68                         - TlsClientFinished.cs\r
69 \r
70                         - TlsClientHello.cs\r
71 \r
72                         - TlsClientKeyExchange.cs\r
73 \r
74                         - TlsServerCertificate.cs\r
75 \r
76                         - TlsServerCertificateRequest.cs\r
77 \r
78                         - TlsServerFinished.cs\r
79 \r
80                         - TlsServerHello.cs\r
81 \r
82                         - TlsServerHelloDone.cs\r
83 \r
84                         - TlsServerKeyExchange.cs\r
85 \r
86                         - TlsAlert.cs\r
87 \r
88                         - TlsCloseNotifyAlert.cs\r
89 \r
90                 \r
91 2003-11-12 Carlos Guzmán Álvarez  <carlosga@telefonica.net>\r
92 \r
93         * Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:\r
94         \r
95                 - Changes for give full error message only in debug mode ( Thanks to Sebastién Pouliot. )\r
96                 \r
97         * Mono.Security.Protocol.Tls/TlsProtocol.cs:\r
98         \r
99                 - Renamed to SecurityProtocolType.cs ( for match .NET 1.2 )\r
100         \r
101         * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:\r
102         \r
103                 - Renamed to MD5SHA1.cs ( Thanks to Sebastién Pouliot. )\r
104                 \r
105         * Mono.Security.Cryptography/TlsCompressionMethod.cs:\r
106         \r
107                 - Renamed to SecurityCompressionType.\r
108                 \r
109         * Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:\r
110         * Mono.Security.Protocol.Tls/HashAlgorithmType.cs:\r
111         * Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:\r
112         \r
113                 - New enumerations that matches .NET 1.2 definitions with some minor differences.\r
114         \r
115         * Mono.Security.Protocol.Tls/CipherSuite.cs:\r
116         * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:\r
117         * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:\r
118         * Mono.Security.Protocol.Tls/TlsSessionContext.cs:\r
119         \r
120                 - Added changes for make use of new enumerations.\r
121         \r
122         * Mono.Security.Protocol.Tls/TlsClientStream.cs:\r
123         \r
124                 - Added new informative properties that matches .NET 1.2 SslClientStream\r
125                 ( Not all the properties are implemented yet ).\r
126 \r
127 \r
128 2003-11-10 Carlos Guzmán Álvarez  <carlosga@telefonica.net>\r
129 \r
130         * Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:\r
131 \r
132                 - Fixed invalid alert message.\r
133 \r
134         * Mono.Security.Protocol.Tls/CipherSuite.cs:\r
135         * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:\r
136         * Mono.Security.Cryptography/HMAC.cs:\r
137         * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:\r
138         * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:\r
139 \r
140                 - Changed ( Thanks to Sebastién Pouliot for his feedback )\r
141 \r
142                         SHA1CryptoServiceProvider sha = new SHA1CryptoServiceProvider();\r
143                         MD5CryptoServiceProvider sha = new MD5CryptoServiceProvider();\r
144 \r
145                         to\r
146 \r
147                         HashAlgorithm sha = SHA1.Create();\r
148                         HashAlgorithm md5 = MD5.Create(); \r
149
150 2003-11-04 Carlos Guzmán Álvarez <carlosga@telefonica.net>\r
151 \r
152         * Mono.Security.Protocol.Tls/CipherSuite.cs:\r
153 \r
154                 - Added custom padding for record encryption.\r
155 \r
156 \r
157 2003-11-03 Carlos Guzmán Álvarez <carlosga@telefonica.net>\r
158 \r
159         * Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessages.cs:\r
160         \r
161                 - Removed file.\r
162 \r
163         * Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:\r
164         \r
165                 - New class for handshake hashes calculation on SSL3 protocol.\r
166 \r
167         * Mono.Security.Protocol.Tls/TlsSessionContext.cs:\r
168         \r
169                 - Fixed mac keys clearing for SSL3 protocol.\r
170 \r
171         * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:\r
172         * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:\r
173         \r
174                 - Added changes for make use of new TlsSslHandshakeHash class.\r
175         \r
176         * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:\r
177         \r
178                 - Added initial implementation for SSL3 protocol.\r
179         \r
180         * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:\r
181         \r
182                 - New class for md5-sha hash calculation.\r
183                                                         \r
184         * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:\r
185         * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:\r
186         * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:\r
187         * Mono.Security.Protocol.Tls.Handshake.Client/TlsHandshakeMessage.cs:\r
188         \r
189                 - Make use of new MD5SHA1CryptoServiceProvider class.\r
190                 \r
191         * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:\r
192         \r
193                 - Added initial implementation (not finished).\r
194                         \r
195         * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:\r
196         \r
197                 - Minor change to message processing.\r
198 \r
199                 - Changed verify method name to verifySignature.\r
200                         \r
201         * Mono.Security.Protocol.Tls/TlsSessionContext.cs:\r
202         \r
203                 - Changed handshakeHashes member to be an TlsStream.\r
204 \r
205 2003-10-28 Carlos Guzmán Álvarez <carlosga@telefonica.net>\r
206 \r
207         * Mono.Security.Protocol.Tls/CipherSuite.cs:\r
208         * Mono.Security.Protocol.Tls/TlsSessionSettings.cs:\r
209         * Mono.Security.Protocol.Tls/TlsServerSettings.cs:\r
210         * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:\r
211         * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:\r
212         * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:\r
213         * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:\r
214 \r
215                 - Added changes for make use of X509 classes from mono.\r
216 \r
217 2003-10-23 Carlos Guzmán Álvarez <carlosga@telefonica.net>\r
218 \r
219         * Added partial implementation of SSL3 protocol ( not finished yet ).\r
220 \r
221         * TlsAbstractCipherSuite.cs: Renamed to CipherSuite.cs.\r
222 \r
223         * Removed AssemblyInfo.cs file.\r
224 \r
225 2003-10-21 Carlos Guzmán Álvarez <carlosga@telefonica.net>\r
226 \r
227         TlsCipherSuiteFactory.cs: Changed names of private methods.\r
228 \r
229         TlsSslCipherSuite.cs: Replaced implementations of key generation methods with a throw new NotSupportedException().\r
230 \r
231 \r
232 2003-10-20  Carlos Guzmán Álvarez  <carlosga@telefonica.net>\r
233 \r
234         TlsCupherSuite.cs: Fixed padding length calculation on record encryption.\r
235         \r
236         TlsSessionContext.cs:   Added new CompressionMethod property.\r
237                                         Added new MAX_FRAGMENT_SIZE constant.\r
238 \r
239         TlsSession.cs: Removed MaxFragmentSize property.\r
240 \r
241         TlsSocket.cs: Replaced use of TlsSesison.MaxFragmentSize by TlsSessionContext.MAX_FAGMENT_SIZE\r
242         \r
243         TlsSessionSettings.cs: Added new CompressionMethod property.\r
244 \r
245         * Abstracted CipherSuite classes for allow work with other protocol versions.\r
246 \r
247         * Added new files :\r
248 \r
249                 TlsAbstractCipherSuite.cs \r
250                         \r
251                 TlsSslCipherSuite.cs\r
252 \r
253                 TlsCipherSuiteFactory.cs\r
254 \r
255                 TlsCompressionMethod.cs\r
256 \r
257         * Added new cipher suites definitions based on RFC3268 - (http://www.ietf.org/rfc/rfc3268.txt)\r
258 \r
259         * Added two new supported ciphersuites for TLS protocol:\r
260 \r
261                 TLS_RSA_WITH_AES_256_CBC_SHA\r
262 \r
263                 TLS_RSA_WITH_AES_128_CBC_SHA\r
264 \r
265         * Moved key generation stuff to specific cipher suite classes.\r
266 \r
267 2003-10-20  Pedro Martínez Juliá  <yoros@wanadoo.es>\r
268 \r
269         * AssemblyInfo.cs: commented out KeyFile reference.\r
270 \r
271         * TlsSession.cs: changed Math.Pow for System.Math.Pow because of MCS\r
272         bug with namespace resolving.\r
273 \r