Update of /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls.Alerts
In directory sc8-pr-cvs1:/tmp/cvs-serv17573
Modified Files:
TlsAlert.cs TlsCloseNotifyAlert.cs
Log Message:
2003-11-13 Carlos Guzmán Álvarez <car...@te...>
* Added implementation of an SslClientStream class similar to the MS .NET Framework 1.2 documentation.
The next files are no more needed:
- TlsSession.cs
- TlsNetworkStream.cs
- TlsSocket.cs
- TlsSessionState.cs
The next files are renamed:
- TlsSessionSettings.cs -> TlsClientSettings.cs
- TlsSessionContext.cs -> TlsContext.cs
The next files are new:
- SslClientStream.cs ( the name is non definitive yet )
The next files where changed to reflect the new canges:
- TlsHandshakeMessage.cs
- TlsClientCertificate.cs
- TlsClientCertificateVerify.cs
- TlsClientFinished.cs
- TlsClientHello.cs
- TlsClientKeyExchange.cs
- TlsServerCertificate.cs
- TlsServerCertificateRequest.cs
- TlsServerFinished.cs
- TlsServerHello.cs
- TlsServerHelloDone.cs
- TlsServerKeyExchange.cs
- TlsAlert.cs
- TlsCloseNotifyAlert.cs
Index: TlsAlert.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** TlsAlert.cs 13 Nov 2003 09:23:17 -0000 1.4
--- TlsAlert.cs 14 Nov 2003 13:41:20 -0000 1.5
***************
*** 69,73 ****
#region FIELDS
! private TlsSession session;
private TlsAlertLevel level;
private TlsAlertDescription description;
--- 69,73 ----
#region FIELDS
! private TlsContext context;
private TlsAlertLevel level;
private TlsAlertDescription description;
***************
*** 77,83 ****
#region PROPERTIES
! public TlsSession Session
{
! get { return session; }
}
--- 77,83 ----
#region PROPERTIES
! public TlsContext Context
{
! get { return this.context; }
}
***************
*** 86,94 ****
#region CONSTRUCTORS
! public TlsAlert(TlsSession session,
TlsAlertLevel level,
TlsAlertDescription description) : base()
{
! this.session = session;
this.level = level;
this.description = description;
--- 86,94 ----
#region CONSTRUCTORS
! public TlsAlert(TlsContext context,
TlsAlertLevel level,
TlsAlertDescription description) : base()
{
! this.context = context;
this.level = level;
this.description = description;
Index: TlsCloseNotifyAlert.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls.Alerts/TlsCloseNotifyAlert.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TlsCloseNotifyAlert.cs 11 Oct 2003 10:08:17 -0000 1.1
--- TlsCloseNotifyAlert.cs 14 Nov 2003 13:41:20 -0000 1.2
***************
*** 30,35 ****
internal class TlsCloseNotifyAlert : TlsAlert
{
! public TlsCloseNotifyAlert(TlsSession session)
! : base(session,
TlsAlertLevel.Warning,
TlsAlertDescription.CloseNotify)
--- 30,35 ----
internal class TlsCloseNotifyAlert : TlsAlert
{
! public TlsCloseNotifyAlert(TlsContext context)
! : base(context,
TlsAlertLevel.Warning,
TlsAlertDescription.CloseNotify)
***************
*** 39,43 ****
public override void UpdateSession()
{
! this.Session.Context.ConnectionEnd = true;
}
}
--- 39,43 ----
public override void UpdateSession()
{
! this.Context.ConnectionEnd = true;
}
}
|