[pgsqlclient-checkins] pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls/Mono.Sec
Status: Inactive
Brought to you by:
carlosga_fb
|
From: <car...@us...> - 2003-10-20 14:39:07
|
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-serv29796 Modified Files: TlsHandshakeMessage.cs Log Message: * TLS implementation: - Fixed padding length calculation on record encryption. - Abstracted CipherSuite classes for allow work with other protocol versions. - Added new files : TlsAbstractCipherSuite.cs TlsSslCipherSuite.cs TlsCipherSuiteFactory.cs - Added new cipher suites definitions based on RFC3268 - (http://www.ietf.org/rfc/rfc3268.txt) - Added two new supported ciphersuites for TLS protocol: TLS_RSA_WITH_AES_256_CBC_SHA TLS_RSA_WITH_AES_128_CBC_SHA - Moved key generation stuff to specific cipher suite 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.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** TlsHandshakeMessage.cs 16 Oct 2003 14:25:43 -0000 1.6 --- TlsHandshakeMessage.cs 20 Oct 2003 10:00:35 -0000 1.7 *************** *** 28,32 **** namespace Mono.Security.Protocol.Tls.Handshake { ! internal class TlsHandshakeMessage : TlsStream { #region FIELDS --- 28,32 ---- namespace Mono.Security.Protocol.Tls.Handshake { ! internal abstract class TlsHandshakeMessage : TlsStream { #region FIELDS *************** *** 83,86 **** --- 83,94 ---- #endregion + #region ABSTRACT_METHODS + + protected abstract void ProcessAsTls1(); + + protected abstract void ProcessAsSsl3(); + + #endregion + #region METHODS *************** *** 124,135 **** return result; - } - - protected virtual void ProcessAsTls1() - { - } - - protected virtual void ProcessAsSsl3() - { } --- 132,135 ---- |