1 2010-03-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
5 * SslServerStream.cs: modify the 2.0 callback to return more info.
7 2010-03-01 Gonzalo Paniagua Javier <gonzalo@novell.com>
9 * HttpsClientStream.cs: use Address instead
10 of RequestUri to get the right host name when the request is
16 added a new callback for certificate validation that gets all the
17 certificates received from the server/client. The callee should
18 build the chain and validate it.
20 2009-10-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
23 * SslServerStream.cs: add new parameter that forces sending the
24 CertificateRequest record. Make sure we raise the client certificate
25 validation event when it is requested or required.
27 2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
29 * HttpsClientStream.cs: if there's only an ICertificatePolicy and no
30 ServerCertificateValicationCallback, don't fail.
32 2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
34 * HttpsClientStream.cs: invoke the ServerCertificateValidationCallback
35 in the 2.0 profile. If there's a CertificatePolicy, it is run before
38 2007-09-12 Sebastien Pouliot <sebastien@ximian.com>
40 * Context.cs: Clear key info memory (not just nullify). Fix bug #82819
42 2007-08-16 Sebastien Pouliot <sebastien@ximian.com>
44 * RecordProtocol.cs, SslStreamBase.cs: Ensure nothing (even the same
45 thread) can confuse the record decoding code. Fix bug #82145 (LDAP)
46 which uses several thread over a single SslClientStream instance.
48 2007-05-23 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
50 * Context.cs: fix the calculation of the unix time.
52 2007-05-09 Sebastien Pouliot <sebastien@ximian.com>
54 * HttpsClientStream.cs: Add support for client certificates from
55 HttpWebRequest if it uses X509Certificate2 instance (which requires
56 using 2.0 profile) and if the private key is available.
57 * SslStreamBase.cs: Fix warning in 2.0 because Stream now implements
58 Dispose. Rework Close (in 2.0) to avoid infinite recursion.
60 2006-12-08 Sebastien Pouliot <sebastien@ximian.com>
62 * ClientSessionCache.cs: Fix cache to be really used. Original patch
63 by Roy Versteeg. Fix bug #80175.
65 2006-12-08 Sebastien Pouliot <sebastien@ximian.com>
67 * ClientSessionCache.cs: Check for a new environment variable to
68 control the cache validity period (MONO_TLS_SESSION_CACHE_TIMEOUT).
71 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
73 * CipherSuite.cs: Avoid creating a CryptoStream and a MemoryStream in
74 EncryptRecord (removing the need to do a keysetup each time). Add
75 helper methods to write inside byte buffers. Decrypt the data in
76 place (without allocating new memory) as the result will always be
77 smaller than the original. Avoid TlsStream in CreatePremasterSecret
78 method. All HMAC access are done with the Negotiating parameters.
79 * ClientRecordProtocol.cs: Set HandshakeState to None if we receive
80 a HelloRequest during an existing session. Remove overidden method
81 ProcessChangeCipherSpec. Skip memory allocation if possible.
82 * Context.cs: Add new SecurityParameters for current, negotiating,
83 read and write (actually only two different instance exists). Change
84 readSequenceNumber and writeSequenceNumber to ulong to match specs.
85 Remove all properties that are moved/replaced with SecurityParameters.
86 Added methods to Start and End a switch of the security parameters.
87 * RecordProtocol.cs: Add code to ProcessChangeCipherSpec (not abstract
88 anymore). Remove ReadShort and it's use. Deal with null alerts in
89 SendAlert method (internal error). Change code to deal with
90 SendChangeCipherSpec inside an existing (encrypted) session. Update
91 Cipher to use the correct one (mostly Read.Cipher or Negotiating.Cipher
92 for ProcessCipherSpecV2Buffer method).
93 * SecurityParameters.cs: New. Deal with all parameters that changes
95 * ServerRecordProtocol.cs: Remove method ProcessChangeCipherSpec.
96 * SslCipherSuite.cs: Don't use TlsStream when computing MAC. Set the
97 MAC keys to the Negotiating security parameters.
98 * SslClientStream.cs: Change calls from Cipher to Negotiating.Cipher.
99 * SslServerStream.cs: Change calls from Cipher to Negotiating.Cipher.
100 Remove debugging dead code (DateTime).
101 * SslStreamBase.cs: Change calls from Cipher to Current.Cipher. Reuse
102 existing memory buffer.
103 * TlsCipherSuite.cs: Don't use TlsStream when computing MAC. Set the
104 MAC keys to the Negotiating security parameters.
105 * TlsClientSettings.cs: Comment code cause compiler warnings.
106 * TlsStream.cs: Avoid/reduce memory allocations when reading or
107 writing small integer values to the stream.
109 2006-09-07 Sebastien Pouliot <sebastien@ximian.com>
111 * HttpsClientStream.cs: Honor ServicePointManager.SecurityProtocol to
112 select between SSL3, TLS1 or, by default, auto. Great for testing :)
114 2006-06-08 Sebastien Pouliot <sebastien@ximian.com>
116 * ClientRecordProtocol.cs: Avoid a NRE when the server request a
117 re-negotiation of the security parameters. Possible fix for #78597.
119 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
121 * SslCipherSuite.cs: Enable abbreviated handshakes for SSL3 too.
123 2006-04-12 Sebastien Pouliot <sebastien@ximian.com>
125 * ClientSessionCache.cs: Deal with empty (null) master secret, that
126 can find their ways into the cache, and treat them as invalid. Fix
129 2006-04-10 Sebastien Pouliot <sebastien@ximian.com>
131 * ClientSessionCache.cs: The session id can be zero-length (like our
133 * SslServerStream.cs: Adapt code to fixes made in cipher suite and
134 message processing changes in client code.
136 2006-03-16 Sebastien Pouliot <sebastien@ximian.com>
138 * CipherSuiteFactory.cs: Fix bad key exchange values for non-export
139 cihpers. Most certificates have "too much" usages by default so this
140 was hidden from view.
141 * SslStreamBase.cs: Safety net. Throw an exception if we're waiting
142 for more than five (5) minutes for an async read or write to complete.
144 2006-03-16 Sebastien Pouliot <sebastien@ximian.com>
146 * ClientSessionCache.cs: New. Handle a client-side session cache to
147 enable the use of abbreviated handshake whenever possible. This will
148 reduce the number of negotiation (a very CPU intensive process) done
150 * Context.cs: Add a property for AbbreviatedHandshake.
151 * RecordProtocol.cs: Don't send Finished record from ChangeCipherSpec
152 as this won't work if the message flow change.
153 * SslClientStream.cs: Line endings.
154 * SslServerStream.cs: Throw an exception if ReceiveRecord return null
155 or an empty buffer (i.e. communication ended with client). Fix #76254.
156 * SslStreamBase.cs: Re-add synchronous implementations for Read and
158 * TlsCipherSuite.cs: Update the client-side session cache with the
160 * TlsStream.cs: Avoid possible buffer underun reading bytes (found by
163 2006-03-08 Sebastien Pouliot <sebastien@ximian.com>
165 * SslStreamBase.cs: Re-implemented the synchronous versions of Read
166 and Write methods so they don't use the async code.
168 2006-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
170 * SslStreamBase.cs: avoid creating the ManualResetEvent whenever
171 possible. Don't lock on an instance of an object that the user can get.
173 2006-03-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
175 * RecordProtocol.cs: avoid creating the ManualResetEvent whenever
176 possible. Don't lock on an instance of an object that the user can get.
178 2006-03-02 Sebastien Pouliot <sebastien@ximian.com>
180 * RecordProtocol.cs: Fix possible endless loop (#77663). Remove hack
181 for an old, fixed, MCS bug (#67711).
183 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
185 * ClientRecordProtocol.cs: Update HandshakeMessages after each
186 message. Fix bug #76258.
187 * RecordProtocol.cs: Remove writing into the HandshakeMessages stream
188 at this stage. We may need the data before that. Fix bug #76258.
189 * ServerRecordProtocol.cs: Update HandshakeMessages after each
190 message. Fix bug #76258.
191 * SslServerStream.cs: Changed check for the presence of client
192 certificates during handshake.
194 2005-09-02 Sebastien Pouliot <sebastien@ximian.com>
196 * SslStreamBase.cs, ServerRecordProtocol.cs, SslClientStream.cs,
197 ClientRecordProtocol.cs, RecordProtocol.cs, SslServerStream.cs:
198 Re-written async support for Ssl[Client|Server]Stream from JD Conley
199 <jd.conley@coversant.net> with minor changes. Fix bug #75687 (and a
200 lot of other known problems).
202 2005-07-01 Sebastien Pouliot <sebastien@ximian.com>
204 * ServerContext.cs: Build the list of trusted certificates from all
205 the trusted root for the current user and the local machine.
206 * SslServerStream.cs: Add support for client certificate (and the
207 callback for optional mutual authentication with SSL3).
209 2005-06-22 Sebastien Pouliot <sebastien@ximian.com>
211 * SslClientStream.cs: Removed failsafe timeout of 5 minutes as some
212 protocols can go idle for longer than this.
214 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
216 * SslClientStream.cs: Add support for _optional_ mutual authentication.
217 SSL3 and TLS1 deals differently with this. SSL3 tested with OpenSSL,
218 TSL1 tested with OpenSSL and LDAPS/AD.
220 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
222 * Alert.cs: Add NoCertificate (41) which _should_ be used in SSL3
223 if we don't want to send a certificate when requested by a server
224 (e.g. in the case the mutual authentication is optional).
225 * CipherSuite.cs: Fixed recursive property. Changed type to short so
226 it can hold 256 bits (valid value). Fixed ctor so it doesn't assign
229 2005-05-13 Sebastien Pouliot <sebastien@ximian.com>
231 * SslClientStream.cs: Forgot to set the event in the previous fix.
233 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
235 * SslClientStream.cs: check for the dispose in NetworkReadCallback.
236 Patch by Sebastien "Cryptoman" Pouliot.
238 2005-04-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
240 * SslClientStream.cs: gotta call EndInvoke, not EndRead.
242 2005-04-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
244 * SslClientStream.cs: MemoryStream does not implement proper Begin*
245 methods, so we need this to prevent infinite recursion if we have a
246 callback that calls BeginRead.
248 2005-04-13 Sebastien Pouliot <sebastien@ximian.com>
250 * RecordProtocol.cs: Some API changes so a record can be decoded from
251 any supplied stream (not just the inner network stream).
252 * SslClientStream.cs: BeginRead is now truly async if the Negotiate is
253 called from BeginWrite (where it should be in most case).
254 * SslServerStream.cs: Adapted to API changes in RecordProtocol.cs.
256 2005-04-12 Sebastien Pouliot <sebastien@ximian.com>
258 * SslHandshakeHash.cs: Changed "SslHash" to "MD5SHA1". Fix #71696.
260 2005-04-10 Sebastien Pouliot <sebastien@ximian.com>
262 * HttpsClientStream.cs: Added a TrustFailure property so a
263 WebException can now report TrustFailure correctly. Fix bug 74286.
265 2005-04-07 Sebastien Pouliot <sebastien@ximian.com>
267 * SslCipherSuite.cs: Fix calculation (sequence number) for the server
268 side stream. Patch by Brian Ritchie.
270 2005-02-04 Sebastien Pouliot <sebastien@ximian.com>
272 * Reverting last changes in SslClientStream and RecordProtocol. This
273 break when sending large files back and forth (echo test).
275 2005-02-02 Sebastien Pouliot <sebastien@ximian.com>
277 * SslClientStream.cs: Throw exception when we receive a null record.
278 * RecordProtocol.cs: Added code to avoid blocking and endless loops
279 if the data is incomplete or missing - even in the case the server
280 side doesn't close the connection (see new cutcli tool).
282 2004-12-15 Sebastien Pouliot <sebastien@ximian.com>
284 * CipherSuite.cs: Removed unused MD5 and SHA1 instances created in
285 PRF method (fix compilation warnings).
287 2004-12-13 Sebastien Pouliot <sebastien@ximian.com>
289 * SslClientStream.cs: New internal property, ServerCertificates, to
290 "easily" retreive the server's certificate chain using reflection.
292 2004-11-23 Sebastien Pouliot <sebastien@ximian.com>
294 * RecordProtocol.cs: Fixed ClientHelloV2 support.
296 2004-11-10 Sebastien Pouliot <sebastien@ximian.com>
298 * CipherSuiteFactory.cs: Activated RSA_WITH_AES_256_CBC_SHA as it is
299 supported by some browsers.
300 * ContentType.cs: Removed ClientHelloV2 from the enum as it is not a
301 "true" content type (it just looks so where we're processing it).
302 * Context.cs: Added support to switch protocol (e.g. SSL2->SSL3 or
303 SSL2->TLS1). Contributed by Carlos Guzman Alvarez.
304 * RecordProtocol.cs: Added support for ClientHelloV2 message
305 (contributed by Carlos Guzman Alvarez). This is a Handshake message
306 so it must be MACed. Also fixed the challenge length because some
307 browsers implementation don't interpret "This value must be 32." as
310 2004-10-05 Sebastien Pouliot <sebastien@ximian.com>
312 * SslClientStream.cs: Changed InputBuffer to internal (was protected).
314 2004-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
316 * HttpsClientStream.cs: the .ctor receives a pre-read buffer now.
317 * SslClientStream.cs: added InputBuffer property.
319 2004-09-23 Sebastien Pouliot <sebastien@ximian.com>
321 * RecordProtocol.cs: Fix alert data that could leak into appplication
322 data (e.g. when closing the SSL session).
324 2004-07-14 Carlos Guzman Alvarez <carlosga@telefonica.net>
326 * Removed duplicate license header file from
329 2004-07-14 Sebastien Pouliot <sebastien@ximian.com>
331 * SslClientStream.cs: Changed lock to "new object()" and not
332 String.Empty (as the read/write locks points becomes the same).
333 * SslServerStream.cs: Changed lock to "new object()" and not
334 String.Empty (as the read/write locks points becomes the same).
336 2004-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
338 * HttpsClientStream.cs: get an HttpWebRequest so that we can use the
339 ServicePoint it has. No need to get the host now.
341 2004-05-09 Carlos Guzman Alvarez <carlosga@telefonica.net>
343 * Mono.Security.Protocol.Tls/Alert.cs:
344 * Mono.Security.Protocol.Tls/CipherSuite.cs:
345 * Mono.Security.Protocol.Tls/CipherSuiteCollection.cs:
346 * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
347 * Mono.Security.Protocol.Tls/Context.cs:
348 * Mono.Security.Protocol.Tls/RecordProtocol.cs:
349 * Mono.Security.Protocol.Tls/SecurityCompressionType.cs:
350 * Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
351 * Mono.Security.Protocol.Tls/SslServerStream.cs:
352 * Mono.Security.Protocol.Tls/TlsClientSettings.cs:
354 - Changes for fix FxCop Rules.
356 - Reworked CipherSuiteCollection class.
359 2004-04-21 Carlos Guzman Alvarez <carlosga@telefonica.net>
361 * Mono.Security.Protocol.Tls/DebugHelper.cs:
365 * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
366 * Mono.Security.Protocol.Tls/RecordProtocol.cs:
367 * Mono.Security.Protocol.Tls/Context.cs:
368 * Mono.Security.Protocol.Tls/Context.cs:
369 * Mono.Security.Protocol.Tls/SslCipherSuite.cs:
370 * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
371 * Mono.Security.Protocol.Tls/SslClientStream.cs:
373 - Added debug capabilities.
375 * Mono.Security.Protocol.Tls/ServerContext.cs:
377 - Added initialization of requested CertificateTypes and CA's
379 2004-04-16 Carlos Guzman Alvarez <carlosga@telefonica.net>
381 * Mono.Security.Protocol.Tls/TlsException.cs:
383 - Make it public until npgsql people can fix their sources.
385 2004-03-19 Carlos Guzman Alvarez <carlosga@telefonica.net>
387 * Mono.Security.Protocol.Tls/TlsServerSettings.cs:
389 - Added new CertificateRSA property.
391 - Added new UpdateCertfificateRSA method.
393 * Mono.Security.Protocol.Tls/CipherSuite.cs:
395 - Removed CertificateRSA() method.
397 2004-03-19 Sebastien Pouliot <sebastien@ximian.com>
399 * CipherSuite.cs: Fixed PRF generation when secret is an odd number of
400 bytes (section 5 in RFC2246).
401 * CipherSuiteFactory.cs: Added algorithms RSA_EXPORT_WITH_RC4_40_MD5,
402 RSA_EXPORT_WITH_RC2_CBC_40_MD5, RSA_EXPORT_WITH_DES40_CBC_SHA,
403 RSA_EXPORT_WITH_RC4_56_MD5, RSA_EXPORT_WITH_RC2_CBC_56_MD5,
404 RSA_EXPORT_WITH_DES_CBC_56_SHA and RSA_EXPORT_WITH_RC4_56_SHA to both
405 SSL3 and TLS1 protocols.
406 * SslCipherSuite.cs: Fixed key generation for exportable ciphers.
407 * TlsCipherSuite.cs: Fixed key generation for exportable ciphers.
409 2004-03-16 Carlos Guzman Alvarez <carlosga@telefonica.net>
411 * Mono.Security.Protocol.Tls/SslCipherSuite.cs:
413 - Added changes for allow it to work as server or client.
415 2004-03-15 Carlos Guzman Alvarez <carlosga@telefonica.net>
417 * Mono.Security.Protocol.Tls/TlsStream.cs:
418 * Mono.Security.Protocol.Tls/CipherSuite.cs:
419 * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
420 * Mono.Security.Protocol.Tls/SslHandshakeHash.cs:
421 * Mono.Security.Protocol.Tls/RecordProtocol.cs:
423 - Use Buffer.BlockCopy instead of System.Array.Copy
425 2004-03-10 Carlos Guzman Alvarez <carlosga@telefonica.net>
427 * Mono.Security.Protocol.Tls/Ciphersuite.cs:
429 - Added generation of the Server encryption algorithms.
431 - Modified encryption/decription methods for work
432 as client or server as needed.
434 * Mono.Security.Protocol.Tls/RecordProtocol.cs:
435 * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
436 * Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
438 - Added new ProcessChangeCipherSpec method.
440 * Mono.Security.Protocol.Tls/Context.cs:
442 - Added new PrintBuffer method ( for debug ).
444 * Mono.Security.Protocol.Tls/SslClientStream.cs:
445 * Mono.Security.Protocol.Tls/SslServerStream.cs:
449 2004-03-06 Carlos Guzman Alvarez <carlosga@telefonica.net>
451 * Mono.Security.Protocol.Tls/SslServerStream.cs:
453 - Initial implementation of the doHandshake method.
455 - Added initial events implementation.
457 * Mono.Security.Protocol.Tls/Ciphersuite.cs:
458 * Mono.Security.Protocol.Tls/TlsCiphersuite.cs:
459 * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
460 * Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
461 * Mono.Security.Protocol.Tls/SslClientStream.cs:
462 * Mono.Security.Protocol.Tls/TlsServerSettings.cs:
463 * Mono.Security.Protocol.Tls/TlsClientSettings.cs:
464 * Mono.Security.Protocol.Tls/ClientContext.cs:
466 - Changes for make use of the renamed classes and enums.
468 * Mono.Security.Protocol.Tls/TlsContentType.cs:
470 - Renamed to ContentType.cs ( Enum and file )
472 * Mono.Security.Protocol.Tls/TlsCiphersuiteCollection.cs:
474 - Renamed to CiphersuiteCollection.cs ( Class and file )
476 * Mono.Security.Protocol.Tls/TlsCiphersuiteFactory.cs:
478 - Renamed to CiphersuiteCollection.cs ( Class and file )
480 * Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:
482 - Renamed to SslHandshakeHash.cs ( Class and file )
484 * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
486 - Renamed to SslCipherSuite.cs ( Class and file )
488 2004-02-26 Carlos Guzman Alvarez <carlosga@telefonica.net>
490 * Mono.Security.Protocol.Tls/HandshakeState.cs:
494 * Mono.Security.Protocol.Tls/SslClientStream.cs:
495 * Mono.Security.Protocol.Tls/SslServerStream.cs:
496 * Mono.Security.Protocol.Tls/Context.cs:
497 * Mono.Security.Protocol.Tls/ClientContext.cs:
498 * Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
500 - Added changes for better handling of ClientHelloRequest messages.
502 2004-02-25 Sebastien Pouliot <sebastien@ximian.com>
504 * HttpsClientStream.cs: New. Internal glue class between System.dll
505 WebConnection and SslClientStream to reduce reflection.
506 * SslClientStream.cs: RaiseServerCertificateValidation is now virtual
507 to allow HttpsClientStream to override it.
509 2004-02-24 Carlos Guzman Alvarez <carlosga@telefonica.net>
511 * Mono.Security.Protocol.Tls/RecordProtocol.cs:
512 * Mono.Security.Protocol.Tls/SslClientStream.cs:
513 * Mono.Security.Protocol.Tls/SslServerStream.cs:
515 - Reimplementation of TLS/SSL Alert Protocol.
517 2004-02-20 Carlos Guzmán Álvarez <carlosga@telefonica.net>
519 * Mono.Security.Protocol.Tls.Handshake.Client/SslClientCertificate.cs:
521 - Improved exception handling.
523 2004-02-18 Carlos Guzmán Álvarez <carlosga@telefonica.net>
525 * Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
526 * Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
527 * Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:
529 - Added Serializable attribute.
531 * Mono.Security.Protocol.Tls/CipherSuite.cs:
532 * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
533 * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
534 * Mono.Security.Protocol.Tls/TlsContext.cs:
536 - Added some optimizations proposed by Sebastien Pouliot.
538 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
540 - Changes on Common Name detection and certificate error handling ( Thanks to Sebastien Pouliot for his feedback ).
542 2004-02-18 Sebastien Pouliot <sebastien@ximian.com>
544 * SslClientStream.cs: Fixed (inverted) condition for ServerCertificate.
545 * SecurityProtocolType.cs: Added [Serializable] to enum to match MS
548 2004-02-17 Carlos Guzmán Álvarez <carlosga@telefonica.net>
550 * Mono.Security.Protocol.Tls/SslClientStream.cs:
552 - Added changes to security properties for check that the handshake is finished.
554 * Mono.Security.Protocol.Tls/SslClientStream.cs:
556 - Added changes for bring async methods to work ( Thanks to Sebastien Pouliot )
558 - Reworked the record fragmentation.
560 - Fix for send the close notify alert in the Close method
561 only if the Handshake is fully negotiated.
564 2004-02-16 Carlos Guzmán Álvarez <carlosga@telefonica.net>
566 * Mono.Security.Protocol.Tls/TlsCipherSuiteFactory.cs:
568 - Changed ciphersuites order of preference ( Thanks to Sebastien Pouliot for his feedback ).
570 2004-02-15 Carlos Guzmán Álvarez <carlosga@telefonica.net>
572 * Mono.Security.Protocol.Tls/SslClientStream.cs:
574 - Added specific control od available data for Network Streams
575 on Read ( Thanks to Francisco Figueiredo Jr. for his feedback ).
579 2004-02-14 Carlos Guzmán Álvarez <carlosga@telefonica.net>
581 * Mono.Security.Protocol.Tls/SslClientStream.cs:
585 2003-11-17 Carlos Guzmán Álvarez <carlosga@telefonica.net>
587 * Mono.Security.Protocol.Tls/SslClientStream.cs:
589 Removed ReadByte method, use innerStream.ReadByte() method instead.
591 2003-11-13 Carlos Guzmán Álvarez <carlosga@telefonica.net>
593 * Added implementation of an SslClientStream class similar to the MS .NET Framework 1.2 documentation.
595 The next files are no more needed:
599 - TlsNetworkStream.cs
605 The next files are renamed:
607 - TlsSessionSettings.cs -> TlsClientSettings.cs
609 - TlsSessionContext.cs -> TlsContext.cs
611 The next files are new:
613 - SslClientStream.cs ( the name is non definitive yet )
615 The next files where changed to reflect the new canges:
617 - TlsHandshakeMessage.cs
619 - TlsClientCertificate.cs
621 - TlsClientCertificateVerify.cs
623 - TlsClientFinished.cs
627 - TlsClientKeyExchange.cs
629 - TlsServerCertificate.cs
631 - TlsServerCertificateRequest.cs
633 - TlsServerFinished.cs
637 - TlsServerHelloDone.cs
639 - TlsServerKeyExchange.cs
643 - TlsCloseNotifyAlert.cs
646 2003-11-12 Carlos Guzmán Álvarez <carlosga@telefonica.net>
648 * Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
650 - Changes for give full error message only in debug mode ( Thanks to Sebastién Pouliot. )
652 * Mono.Security.Protocol.Tls/TlsProtocol.cs:
654 - Renamed to SecurityProtocolType.cs ( for match .NET 1.2 )
656 * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
658 - Renamed to MD5SHA1.cs ( Thanks to Sebastién Pouliot. )
660 * Mono.Security.Cryptography/TlsCompressionMethod.cs:
662 - Renamed to SecurityCompressionType.
664 * Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
665 * Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
666 * Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:
668 - New enumerations that matches .NET 1.2 definitions with some minor differences.
670 * Mono.Security.Protocol.Tls/CipherSuite.cs:
671 * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
672 * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
673 * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
675 - Added changes for make use of new enumerations.
677 * Mono.Security.Protocol.Tls/TlsClientStream.cs:
679 - Added new informative properties that matches .NET 1.2 SslClientStream
680 ( Not all the properties are implemented yet ).
683 2003-11-10 Carlos Guzmán Álvarez <carlosga@telefonica.net>
685 * Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
687 - Fixed invalid alert message.
689 * Mono.Security.Protocol.Tls/CipherSuite.cs:
690 * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
691 * Mono.Security.Cryptography/HMAC.cs:
692 * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
693 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
695 - Changed ( Thanks to Sebastién Pouliot for his feedback )
697 SHA1CryptoServiceProvider sha = new SHA1CryptoServiceProvider();
698 MD5CryptoServiceProvider sha = new MD5CryptoServiceProvider();
702 HashAlgorithm sha = SHA1.Create();
703 HashAlgorithm md5 = MD5.Create();
705 2003-11-04 Carlos Guzmán Álvarez <carlosga@telefonica.net>
707 * Mono.Security.Protocol.Tls/CipherSuite.cs:
709 - Added custom padding for record encryption.
712 2003-11-03 Carlos Guzmán Álvarez <carlosga@telefonica.net>
714 * Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessages.cs:
718 * Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:
720 - New class for handshake hashes calculation on SSL3 protocol.
722 * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
724 - Fixed mac keys clearing for SSL3 protocol.
726 * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
727 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
729 - Added changes for make use of new TlsSslHandshakeHash class.
731 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
733 - Added initial implementation for SSL3 protocol.
735 * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
737 - New class for md5-sha hash calculation.
739 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
740 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
741 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
742 * Mono.Security.Protocol.Tls.Handshake.Client/TlsHandshakeMessage.cs:
744 - Make use of new MD5SHA1CryptoServiceProvider class.
746 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
748 - Added initial implementation (not finished).
750 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
752 - Minor change to message processing.
754 - Changed verify method name to verifySignature.
756 * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
758 - Changed handshakeHashes member to be an TlsStream.
760 2003-10-28 Carlos Guzmán Álvarez <carlosga@telefonica.net>
762 * Mono.Security.Protocol.Tls/CipherSuite.cs:
763 * Mono.Security.Protocol.Tls/TlsSessionSettings.cs:
764 * Mono.Security.Protocol.Tls/TlsServerSettings.cs:
765 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
766 * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
767 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
768 * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
770 - Added changes for make use of X509 classes from mono.
772 2003-10-23 Carlos Guzmán Álvarez <carlosga@telefonica.net>
774 * Added partial implementation of SSL3 protocol ( not finished yet ).
776 * TlsAbstractCipherSuite.cs: Renamed to CipherSuite.cs.
778 * Removed AssemblyInfo.cs file.
780 2003-10-21 Carlos Guzmán Álvarez <carlosga@telefonica.net>
782 TlsCipherSuiteFactory.cs: Changed names of private methods.
784 TlsSslCipherSuite.cs: Replaced implementations of key generation methods with a throw new NotSupportedException().
787 2003-10-20 Carlos Guzmán Álvarez <carlosga@telefonica.net>
789 TlsCupherSuite.cs: Fixed padding length calculation on record encryption.
791 TlsSessionContext.cs: Added new CompressionMethod property.
792 Added new MAX_FRAGMENT_SIZE constant.
794 TlsSession.cs: Removed MaxFragmentSize property.
796 TlsSocket.cs: Replaced use of TlsSesison.MaxFragmentSize by TlsSessionContext.MAX_FAGMENT_SIZE
798 TlsSessionSettings.cs: Added new CompressionMethod property.
800 * Abstracted CipherSuite classes for allow work with other protocol versions.
804 TlsAbstractCipherSuite.cs
808 TlsCipherSuiteFactory.cs
810 TlsCompressionMethod.cs
812 * Added new cipher suites definitions based on RFC3268 - (http://www.ietf.org/rfc/rfc3268.txt)
814 * Added two new supported ciphersuites for TLS protocol:
816 TLS_RSA_WITH_AES_256_CBC_SHA
818 TLS_RSA_WITH_AES_128_CBC_SHA
820 * Moved key generation stuff to specific cipher suite classes.
822 2003-10-20 Pedro Martínez Juliá <yoros@wanadoo.es>
824 * AssemblyInfo.cs: commented out KeyFile reference.
826 * TlsSession.cs: changed Math.Pow for System.Math.Pow because of MCS
827 bug with namespace resolving.