Update of /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls.Handshake
In directory sc8-pr-cvs1:/tmp/cvs-serv29178
Modified Files:
TlsHandshakeMessage.cs
Log Message:
2003-11-23 Carlos Guzmán Álvarez <car...@te...>
* Mono.Security.Protocol.Tls/SslServerStream.cs:
- Added new SslServerStream class with empty methods.
* Mono.Security.Protocol.Tls.Handshake.Server:
- New directory with class definitions of handshake message classes
for the server implementation.
- Class names for server handshake messages are the same as for
client implementation.
* Mono.Security.Protocol.Tls/SslClientStream.cs:
- Throw exception in constrctors when the targetHost or the streams are invalid.
- Added correct exception throwing in read/write methods.
- Added initial implementation of BeginRead and EndRead methods.
* Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessage.cs:
- Added new constructor.
- Changed UpdateSession() method to Update() and replaced method
name in derived classes.
Index: TlsHandshakeMessage.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessage.cs,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** TlsHandshakeMessage.cs 14 Nov 2003 13:42:26 -0000 1.12
--- TlsHandshakeMessage.cs 23 Nov 2003 12:50:26 -0000 1.13
***************
*** 61,64 ****
--- 61,71 ----
public TlsHandshakeMessage(
TlsContext context,
+ TlsHandshakeType handshakeType)
+ : this(context, handshakeType, TlsContentType.Handshake)
+ {
+ }
+
+ public TlsHandshakeMessage(
+ TlsContext context,
TlsHandshakeType handshakeType,
TlsContentType contentType) : base()
***************
*** 110,114 ****
}
! public virtual void UpdateSession()
{
if (CanWrite)
--- 117,121 ----
}
! public virtual void Update()
{
if (CanWrite)
|