1 2010-03-01 Gonzalo Paniagua Javier <gonzalo@novell.com>
3 * HttpsClientStream.cs: use Address instead
4 of RequestUri to get the right host name when the request is
10 added a new callback for certificate validation that gets all the
11 certificates received from the server/client. The callee should
12 build the chain and validate it.
14 2009-10-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
17 * SslServerStream.cs: add new parameter that forces sending the
18 CertificateRequest record. Make sure we raise the client certificate
19 validation event when it is requested or required.
21 2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
23 * HttpsClientStream.cs: if there's only an ICertificatePolicy and no
24 ServerCertificateValicationCallback, don't fail.
26 2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
28 * HttpsClientStream.cs: invoke the ServerCertificateValidationCallback
29 in the 2.0 profile. If there's a CertificatePolicy, it is run before
32 2007-09-12 Sebastien Pouliot <sebastien@ximian.com>
34 * Context.cs: Clear key info memory (not just nullify). Fix bug #82819
36 2007-08-16 Sebastien Pouliot <sebastien@ximian.com>
38 * RecordProtocol.cs, SslStreamBase.cs: Ensure nothing (even the same
39 thread) can confuse the record decoding code. Fix bug #82145 (LDAP)
40 which uses several thread over a single SslClientStream instance.
42 2007-05-23 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
44 * Context.cs: fix the calculation of the unix time.
46 2007-05-09 Sebastien Pouliot <sebastien@ximian.com>
48 * HttpsClientStream.cs: Add support for client certificates from
49 HttpWebRequest if it uses X509Certificate2 instance (which requires
50 using 2.0 profile) and if the private key is available.
51 * SslStreamBase.cs: Fix warning in 2.0 because Stream now implements
52 Dispose. Rework Close (in 2.0) to avoid infinite recursion.
54 2006-12-08 Sebastien Pouliot <sebastien@ximian.com>
56 * ClientSessionCache.cs: Fix cache to be really used. Original patch
57 by Roy Versteeg. Fix bug #80175.
59 2006-12-08 Sebastien Pouliot <sebastien@ximian.com>
61 * ClientSessionCache.cs: Check for a new environment variable to
62 control the cache validity period (MONO_TLS_SESSION_CACHE_TIMEOUT).
65 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
67 * CipherSuite.cs: Avoid creating a CryptoStream and a MemoryStream in
68 EncryptRecord (removing the need to do a keysetup each time). Add
69 helper methods to write inside byte buffers. Decrypt the data in
70 place (without allocating new memory) as the result will always be
71 smaller than the original. Avoid TlsStream in CreatePremasterSecret
72 method. All HMAC access are done with the Negotiating parameters.
73 * ClientRecordProtocol.cs: Set HandshakeState to None if we receive
74 a HelloRequest during an existing session. Remove overidden method
75 ProcessChangeCipherSpec. Skip memory allocation if possible.
76 * Context.cs: Add new SecurityParameters for current, negotiating,
77 read and write (actually only two different instance exists). Change
78 readSequenceNumber and writeSequenceNumber to ulong to match specs.
79 Remove all properties that are moved/replaced with SecurityParameters.
80 Added methods to Start and End a switch of the security parameters.
81 * RecordProtocol.cs: Add code to ProcessChangeCipherSpec (not abstract
82 anymore). Remove ReadShort and it's use. Deal with null alerts in
83 SendAlert method (internal error). Change code to deal with
84 SendChangeCipherSpec inside an existing (encrypted) session. Update
85 Cipher to use the correct one (mostly Read.Cipher or Negotiating.Cipher
86 for ProcessCipherSpecV2Buffer method).
87 * SecurityParameters.cs: New. Deal with all parameters that changes
89 * ServerRecordProtocol.cs: Remove method ProcessChangeCipherSpec.
90 * SslCipherSuite.cs: Don't use TlsStream when computing MAC. Set the
91 MAC keys to the Negotiating security parameters.
92 * SslClientStream.cs: Change calls from Cipher to Negotiating.Cipher.
93 * SslServerStream.cs: Change calls from Cipher to Negotiating.Cipher.
94 Remove debugging dead code (DateTime).
95 * SslStreamBase.cs: Change calls from Cipher to Current.Cipher. Reuse
96 existing memory buffer.
97 * TlsCipherSuite.cs: Don't use TlsStream when computing MAC. Set the
98 MAC keys to the Negotiating security parameters.
99 * TlsClientSettings.cs: Comment code cause compiler warnings.
100 * TlsStream.cs: Avoid/reduce memory allocations when reading or
101 writing small integer values to the stream.
103 2006-09-07 Sebastien Pouliot <sebastien@ximian.com>
105 * HttpsClientStream.cs: Honor ServicePointManager.SecurityProtocol to
106 select between SSL3, TLS1 or, by default, auto. Great for testing :)
108 2006-06-08 Sebastien Pouliot <sebastien@ximian.com>
110 * ClientRecordProtocol.cs: Avoid a NRE when the server request a
111 re-negotiation of the security parameters. Possible fix for #78597.
113 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
115 * SslCipherSuite.cs: Enable abbreviated handshakes for SSL3 too.
117 2006-04-12 Sebastien Pouliot <sebastien@ximian.com>
119 * ClientSessionCache.cs: Deal with empty (null) master secret, that
120 can find their ways into the cache, and treat them as invalid. Fix
123 2006-04-10 Sebastien Pouliot <sebastien@ximian.com>
125 * ClientSessionCache.cs: The session id can be zero-length (like our
127 * SslServerStream.cs: Adapt code to fixes made in cipher suite and
128 message processing changes in client code.
130 2006-03-16 Sebastien Pouliot <sebastien@ximian.com>
132 * CipherSuiteFactory.cs: Fix bad key exchange values for non-export
133 cihpers. Most certificates have "too much" usages by default so this
134 was hidden from view.
135 * SslStreamBase.cs: Safety net. Throw an exception if we're waiting
136 for more than five (5) minutes for an async read or write to complete.
138 2006-03-16 Sebastien Pouliot <sebastien@ximian.com>
140 * ClientSessionCache.cs: New. Handle a client-side session cache to
141 enable the use of abbreviated handshake whenever possible. This will
142 reduce the number of negotiation (a very CPU intensive process) done
144 * Context.cs: Add a property for AbbreviatedHandshake.
145 * RecordProtocol.cs: Don't send Finished record from ChangeCipherSpec
146 as this won't work if the message flow change.
147 * SslClientStream.cs: Line endings.
148 * SslServerStream.cs: Throw an exception if ReceiveRecord return null
149 or an empty buffer (i.e. communication ended with client). Fix #76254.
150 * SslStreamBase.cs: Re-add synchronous implementations for Read and
152 * TlsCipherSuite.cs: Update the client-side session cache with the
154 * TlsStream.cs: Avoid possible buffer underun reading bytes (found by
157 2006-03-08 Sebastien Pouliot <sebastien@ximian.com>
159 * SslStreamBase.cs: Re-implemented the synchronous versions of Read
160 and Write methods so they don't use the async code.
162 2006-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
164 * SslStreamBase.cs: avoid creating the ManualResetEvent whenever
165 possible. Don't lock on an instance of an object that the user can get.
167 2006-03-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
169 * RecordProtocol.cs: avoid creating the ManualResetEvent whenever
170 possible. Don't lock on an instance of an object that the user can get.
172 2006-03-02 Sebastien Pouliot <sebastien@ximian.com>
174 * RecordProtocol.cs: Fix possible endless loop (#77663). Remove hack
175 for an old, fixed, MCS bug (#67711).
177 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
179 * ClientRecordProtocol.cs: Update HandshakeMessages after each
180 message. Fix bug #76258.
181 * RecordProtocol.cs: Remove writing into the HandshakeMessages stream
182 at this stage. We may need the data before that. Fix bug #76258.
183 * ServerRecordProtocol.cs: Update HandshakeMessages after each
184 message. Fix bug #76258.
185 * SslServerStream.cs: Changed check for the presence of client
186 certificates during handshake.
188 2005-09-02 Sebastien Pouliot <sebastien@ximian.com>
190 * SslStreamBase.cs, ServerRecordProtocol.cs, SslClientStream.cs,
191 ClientRecordProtocol.cs, RecordProtocol.cs, SslServerStream.cs:
192 Re-written async support for Ssl[Client|Server]Stream from JD Conley
193 <jd.conley@coversant.net> with minor changes. Fix bug #75687 (and a
194 lot of other known problems).
196 2005-07-01 Sebastien Pouliot <sebastien@ximian.com>
198 * ServerContext.cs: Build the list of trusted certificates from all
199 the trusted root for the current user and the local machine.
200 * SslServerStream.cs: Add support for client certificate (and the
201 callback for optional mutual authentication with SSL3).
203 2005-06-22 Sebastien Pouliot <sebastien@ximian.com>
205 * SslClientStream.cs: Removed failsafe timeout of 5 minutes as some
206 protocols can go idle for longer than this.
208 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
210 * SslClientStream.cs: Add support for _optional_ mutual authentication.
211 SSL3 and TLS1 deals differently with this. SSL3 tested with OpenSSL,
212 TSL1 tested with OpenSSL and LDAPS/AD.
214 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
216 * Alert.cs: Add NoCertificate (41) which _should_ be used in SSL3
217 if we don't want to send a certificate when requested by a server
218 (e.g. in the case the mutual authentication is optional).
219 * CipherSuite.cs: Fixed recursive property. Changed type to short so
220 it can hold 256 bits (valid value). Fixed ctor so it doesn't assign
223 2005-05-13 Sebastien Pouliot <sebastien@ximian.com>
225 * SslClientStream.cs: Forgot to set the event in the previous fix.
227 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
229 * SslClientStream.cs: check for the dispose in NetworkReadCallback.
230 Patch by Sebastien "Cryptoman" Pouliot.
232 2005-04-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
234 * SslClientStream.cs: gotta call EndInvoke, not EndRead.
236 2005-04-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
238 * SslClientStream.cs: MemoryStream does not implement proper Begin*
239 methods, so we need this to prevent infinite recursion if we have a
240 callback that calls BeginRead.
242 2005-04-13 Sebastien Pouliot <sebastien@ximian.com>
244 * RecordProtocol.cs: Some API changes so a record can be decoded from
245 any supplied stream (not just the inner network stream).
246 * SslClientStream.cs: BeginRead is now truly async if the Negotiate is
247 called from BeginWrite (where it should be in most case).
248 * SslServerStream.cs: Adapted to API changes in RecordProtocol.cs.
250 2005-04-12 Sebastien Pouliot <sebastien@ximian.com>
252 * SslHandshakeHash.cs: Changed "SslHash" to "MD5SHA1". Fix #71696.
254 2005-04-10 Sebastien Pouliot <sebastien@ximian.com>
256 * HttpsClientStream.cs: Added a TrustFailure property so a
257 WebException can now report TrustFailure correctly. Fix bug 74286.
259 2005-04-07 Sebastien Pouliot <sebastien@ximian.com>
261 * SslCipherSuite.cs: Fix calculation (sequence number) for the server
262 side stream. Patch by Brian Ritchie.
264 2005-02-04 Sebastien Pouliot <sebastien@ximian.com>
266 * Reverting last changes in SslClientStream and RecordProtocol. This
267 break when sending large files back and forth (echo test).
269 2005-02-02 Sebastien Pouliot <sebastien@ximian.com>
271 * SslClientStream.cs: Throw exception when we receive a null record.
272 * RecordProtocol.cs: Added code to avoid blocking and endless loops
273 if the data is incomplete or missing - even in the case the server
274 side doesn't close the connection (see new cutcli tool).
276 2004-12-15 Sebastien Pouliot <sebastien@ximian.com>
278 * CipherSuite.cs: Removed unused MD5 and SHA1 instances created in
279 PRF method (fix compilation warnings).
281 2004-12-13 Sebastien Pouliot <sebastien@ximian.com>
283 * SslClientStream.cs: New internal property, ServerCertificates, to
284 "easily" retreive the server's certificate chain using reflection.
286 2004-11-23 Sebastien Pouliot <sebastien@ximian.com>
288 * RecordProtocol.cs: Fixed ClientHelloV2 support.
290 2004-11-10 Sebastien Pouliot <sebastien@ximian.com>
292 * CipherSuiteFactory.cs: Activated RSA_WITH_AES_256_CBC_SHA as it is
293 supported by some browsers.
294 * ContentType.cs: Removed ClientHelloV2 from the enum as it is not a
295 "true" content type (it just looks so where we're processing it).
296 * Context.cs: Added support to switch protocol (e.g. SSL2->SSL3 or
297 SSL2->TLS1). Contributed by Carlos Guzman Alvarez.
298 * RecordProtocol.cs: Added support for ClientHelloV2 message
299 (contributed by Carlos Guzman Alvarez). This is a Handshake message
300 so it must be MACed. Also fixed the challenge length because some
301 browsers implementation don't interpret "This value must be 32." as
304 2004-10-05 Sebastien Pouliot <sebastien@ximian.com>
306 * SslClientStream.cs: Changed InputBuffer to internal (was protected).
308 2004-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
310 * HttpsClientStream.cs: the .ctor receives a pre-read buffer now.
311 * SslClientStream.cs: added InputBuffer property.
313 2004-09-23 Sebastien Pouliot <sebastien@ximian.com>
315 * RecordProtocol.cs: Fix alert data that could leak into appplication
316 data (e.g. when closing the SSL session).
318 2004-07-14 Carlos Guzman Alvarez <carlosga@telefonica.net>
320 * Removed duplicate license header file from
323 2004-07-14 Sebastien Pouliot <sebastien@ximian.com>
325 * SslClientStream.cs: Changed lock to "new object()" and not
326 String.Empty (as the read/write locks points becomes the same).
327 * SslServerStream.cs: Changed lock to "new object()" and not
328 String.Empty (as the read/write locks points becomes the same).
330 2004-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
332 * HttpsClientStream.cs: get an HttpWebRequest so that we can use the
333 ServicePoint it has. No need to get the host now.
335 2004-05-09 Carlos Guzman Alvarez <carlosga@telefonica.net>
337 * Mono.Security.Protocol.Tls/Alert.cs:
338 * Mono.Security.Protocol.Tls/CipherSuite.cs:
339 * Mono.Security.Protocol.Tls/CipherSuiteCollection.cs:
340 * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
341 * Mono.Security.Protocol.Tls/Context.cs:
342 * Mono.Security.Protocol.Tls/RecordProtocol.cs:
343 * Mono.Security.Protocol.Tls/SecurityCompressionType.cs:
344 * Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
345 * Mono.Security.Protocol.Tls/SslServerStream.cs:
346 * Mono.Security.Protocol.Tls/TlsClientSettings.cs:
348 - Changes for fix FxCop Rules.
350 - Reworked CipherSuiteCollection class.
353 2004-04-21 Carlos Guzman Alvarez <carlosga@telefonica.net>
355 * Mono.Security.Protocol.Tls/DebugHelper.cs:
359 * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
360 * Mono.Security.Protocol.Tls/RecordProtocol.cs:
361 * Mono.Security.Protocol.Tls/Context.cs:
362 * Mono.Security.Protocol.Tls/Context.cs:
363 * Mono.Security.Protocol.Tls/SslCipherSuite.cs:
364 * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
365 * Mono.Security.Protocol.Tls/SslClientStream.cs:
367 - Added debug capabilities.
369 * Mono.Security.Protocol.Tls/ServerContext.cs:
371 - Added initialization of requested CertificateTypes and CA's
373 2004-04-16 Carlos Guzman Alvarez <carlosga@telefonica.net>
375 * Mono.Security.Protocol.Tls/TlsException.cs:
377 - Make it public until npgsql people can fix their sources.
379 2004-03-19 Carlos Guzman Alvarez <carlosga@telefonica.net>
381 * Mono.Security.Protocol.Tls/TlsServerSettings.cs:
383 - Added new CertificateRSA property.
385 - Added new UpdateCertfificateRSA method.
387 * Mono.Security.Protocol.Tls/CipherSuite.cs:
389 - Removed CertificateRSA() method.
391 2004-03-19 Sebastien Pouliot <sebastien@ximian.com>
393 * CipherSuite.cs: Fixed PRF generation when secret is an odd number of
394 bytes (section 5 in RFC2246).
395 * CipherSuiteFactory.cs: Added algorithms RSA_EXPORT_WITH_RC4_40_MD5,
396 RSA_EXPORT_WITH_RC2_CBC_40_MD5, RSA_EXPORT_WITH_DES40_CBC_SHA,
397 RSA_EXPORT_WITH_RC4_56_MD5, RSA_EXPORT_WITH_RC2_CBC_56_MD5,
398 RSA_EXPORT_WITH_DES_CBC_56_SHA and RSA_EXPORT_WITH_RC4_56_SHA to both
399 SSL3 and TLS1 protocols.
400 * SslCipherSuite.cs: Fixed key generation for exportable ciphers.
401 * TlsCipherSuite.cs: Fixed key generation for exportable ciphers.
403 2004-03-16 Carlos Guzman Alvarez <carlosga@telefonica.net>
405 * Mono.Security.Protocol.Tls/SslCipherSuite.cs:
407 - Added changes for allow it to work as server or client.
409 2004-03-15 Carlos Guzman Alvarez <carlosga@telefonica.net>
411 * Mono.Security.Protocol.Tls/TlsStream.cs:
412 * Mono.Security.Protocol.Tls/CipherSuite.cs:
413 * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
414 * Mono.Security.Protocol.Tls/SslHandshakeHash.cs:
415 * Mono.Security.Protocol.Tls/RecordProtocol.cs:
417 - Use Buffer.BlockCopy instead of System.Array.Copy
419 2004-03-10 Carlos Guzman Alvarez <carlosga@telefonica.net>
421 * Mono.Security.Protocol.Tls/Ciphersuite.cs:
423 - Added generation of the Server encryption algorithms.
425 - Modified encryption/decription methods for work
426 as client or server as needed.
428 * Mono.Security.Protocol.Tls/RecordProtocol.cs:
429 * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
430 * Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
432 - Added new ProcessChangeCipherSpec method.
434 * Mono.Security.Protocol.Tls/Context.cs:
436 - Added new PrintBuffer method ( for debug ).
438 * Mono.Security.Protocol.Tls/SslClientStream.cs:
439 * Mono.Security.Protocol.Tls/SslServerStream.cs:
443 2004-03-06 Carlos Guzman Alvarez <carlosga@telefonica.net>
445 * Mono.Security.Protocol.Tls/SslServerStream.cs:
447 - Initial implementation of the doHandshake method.
449 - Added initial events implementation.
451 * Mono.Security.Protocol.Tls/Ciphersuite.cs:
452 * Mono.Security.Protocol.Tls/TlsCiphersuite.cs:
453 * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
454 * Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
455 * Mono.Security.Protocol.Tls/SslClientStream.cs:
456 * Mono.Security.Protocol.Tls/TlsServerSettings.cs:
457 * Mono.Security.Protocol.Tls/TlsClientSettings.cs:
458 * Mono.Security.Protocol.Tls/ClientContext.cs:
460 - Changes for make use of the renamed classes and enums.
462 * Mono.Security.Protocol.Tls/TlsContentType.cs:
464 - Renamed to ContentType.cs ( Enum and file )
466 * Mono.Security.Protocol.Tls/TlsCiphersuiteCollection.cs:
468 - Renamed to CiphersuiteCollection.cs ( Class and file )
470 * Mono.Security.Protocol.Tls/TlsCiphersuiteFactory.cs:
472 - Renamed to CiphersuiteCollection.cs ( Class and file )
474 * Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:
476 - Renamed to SslHandshakeHash.cs ( Class and file )
478 * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
480 - Renamed to SslCipherSuite.cs ( Class and file )
482 2004-02-26 Carlos Guzman Alvarez <carlosga@telefonica.net>
484 * Mono.Security.Protocol.Tls/HandshakeState.cs:
488 * Mono.Security.Protocol.Tls/SslClientStream.cs:
489 * Mono.Security.Protocol.Tls/SslServerStream.cs:
490 * Mono.Security.Protocol.Tls/Context.cs:
491 * Mono.Security.Protocol.Tls/ClientContext.cs:
492 * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
494 - Added changes for better handling of ClientHelloRequest messages.
496 2004-02-25 Sebastien Pouliot <sebastien@ximian.com>
498 * HttpsClientStream.cs: New. Internal glue class between System.dll
499 WebConnection and SslClientStream to reduce reflection.
500 * SslClientStream.cs: RaiseServerCertificateValidation is now virtual
501 to allow HttpsClientStream to override it.
503 2004-02-24 Carlos Guzman Alvarez <carlosga@telefonica.net>
505 * Mono.Security.Protocol.Tls/RecordProtocol.cs:
506 * Mono.Security.Protocol.Tls/SslClientStream.cs:
507 * Mono.Security.Protocol.Tls/SslServerStream.cs:
509 - Reimplementation of TLS/SSL Alert Protocol.
511 2004-02-20 Carlos Guzmán Álvarez <carlosga@telefonica.net>
513 * Mono.Security.Protocol.Tls.Handshake.Client/SslClientCertificate.cs:
515 - Improved exception handling.
517 2004-02-18 Carlos Guzmán Álvarez <carlosga@telefonica.net>
519 * Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
520 * Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
521 * Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:
523 - Added Serializable attribute.
525 * Mono.Security.Protocol.Tls/CipherSuite.cs:
526 * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
527 * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
528 * Mono.Security.Protocol.Tls/TlsContext.cs:
530 - Added some optimizations proposed by Sebastien Pouliot.
532 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
534 - Changes on Common Name detection and certificate error handling ( Thanks to Sebastien Pouliot for his feedback ).
536 2004-02-18 Sebastien Pouliot <sebastien@ximian.com>
538 * SslClientStream.cs: Fixed (inverted) condition for ServerCertificate.
539 * SecurityProtocolType.cs: Added [Serializable] to enum to match MS
542 2004-02-17 Carlos Guzmán Álvarez <carlosga@telefonica.net>
544 * Mono.Security.Protocol.Tls/SslClientStream.cs:
546 - Added changes to security properties for check that the handshake is finished.
548 * Mono.Security.Protocol.Tls/SslClientStream.cs:
550 - Added changes for bring async methods to work ( Thanks to Sebastien Pouliot )
552 - Reworked the record fragmentation.
554 - Fix for send the close notify alert in the Close method
555 only if the Handshake is fully negotiated.
558 2004-02-16 Carlos Guzmán Álvarez <carlosga@telefonica.net>
560 * Mono.Security.Protocol.Tls/TlsCipherSuiteFactory.cs:
562 - Changed ciphersuites order of preference ( Thanks to Sebastien Pouliot for his feedback ).
564 2004-02-15 Carlos Guzmán Álvarez <carlosga@telefonica.net>
566 * Mono.Security.Protocol.Tls/SslClientStream.cs:
568 - Added specific control od available data for Network Streams
569 on Read ( Thanks to Francisco Figueiredo Jr. for his feedback ).
573 2004-02-14 Carlos Guzmán Álvarez <carlosga@telefonica.net>
575 * Mono.Security.Protocol.Tls/SslClientStream.cs:
579 2003-11-17 Carlos Guzmán Álvarez <carlosga@telefonica.net>
581 * Mono.Security.Protocol.Tls/SslClientStream.cs:
583 Removed ReadByte method, use innerStream.ReadByte() method instead.
585 2003-11-13 Carlos Guzmán Álvarez <carlosga@telefonica.net>
587 * Added implementation of an SslClientStream class similar to the MS .NET Framework 1.2 documentation.
589 The next files are no more needed:
593 - TlsNetworkStream.cs
599 The next files are renamed:
601 - TlsSessionSettings.cs -> TlsClientSettings.cs
603 - TlsSessionContext.cs -> TlsContext.cs
605 The next files are new:
607 - SslClientStream.cs ( the name is non definitive yet )
609 The next files where changed to reflect the new canges:
611 - TlsHandshakeMessage.cs
613 - TlsClientCertificate.cs
615 - TlsClientCertificateVerify.cs
617 - TlsClientFinished.cs
621 - TlsClientKeyExchange.cs
623 - TlsServerCertificate.cs
625 - TlsServerCertificateRequest.cs
627 - TlsServerFinished.cs
631 - TlsServerHelloDone.cs
633 - TlsServerKeyExchange.cs
637 - TlsCloseNotifyAlert.cs
640 2003-11-12 Carlos Guzmán Álvarez <carlosga@telefonica.net>
642 * Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
644 - Changes for give full error message only in debug mode ( Thanks to Sebastién Pouliot. )
646 * Mono.Security.Protocol.Tls/TlsProtocol.cs:
648 - Renamed to SecurityProtocolType.cs ( for match .NET 1.2 )
650 * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
652 - Renamed to MD5SHA1.cs ( Thanks to Sebastién Pouliot. )
654 * Mono.Security.Cryptography/TlsCompressionMethod.cs:
656 - Renamed to SecurityCompressionType.
658 * Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
659 * Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
660 * Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:
662 - New enumerations that matches .NET 1.2 definitions with some minor differences.
664 * Mono.Security.Protocol.Tls/CipherSuite.cs:
665 * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
666 * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
667 * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
669 - Added changes for make use of new enumerations.
671 * Mono.Security.Protocol.Tls/TlsClientStream.cs:
673 - Added new informative properties that matches .NET 1.2 SslClientStream
674 ( Not all the properties are implemented yet ).
677 2003-11-10 Carlos Guzmán Álvarez <carlosga@telefonica.net>
679 * Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
681 - Fixed invalid alert message.
683 * Mono.Security.Protocol.Tls/CipherSuite.cs:
684 * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
685 * Mono.Security.Cryptography/HMAC.cs:
686 * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
687 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
689 - Changed ( Thanks to Sebastién Pouliot for his feedback )
691 SHA1CryptoServiceProvider sha = new SHA1CryptoServiceProvider();
692 MD5CryptoServiceProvider sha = new MD5CryptoServiceProvider();
696 HashAlgorithm sha = SHA1.Create();
697 HashAlgorithm md5 = MD5.Create();
699 2003-11-04 Carlos Guzmán Álvarez <carlosga@telefonica.net>
701 * Mono.Security.Protocol.Tls/CipherSuite.cs:
703 - Added custom padding for record encryption.
706 2003-11-03 Carlos Guzmán Álvarez <carlosga@telefonica.net>
708 * Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessages.cs:
712 * Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:
714 - New class for handshake hashes calculation on SSL3 protocol.
716 * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
718 - Fixed mac keys clearing for SSL3 protocol.
720 * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
721 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
723 - Added changes for make use of new TlsSslHandshakeHash class.
725 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
727 - Added initial implementation for SSL3 protocol.
729 * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
731 - New class for md5-sha hash calculation.
733 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
734 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
735 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
736 * Mono.Security.Protocol.Tls.Handshake.Client/TlsHandshakeMessage.cs:
738 - Make use of new MD5SHA1CryptoServiceProvider class.
740 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
742 - Added initial implementation (not finished).
744 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
746 - Minor change to message processing.
748 - Changed verify method name to verifySignature.
750 * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
752 - Changed handshakeHashes member to be an TlsStream.
754 2003-10-28 Carlos Guzmán Álvarez <carlosga@telefonica.net>
756 * Mono.Security.Protocol.Tls/CipherSuite.cs:
757 * Mono.Security.Protocol.Tls/TlsSessionSettings.cs:
758 * Mono.Security.Protocol.Tls/TlsServerSettings.cs:
759 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
760 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
761 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
762 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
764 - Added changes for make use of X509 classes from mono.
766 2003-10-23 Carlos Guzmán Álvarez <carlosga@telefonica.net>
768 * Added partial implementation of SSL3 protocol ( not finished yet ).
770 * TlsAbstractCipherSuite.cs: Renamed to CipherSuite.cs.
772 * Removed AssemblyInfo.cs file.
774 2003-10-21 Carlos Guzmán Álvarez <carlosga@telefonica.net>
776 TlsCipherSuiteFactory.cs: Changed names of private methods.
778 TlsSslCipherSuite.cs: Replaced implementations of key generation methods with a throw new NotSupportedException().
781 2003-10-20 Carlos Guzmán Álvarez <carlosga@telefonica.net>
783 TlsCupherSuite.cs: Fixed padding length calculation on record encryption.
785 TlsSessionContext.cs: Added new CompressionMethod property.
786 Added new MAX_FRAGMENT_SIZE constant.
788 TlsSession.cs: Removed MaxFragmentSize property.
790 TlsSocket.cs: Replaced use of TlsSesison.MaxFragmentSize by TlsSessionContext.MAX_FAGMENT_SIZE
792 TlsSessionSettings.cs: Added new CompressionMethod property.
794 * Abstracted CipherSuite classes for allow work with other protocol versions.
798 TlsAbstractCipherSuite.cs
802 TlsCipherSuiteFactory.cs
804 TlsCompressionMethod.cs
806 * Added new cipher suites definitions based on RFC3268 - (http://www.ietf.org/rfc/rfc3268.txt)
808 * Added two new supported ciphersuites for TLS protocol:
810 TLS_RSA_WITH_AES_256_CBC_SHA
812 TLS_RSA_WITH_AES_128_CBC_SHA
814 * Moved key generation stuff to specific cipher suite classes.
816 2003-10-20 Pedro Martínez Juliá <yoros@wanadoo.es>
818 * AssemblyInfo.cs: commented out KeyFile reference.
820 * TlsSession.cs: changed Math.Pow for System.Math.Pow because of MCS
821 bug with namespace resolving.