1 2009-10-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
4 * SslServerStream.cs: add new parameter that forces sending the
5 CertificateRequest record. Make sure we raise the client certificate
6 validation event when it is requested or required.
8 2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
10 * HttpsClientStream.cs: if there's only an ICertificatePolicy and no
11 ServerCertificateValicationCallback, don't fail.
13 2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
15 * HttpsClientStream.cs: invoke the ServerCertificateValidationCallback
16 in the 2.0 profile. If there's a CertificatePolicy, it is run before
19 2007-09-12 Sebastien Pouliot <sebastien@ximian.com>
21 * Context.cs: Clear key info memory (not just nullify). Fix bug #82819
23 2007-08-16 Sebastien Pouliot <sebastien@ximian.com>
25 * RecordProtocol.cs, SslStreamBase.cs: Ensure nothing (even the same
26 thread) can confuse the record decoding code. Fix bug #82145 (LDAP)
27 which uses several thread over a single SslClientStream instance.
29 2007-05-23 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
31 * Context.cs: fix the calculation of the unix time.
33 2007-05-09 Sebastien Pouliot <sebastien@ximian.com>
35 * HttpsClientStream.cs: Add support for client certificates from
36 HttpWebRequest if it uses X509Certificate2 instance (which requires
37 using 2.0 profile) and if the private key is available.
38 * SslStreamBase.cs: Fix warning in 2.0 because Stream now implements
39 Dispose. Rework Close (in 2.0) to avoid infinite recursion.
41 2006-12-08 Sebastien Pouliot <sebastien@ximian.com>
43 * ClientSessionCache.cs: Fix cache to be really used. Original patch
44 by Roy Versteeg. Fix bug #80175.
46 2006-12-08 Sebastien Pouliot <sebastien@ximian.com>
48 * ClientSessionCache.cs: Check for a new environment variable to
49 control the cache validity period (MONO_TLS_SESSION_CACHE_TIMEOUT).
52 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
54 * CipherSuite.cs: Avoid creating a CryptoStream and a MemoryStream in
55 EncryptRecord (removing the need to do a keysetup each time). Add
56 helper methods to write inside byte buffers. Decrypt the data in
57 place (without allocating new memory) as the result will always be
58 smaller than the original. Avoid TlsStream in CreatePremasterSecret
59 method. All HMAC access are done with the Negotiating parameters.
60 * ClientRecordProtocol.cs: Set HandshakeState to None if we receive
61 a HelloRequest during an existing session. Remove overidden method
62 ProcessChangeCipherSpec. Skip memory allocation if possible.
63 * Context.cs: Add new SecurityParameters for current, negotiating,
64 read and write (actually only two different instance exists). Change
65 readSequenceNumber and writeSequenceNumber to ulong to match specs.
66 Remove all properties that are moved/replaced with SecurityParameters.
67 Added methods to Start and End a switch of the security parameters.
68 * RecordProtocol.cs: Add code to ProcessChangeCipherSpec (not abstract
69 anymore). Remove ReadShort and it's use. Deal with null alerts in
70 SendAlert method (internal error). Change code to deal with
71 SendChangeCipherSpec inside an existing (encrypted) session. Update
72 Cipher to use the correct one (mostly Read.Cipher or Negotiating.Cipher
73 for ProcessCipherSpecV2Buffer method).
74 * SecurityParameters.cs: New. Deal with all parameters that changes
76 * ServerRecordProtocol.cs: Remove method ProcessChangeCipherSpec.
77 * SslCipherSuite.cs: Don't use TlsStream when computing MAC. Set the
78 MAC keys to the Negotiating security parameters.
79 * SslClientStream.cs: Change calls from Cipher to Negotiating.Cipher.
80 * SslServerStream.cs: Change calls from Cipher to Negotiating.Cipher.
81 Remove debugging dead code (DateTime).
82 * SslStreamBase.cs: Change calls from Cipher to Current.Cipher. Reuse
83 existing memory buffer.
84 * TlsCipherSuite.cs: Don't use TlsStream when computing MAC. Set the
85 MAC keys to the Negotiating security parameters.
86 * TlsClientSettings.cs: Comment code cause compiler warnings.
87 * TlsStream.cs: Avoid/reduce memory allocations when reading or
88 writing small integer values to the stream.
90 2006-09-07 Sebastien Pouliot <sebastien@ximian.com>
92 * HttpsClientStream.cs: Honor ServicePointManager.SecurityProtocol to
93 select between SSL3, TLS1 or, by default, auto. Great for testing :)
95 2006-06-08 Sebastien Pouliot <sebastien@ximian.com>
97 * ClientRecordProtocol.cs: Avoid a NRE when the server request a
98 re-negotiation of the security parameters. Possible fix for #78597.
100 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
102 * SslCipherSuite.cs: Enable abbreviated handshakes for SSL3 too.
104 2006-04-12 Sebastien Pouliot <sebastien@ximian.com>
106 * ClientSessionCache.cs: Deal with empty (null) master secret, that
107 can find their ways into the cache, and treat them as invalid. Fix
110 2006-04-10 Sebastien Pouliot <sebastien@ximian.com>
112 * ClientSessionCache.cs: The session id can be zero-length (like our
114 * SslServerStream.cs: Adapt code to fixes made in cipher suite and
115 message processing changes in client code.
117 2006-03-16 Sebastien Pouliot <sebastien@ximian.com>
119 * CipherSuiteFactory.cs: Fix bad key exchange values for non-export
120 cihpers. Most certificates have "too much" usages by default so this
121 was hidden from view.
122 * SslStreamBase.cs: Safety net. Throw an exception if we're waiting
123 for more than five (5) minutes for an async read or write to complete.
125 2006-03-16 Sebastien Pouliot <sebastien@ximian.com>
127 * ClientSessionCache.cs: New. Handle a client-side session cache to
128 enable the use of abbreviated handshake whenever possible. This will
129 reduce the number of negotiation (a very CPU intensive process) done
131 * Context.cs: Add a property for AbbreviatedHandshake.
132 * RecordProtocol.cs: Don't send Finished record from ChangeCipherSpec
133 as this won't work if the message flow change.
134 * SslClientStream.cs: Line endings.
135 * SslServerStream.cs: Throw an exception if ReceiveRecord return null
136 or an empty buffer (i.e. communication ended with client). Fix #76254.
137 * SslStreamBase.cs: Re-add synchronous implementations for Read and
139 * TlsCipherSuite.cs: Update the client-side session cache with the
141 * TlsStream.cs: Avoid possible buffer underun reading bytes (found by
144 2006-03-08 Sebastien Pouliot <sebastien@ximian.com>
146 * SslStreamBase.cs: Re-implemented the synchronous versions of Read
147 and Write methods so they don't use the async code.
149 2006-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
151 * SslStreamBase.cs: avoid creating the ManualResetEvent whenever
152 possible. Don't lock on an instance of an object that the user can get.
154 2006-03-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
156 * RecordProtocol.cs: avoid creating the ManualResetEvent whenever
157 possible. Don't lock on an instance of an object that the user can get.
159 2006-03-02 Sebastien Pouliot <sebastien@ximian.com>
161 * RecordProtocol.cs: Fix possible endless loop (#77663). Remove hack
162 for an old, fixed, MCS bug (#67711).
164 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
166 * ClientRecordProtocol.cs: Update HandshakeMessages after each
167 message. Fix bug #76258.
168 * RecordProtocol.cs: Remove writing into the HandshakeMessages stream
169 at this stage. We may need the data before that. Fix bug #76258.
170 * ServerRecordProtocol.cs: Update HandshakeMessages after each
171 message. Fix bug #76258.
172 * SslServerStream.cs: Changed check for the presence of client
173 certificates during handshake.
175 2005-09-02 Sebastien Pouliot <sebastien@ximian.com>
177 * SslStreamBase.cs, ServerRecordProtocol.cs, SslClientStream.cs,
178 ClientRecordProtocol.cs, RecordProtocol.cs, SslServerStream.cs:
179 Re-written async support for Ssl[Client|Server]Stream from JD Conley
180 <jd.conley@coversant.net> with minor changes. Fix bug #75687 (and a
181 lot of other known problems).
183 2005-07-01 Sebastien Pouliot <sebastien@ximian.com>
185 * ServerContext.cs: Build the list of trusted certificates from all
186 the trusted root for the current user and the local machine.
187 * SslServerStream.cs: Add support for client certificate (and the
188 callback for optional mutual authentication with SSL3).
190 2005-06-22 Sebastien Pouliot <sebastien@ximian.com>
192 * SslClientStream.cs: Removed failsafe timeout of 5 minutes as some
193 protocols can go idle for longer than this.
195 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
197 * SslClientStream.cs: Add support for _optional_ mutual authentication.
198 SSL3 and TLS1 deals differently with this. SSL3 tested with OpenSSL,
199 TSL1 tested with OpenSSL and LDAPS/AD.
201 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
203 * Alert.cs: Add NoCertificate (41) which _should_ be used in SSL3
204 if we don't want to send a certificate when requested by a server
205 (e.g. in the case the mutual authentication is optional).
206 * CipherSuite.cs: Fixed recursive property. Changed type to short so
207 it can hold 256 bits (valid value). Fixed ctor so it doesn't assign
210 2005-05-13 Sebastien Pouliot <sebastien@ximian.com>
212 * SslClientStream.cs: Forgot to set the event in the previous fix.
214 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
216 * SslClientStream.cs: check for the dispose in NetworkReadCallback.
217 Patch by Sebastien "Cryptoman" Pouliot.
219 2005-04-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
221 * SslClientStream.cs: gotta call EndInvoke, not EndRead.
223 2005-04-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
225 * SslClientStream.cs: MemoryStream does not implement proper Begin*
226 methods, so we need this to prevent infinite recursion if we have a
227 callback that calls BeginRead.
229 2005-04-13 Sebastien Pouliot <sebastien@ximian.com>
231 * RecordProtocol.cs: Some API changes so a record can be decoded from
232 any supplied stream (not just the inner network stream).
233 * SslClientStream.cs: BeginRead is now truly async if the Negotiate is
234 called from BeginWrite (where it should be in most case).
235 * SslServerStream.cs: Adapted to API changes in RecordProtocol.cs.
237 2005-04-12 Sebastien Pouliot <sebastien@ximian.com>
239 * SslHandshakeHash.cs: Changed "SslHash" to "MD5SHA1". Fix #71696.
241 2005-04-10 Sebastien Pouliot <sebastien@ximian.com>
243 * HttpsClientStream.cs: Added a TrustFailure property so a
244 WebException can now report TrustFailure correctly. Fix bug 74286.
246 2005-04-07 Sebastien Pouliot <sebastien@ximian.com>
248 * SslCipherSuite.cs: Fix calculation (sequence number) for the server
249 side stream. Patch by Brian Ritchie.
251 2005-02-04 Sebastien Pouliot <sebastien@ximian.com>
253 * Reverting last changes in SslClientStream and RecordProtocol. This
254 break when sending large files back and forth (echo test).
256 2005-02-02 Sebastien Pouliot <sebastien@ximian.com>
258 * SslClientStream.cs: Throw exception when we receive a null record.
259 * RecordProtocol.cs: Added code to avoid blocking and endless loops
260 if the data is incomplete or missing - even in the case the server
261 side doesn't close the connection (see new cutcli tool).
263 2004-12-15 Sebastien Pouliot <sebastien@ximian.com>
265 * CipherSuite.cs: Removed unused MD5 and SHA1 instances created in
266 PRF method (fix compilation warnings).
268 2004-12-13 Sebastien Pouliot <sebastien@ximian.com>
270 * SslClientStream.cs: New internal property, ServerCertificates, to
271 "easily" retreive the server's certificate chain using reflection.
273 2004-11-23 Sebastien Pouliot <sebastien@ximian.com>
275 * RecordProtocol.cs: Fixed ClientHelloV2 support.
277 2004-11-10 Sebastien Pouliot <sebastien@ximian.com>
279 * CipherSuiteFactory.cs: Activated RSA_WITH_AES_256_CBC_SHA as it is
280 supported by some browsers.
281 * ContentType.cs: Removed ClientHelloV2 from the enum as it is not a
282 "true" content type (it just looks so where we're processing it).
283 * Context.cs: Added support to switch protocol (e.g. SSL2->SSL3 or
284 SSL2->TLS1). Contributed by Carlos Guzman Alvarez.
285 * RecordProtocol.cs: Added support for ClientHelloV2 message
286 (contributed by Carlos Guzman Alvarez). This is a Handshake message
287 so it must be MACed. Also fixed the challenge length because some
288 browsers implementation don't interpret "This value must be 32." as
291 2004-10-05 Sebastien Pouliot <sebastien@ximian.com>
293 * SslClientStream.cs: Changed InputBuffer to internal (was protected).
295 2004-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
297 * HttpsClientStream.cs: the .ctor receives a pre-read buffer now.
298 * SslClientStream.cs: added InputBuffer property.
300 2004-09-23 Sebastien Pouliot <sebastien@ximian.com>
302 * RecordProtocol.cs: Fix alert data that could leak into appplication
303 data (e.g. when closing the SSL session).
305 2004-07-14 Carlos Guzman Alvarez <carlosga@telefonica.net>
307 * Removed duplicate license header file from
310 2004-07-14 Sebastien Pouliot <sebastien@ximian.com>
312 * SslClientStream.cs: Changed lock to "new object()" and not
313 String.Empty (as the read/write locks points becomes the same).
314 * SslServerStream.cs: Changed lock to "new object()" and not
315 String.Empty (as the read/write locks points becomes the same).
317 2004-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
319 * HttpsClientStream.cs: get an HttpWebRequest so that we can use the
320 ServicePoint it has. No need to get the host now.
322 2004-05-09 Carlos Guzman Alvarez <carlosga@telefonica.net>
324 * Mono.Security.Protocol.Tls/Alert.cs:
325 * Mono.Security.Protocol.Tls/CipherSuite.cs:
326 * Mono.Security.Protocol.Tls/CipherSuiteCollection.cs:
327 * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
328 * Mono.Security.Protocol.Tls/Context.cs:
329 * Mono.Security.Protocol.Tls/RecordProtocol.cs:
330 * Mono.Security.Protocol.Tls/SecurityCompressionType.cs:
331 * Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
332 * Mono.Security.Protocol.Tls/SslServerStream.cs:
333 * Mono.Security.Protocol.Tls/TlsClientSettings.cs:
335 - Changes for fix FxCop Rules.
337 - Reworked CipherSuiteCollection class.
340 2004-04-21 Carlos Guzman Alvarez <carlosga@telefonica.net>
342 * Mono.Security.Protocol.Tls/DebugHelper.cs:
346 * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
347 * Mono.Security.Protocol.Tls/RecordProtocol.cs:
348 * Mono.Security.Protocol.Tls/Context.cs:
349 * Mono.Security.Protocol.Tls/Context.cs:
350 * Mono.Security.Protocol.Tls/SslCipherSuite.cs:
351 * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
352 * Mono.Security.Protocol.Tls/SslClientStream.cs:
354 - Added debug capabilities.
356 * Mono.Security.Protocol.Tls/ServerContext.cs:
358 - Added initialization of requested CertificateTypes and CA's
360 2004-04-16 Carlos Guzman Alvarez <carlosga@telefonica.net>
362 * Mono.Security.Protocol.Tls/TlsException.cs:
364 - Make it public until npgsql people can fix their sources.
366 2004-03-19 Carlos Guzman Alvarez <carlosga@telefonica.net>
368 * Mono.Security.Protocol.Tls/TlsServerSettings.cs:
370 - Added new CertificateRSA property.
372 - Added new UpdateCertfificateRSA method.
374 * Mono.Security.Protocol.Tls/CipherSuite.cs:
376 - Removed CertificateRSA() method.
378 2004-03-19 Sebastien Pouliot <sebastien@ximian.com>
380 * CipherSuite.cs: Fixed PRF generation when secret is an odd number of
381 bytes (section 5 in RFC2246).
382 * CipherSuiteFactory.cs: Added algorithms RSA_EXPORT_WITH_RC4_40_MD5,
383 RSA_EXPORT_WITH_RC2_CBC_40_MD5, RSA_EXPORT_WITH_DES40_CBC_SHA,
384 RSA_EXPORT_WITH_RC4_56_MD5, RSA_EXPORT_WITH_RC2_CBC_56_MD5,
385 RSA_EXPORT_WITH_DES_CBC_56_SHA and RSA_EXPORT_WITH_RC4_56_SHA to both
386 SSL3 and TLS1 protocols.
387 * SslCipherSuite.cs: Fixed key generation for exportable ciphers.
388 * TlsCipherSuite.cs: Fixed key generation for exportable ciphers.
390 2004-03-16 Carlos Guzman Alvarez <carlosga@telefonica.net>
392 * Mono.Security.Protocol.Tls/SslCipherSuite.cs:
394 - Added changes for allow it to work as server or client.
396 2004-03-15 Carlos Guzman Alvarez <carlosga@telefonica.net>
398 * Mono.Security.Protocol.Tls/TlsStream.cs:
399 * Mono.Security.Protocol.Tls/CipherSuite.cs:
400 * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
401 * Mono.Security.Protocol.Tls/SslHandshakeHash.cs:
402 * Mono.Security.Protocol.Tls/RecordProtocol.cs:
404 - Use Buffer.BlockCopy instead of System.Array.Copy
406 2004-03-10 Carlos Guzman Alvarez <carlosga@telefonica.net>
408 * Mono.Security.Protocol.Tls/Ciphersuite.cs:
410 - Added generation of the Server encryption algorithms.
412 - Modified encryption/decription methods for work
413 as client or server as needed.
415 * Mono.Security.Protocol.Tls/RecordProtocol.cs:
416 * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
417 * Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
419 - Added new ProcessChangeCipherSpec method.
421 * Mono.Security.Protocol.Tls/Context.cs:
423 - Added new PrintBuffer method ( for debug ).
425 * Mono.Security.Protocol.Tls/SslClientStream.cs:
426 * Mono.Security.Protocol.Tls/SslServerStream.cs:
430 2004-03-06 Carlos Guzman Alvarez <carlosga@telefonica.net>
432 * Mono.Security.Protocol.Tls/SslServerStream.cs:
434 - Initial implementation of the doHandshake method.
436 - Added initial events implementation.
438 * Mono.Security.Protocol.Tls/Ciphersuite.cs:
439 * Mono.Security.Protocol.Tls/TlsCiphersuite.cs:
440 * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
441 * Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
442 * Mono.Security.Protocol.Tls/SslClientStream.cs:
443 * Mono.Security.Protocol.Tls/TlsServerSettings.cs:
444 * Mono.Security.Protocol.Tls/TlsClientSettings.cs:
445 * Mono.Security.Protocol.Tls/ClientContext.cs:
447 - Changes for make use of the renamed classes and enums.
449 * Mono.Security.Protocol.Tls/TlsContentType.cs:
451 - Renamed to ContentType.cs ( Enum and file )
453 * Mono.Security.Protocol.Tls/TlsCiphersuiteCollection.cs:
455 - Renamed to CiphersuiteCollection.cs ( Class and file )
457 * Mono.Security.Protocol.Tls/TlsCiphersuiteFactory.cs:
459 - Renamed to CiphersuiteCollection.cs ( Class and file )
461 * Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:
463 - Renamed to SslHandshakeHash.cs ( Class and file )
465 * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
467 - Renamed to SslCipherSuite.cs ( Class and file )
469 2004-02-26 Carlos Guzman Alvarez <carlosga@telefonica.net>
471 * Mono.Security.Protocol.Tls/HandshakeState.cs:
475 * Mono.Security.Protocol.Tls/SslClientStream.cs:
476 * Mono.Security.Protocol.Tls/SslServerStream.cs:
477 * Mono.Security.Protocol.Tls/Context.cs:
478 * Mono.Security.Protocol.Tls/ClientContext.cs:
479 * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
481 - Added changes for better handling of ClientHelloRequest messages.
483 2004-02-25 Sebastien Pouliot <sebastien@ximian.com>
485 * HttpsClientStream.cs: New. Internal glue class between System.dll
486 WebConnection and SslClientStream to reduce reflection.
487 * SslClientStream.cs: RaiseServerCertificateValidation is now virtual
488 to allow HttpsClientStream to override it.
490 2004-02-24 Carlos Guzman Alvarez <carlosga@telefonica.net>
492 * Mono.Security.Protocol.Tls/RecordProtocol.cs:
493 * Mono.Security.Protocol.Tls/SslClientStream.cs:
494 * Mono.Security.Protocol.Tls/SslServerStream.cs:
496 - Reimplementation of TLS/SSL Alert Protocol.
498 2004-02-20 Carlos Guzmán Álvarez <carlosga@telefonica.net>
500 * Mono.Security.Protocol.Tls.Handshake.Client/SslClientCertificate.cs:
502 - Improved exception handling.
504 2004-02-18 Carlos Guzmán Álvarez <carlosga@telefonica.net>
506 * Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
507 * Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
508 * Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:
510 - Added Serializable attribute.
512 * Mono.Security.Protocol.Tls/CipherSuite.cs:
513 * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
514 * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
515 * Mono.Security.Protocol.Tls/TlsContext.cs:
517 - Added some optimizations proposed by Sebastien Pouliot.
519 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
521 - Changes on Common Name detection and certificate error handling ( Thanks to Sebastien Pouliot for his feedback ).
523 2004-02-18 Sebastien Pouliot <sebastien@ximian.com>
525 * SslClientStream.cs: Fixed (inverted) condition for ServerCertificate.
526 * SecurityProtocolType.cs: Added [Serializable] to enum to match MS
529 2004-02-17 Carlos Guzmán Álvarez <carlosga@telefonica.net>
531 * Mono.Security.Protocol.Tls/SslClientStream.cs:
533 - Added changes to security properties for check that the handshake is finished.
535 * Mono.Security.Protocol.Tls/SslClientStream.cs:
537 - Added changes for bring async methods to work ( Thanks to Sebastien Pouliot )
539 - Reworked the record fragmentation.
541 - Fix for send the close notify alert in the Close method
542 only if the Handshake is fully negotiated.
545 2004-02-16 Carlos Guzmán Álvarez <carlosga@telefonica.net>
547 * Mono.Security.Protocol.Tls/TlsCipherSuiteFactory.cs:
549 - Changed ciphersuites order of preference ( Thanks to Sebastien Pouliot for his feedback ).
551 2004-02-15 Carlos Guzmán Álvarez <carlosga@telefonica.net>
553 * Mono.Security.Protocol.Tls/SslClientStream.cs:
555 - Added specific control od available data for Network Streams
556 on Read ( Thanks to Francisco Figueiredo Jr. for his feedback ).
560 2004-02-14 Carlos Guzmán Álvarez <carlosga@telefonica.net>
562 * Mono.Security.Protocol.Tls/SslClientStream.cs:
566 2003-11-17 Carlos Guzmán Álvarez <carlosga@telefonica.net>
568 * Mono.Security.Protocol.Tls/SslClientStream.cs:
570 Removed ReadByte method, use innerStream.ReadByte() method instead.
572 2003-11-13 Carlos Guzmán Álvarez <carlosga@telefonica.net>
574 * Added implementation of an SslClientStream class similar to the MS .NET Framework 1.2 documentation.
576 The next files are no more needed:
580 - TlsNetworkStream.cs
586 The next files are renamed:
588 - TlsSessionSettings.cs -> TlsClientSettings.cs
590 - TlsSessionContext.cs -> TlsContext.cs
592 The next files are new:
594 - SslClientStream.cs ( the name is non definitive yet )
596 The next files where changed to reflect the new canges:
598 - TlsHandshakeMessage.cs
600 - TlsClientCertificate.cs
602 - TlsClientCertificateVerify.cs
604 - TlsClientFinished.cs
608 - TlsClientKeyExchange.cs
610 - TlsServerCertificate.cs
612 - TlsServerCertificateRequest.cs
614 - TlsServerFinished.cs
618 - TlsServerHelloDone.cs
620 - TlsServerKeyExchange.cs
624 - TlsCloseNotifyAlert.cs
627 2003-11-12 Carlos Guzmán Álvarez <carlosga@telefonica.net>
629 * Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
631 - Changes for give full error message only in debug mode ( Thanks to Sebastién Pouliot. )
633 * Mono.Security.Protocol.Tls/TlsProtocol.cs:
635 - Renamed to SecurityProtocolType.cs ( for match .NET 1.2 )
637 * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
639 - Renamed to MD5SHA1.cs ( Thanks to Sebastién Pouliot. )
641 * Mono.Security.Cryptography/TlsCompressionMethod.cs:
643 - Renamed to SecurityCompressionType.
645 * Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
646 * Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
647 * Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:
649 - New enumerations that matches .NET 1.2 definitions with some minor differences.
651 * Mono.Security.Protocol.Tls/CipherSuite.cs:
652 * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
653 * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
654 * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
656 - Added changes for make use of new enumerations.
658 * Mono.Security.Protocol.Tls/TlsClientStream.cs:
660 - Added new informative properties that matches .NET 1.2 SslClientStream
661 ( Not all the properties are implemented yet ).
664 2003-11-10 Carlos Guzmán Álvarez <carlosga@telefonica.net>
666 * Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
668 - Fixed invalid alert message.
670 * Mono.Security.Protocol.Tls/CipherSuite.cs:
671 * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
672 * Mono.Security.Cryptography/HMAC.cs:
673 * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
674 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
676 - Changed ( Thanks to Sebastién Pouliot for his feedback )
678 SHA1CryptoServiceProvider sha = new SHA1CryptoServiceProvider();
679 MD5CryptoServiceProvider sha = new MD5CryptoServiceProvider();
683 HashAlgorithm sha = SHA1.Create();
684 HashAlgorithm md5 = MD5.Create();
686 2003-11-04 Carlos Guzmán Álvarez <carlosga@telefonica.net>
688 * Mono.Security.Protocol.Tls/CipherSuite.cs:
690 - Added custom padding for record encryption.
693 2003-11-03 Carlos Guzmán Álvarez <carlosga@telefonica.net>
695 * Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessages.cs:
699 * Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:
701 - New class for handshake hashes calculation on SSL3 protocol.
703 * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
705 - Fixed mac keys clearing for SSL3 protocol.
707 * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
708 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
710 - Added changes for make use of new TlsSslHandshakeHash class.
712 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
714 - Added initial implementation for SSL3 protocol.
716 * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
718 - New class for md5-sha hash calculation.
720 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
721 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
722 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
723 * Mono.Security.Protocol.Tls.Handshake.Client/TlsHandshakeMessage.cs:
725 - Make use of new MD5SHA1CryptoServiceProvider class.
727 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
729 - Added initial implementation (not finished).
731 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
733 - Minor change to message processing.
735 - Changed verify method name to verifySignature.
737 * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
739 - Changed handshakeHashes member to be an TlsStream.
741 2003-10-28 Carlos Guzmán Álvarez <carlosga@telefonica.net>
743 * Mono.Security.Protocol.Tls/CipherSuite.cs:
744 * Mono.Security.Protocol.Tls/TlsSessionSettings.cs:
745 * Mono.Security.Protocol.Tls/TlsServerSettings.cs:
746 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
747 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
748 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
749 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
751 - Added changes for make use of X509 classes from mono.
753 2003-10-23 Carlos Guzmán Álvarez <carlosga@telefonica.net>
755 * Added partial implementation of SSL3 protocol ( not finished yet ).
757 * TlsAbstractCipherSuite.cs: Renamed to CipherSuite.cs.
759 * Removed AssemblyInfo.cs file.
761 2003-10-21 Carlos Guzmán Álvarez <carlosga@telefonica.net>
763 TlsCipherSuiteFactory.cs: Changed names of private methods.
765 TlsSslCipherSuite.cs: Replaced implementations of key generation methods with a throw new NotSupportedException().
768 2003-10-20 Carlos Guzmán Álvarez <carlosga@telefonica.net>
770 TlsCupherSuite.cs: Fixed padding length calculation on record encryption.
772 TlsSessionContext.cs: Added new CompressionMethod property.
773 Added new MAX_FRAGMENT_SIZE constant.
775 TlsSession.cs: Removed MaxFragmentSize property.
777 TlsSocket.cs: Replaced use of TlsSesison.MaxFragmentSize by TlsSessionContext.MAX_FAGMENT_SIZE
779 TlsSessionSettings.cs: Added new CompressionMethod property.
781 * Abstracted CipherSuite classes for allow work with other protocol versions.
785 TlsAbstractCipherSuite.cs
789 TlsCipherSuiteFactory.cs
791 TlsCompressionMethod.cs
793 * Added new cipher suites definitions based on RFC3268 - (http://www.ietf.org/rfc/rfc3268.txt)
795 * Added two new supported ciphersuites for TLS protocol:
797 TLS_RSA_WITH_AES_256_CBC_SHA
799 TLS_RSA_WITH_AES_128_CBC_SHA
801 * Moved key generation stuff to specific cipher suite classes.
803 2003-10-20 Pedro Martínez Juliá <yoros@wanadoo.es>
805 * AssemblyInfo.cs: commented out KeyFile reference.
807 * TlsSession.cs: changed Math.Pow for System.Math.Pow because of MCS
808 bug with namespace resolving.