ChangeLog 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. 2006-09-11 Sebastien Pouliot <[email protected]>
  2. * HandshakeMessage.cs: EncodeMessage is called very often so we avoid
  3. many allocations by not creating a TlsStream and by not calling
  4. WriteInt24 (IPAddress.HostToNetworkOrder and BitConverter.GetBytes).
  5. We also cache the encoded result to avoid computing/allocating the
  6. encoded message twice (in most cases) for the handshake. Added a
  7. Compare static method to compare byte arrays (easier to step out when
  8. debugging).
  9. 2004-07-14 Carlos Guzman Alvarez <[email protected]>
  10. * Updated license head in c# source files for use
  11. always the same format.
  12. 2003-11-17 Carlos Guzmán Álvarez <[email protected]>
  13. * Mono.Security.Protocol.Tls/SslClientStream.cs:
  14. Removed ReadByte method, use innerStream.ReadByte() method instead.
  15. 2003-11-13 Carlos Guzmán Álvarez <[email protected]>
  16. * Added implementation of an SslClientStream class similar to the MS .NET Framework 1.2 documentation.
  17. The next files are no more needed:
  18. - TlsSession.cs
  19. - TlsNetworkStream.cs
  20. - TlsSocket.cs
  21. - TlsSessionState.cs
  22. The next files are renamed:
  23. - TlsSessionSettings.cs -> TlsClientSettings.cs
  24. - TlsSessionContext.cs -> TlsContext.cs
  25. The next files are new:
  26. - SslClientStream.cs ( the name is non definitive yet )
  27. The next files where changed to reflect the new canges:
  28. - TlsHandshakeMessage.cs
  29. - TlsClientCertificate.cs
  30. - TlsClientCertificateVerify.cs
  31. - TlsClientFinished.cs
  32. - TlsClientHello.cs
  33. - TlsClientKeyExchange.cs
  34. - TlsServerCertificate.cs
  35. - TlsServerCertificateRequest.cs
  36. - TlsServerFinished.cs
  37. - TlsServerHello.cs
  38. - TlsServerHelloDone.cs
  39. - TlsServerKeyExchange.cs
  40. - TlsAlert.cs
  41. - TlsCloseNotifyAlert.cs
  42. 2003-11-12 Carlos Guzmán Álvarez <[email protected]>
  43. * Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
  44. - Changes for give full error message only in debug mode ( Thanks to Sebastién Pouliot. )
  45. * Mono.Security.Protocol.Tls/TlsProtocol.cs:
  46. - Renamed to SecurityProtocolType.cs ( for match .NET 1.2 )
  47. * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
  48. - Renamed to MD5SHA1.cs ( Thanks to Sebastién Pouliot. )
  49. * Mono.Security.Cryptography/TlsCompressionMethod.cs:
  50. - Renamed to SecurityCompressionType.
  51. * Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
  52. * Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
  53. * Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:
  54. - New enumerations that matches .NET 1.2 definitions with some minor differences.
  55. * Mono.Security.Protocol.Tls/CipherSuite.cs:
  56. * Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
  57. * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
  58. * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
  59. - Added changes for make use of new enumerations.
  60. * Mono.Security.Protocol.Tls/TlsClientStream.cs:
  61. - Added new informative properties that matches .NET 1.2 SslClientStream
  62. ( Not all the properties are implemented yet ).
  63. 2003-11-10 Carlos Guzmán Álvarez <[email protected]>
  64. * Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
  65. - Fixed invalid alert message.
  66. * Mono.Security.Protocol.Tls/CipherSuite.cs:
  67. * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
  68. * Mono.Security.Cryptography/HMAC.cs:
  69. * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
  70. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
  71. - Changed ( Thanks to Sebastién Pouliot for his feedback )
  72. SHA1CryptoServiceProvider sha = new SHA1CryptoServiceProvider();
  73. MD5CryptoServiceProvider sha = new MD5CryptoServiceProvider();
  74. to
  75. HashAlgorithm sha = SHA1.Create();
  76. HashAlgorithm md5 = MD5.Create();
  77. 2003-11-04 Carlos Guzmán Álvarez <[email protected]>
  78. * Mono.Security.Protocol.Tls/CipherSuite.cs:
  79. - Added custom padding for record encryption.
  80. 2003-11-03 Carlos Guzmán Álvarez <[email protected]>
  81. * Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessages.cs:
  82. - Removed file.
  83. * Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:
  84. - New class for handshake hashes calculation on SSL3 protocol.
  85. * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
  86. - Fixed mac keys clearing for SSL3 protocol.
  87. * Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
  88. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
  89. - Added changes for make use of new TlsSslHandshakeHash class.
  90. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
  91. - Added initial implementation for SSL3 protocol.
  92. * Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
  93. - New class for md5-sha hash calculation.
  94. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
  95. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
  96. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
  97. * Mono.Security.Protocol.Tls.Handshake.Client/TlsHandshakeMessage.cs:
  98. - Make use of new MD5SHA1CryptoServiceProvider class.
  99. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
  100. - Added initial implementation (not finished).
  101. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
  102. - Minor change to message processing.
  103. - Changed verify method name to verifySignature.
  104. * Mono.Security.Protocol.Tls/TlsSessionContext.cs:
  105. - Changed handshakeHashes member to be an TlsStream.
  106. 2003-10-28 Carlos Guzmán Álvarez <[email protected]>
  107. * Mono.Security.Protocol.Tls/CipherSuite.cs:
  108. * Mono.Security.Protocol.Tls/TlsSessionSettings.cs:
  109. * Mono.Security.Protocol.Tls/TlsServerSettings.cs:
  110. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
  111. * Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
  112. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
  113. * Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
  114. - Added changes for make use of X509 classes from mono.
  115. 2003-10-23 Carlos Guzmán Álvarez <[email protected]>
  116. * Added partial implementation of SSL3 protocol ( not finished yet ).