[pgsqlclient-checkins] pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handsha
Status: Inactive
Brought to you by:
carlosga_fb
From: Carlos G. Á. <car...@us...> - 2005-04-04 21:11:34
|
Update of /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1823/Mono.Security.Protocol.Tls.Handshake.Server Modified Files: TlsClientCertificate.cs TlsClientCertificateVerify.cs TlsClientFinished.cs TlsClientHello.cs TlsClientKeyExchange.cs TlsServerCertificate.cs TlsServerCertificateRequest.cs TlsServerFinished.cs TlsServerHello.cs TlsServerHelloDone.cs TlsServerKeyExchange.cs Log Message: Update with the same sources existente in the Mono SVN Index: TlsServerCertificate.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Server/TlsServerCertificate.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** TlsServerCertificate.cs 4 Mar 2004 15:41:55 -0000 1.5 --- TlsServerCertificate.cs 4 Apr 2005 21:10:52 -0000 1.6 *************** *** 1,25 **** ! /* Transport Security Layer (TLS) ! * Copyright (c) 2003-2004 Carlos Guzman Alvarez ! * ! * Permission is hereby granted, free of charge, to any person ! * obtaining a copy of this software and associated documentation ! * files (the "Software"), to deal in the Software without restriction, ! * including without limitation the rights to use, copy, modify, merge, ! * publish, distribute, sublicense, and/or sell copies of the Software, ! * and to permit persons to whom the Software is furnished to do so, ! * subject to the following conditions: ! * ! * The above copyright notice and this permission notice shall be included ! * in all copies or substantial portions of the Software. ! * ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT ! * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, ! * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ! * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ! * DEALINGS IN THE SOFTWARE. ! */ using System; --- 1,25 ---- ! // Transport Security Layer (TLS) ! // Copyright (c) 2003-2004 Carlos Guzman Alvarez ! ! // ! // Permission is hereby granted, free of charge, to any person obtaining ! // a copy of this software and associated documentation files (the ! // "Software"), to deal in the Software without restriction, including ! // without limitation the rights to use, copy, modify, merge, publish, ! // distribute, sublicense, and/or sell copies of the Software, and to ! // permit persons to whom the Software is furnished to do so, subject to ! // the following conditions: ! // ! // The above copyright notice and this permission notice shall be ! // included in all copies or substantial portions of the Software. ! // ! // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ! // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ! // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ! // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ! // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ! // using System; Index: TlsServerHelloDone.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Server/TlsServerHelloDone.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TlsServerHelloDone.cs 4 Mar 2004 15:41:55 -0000 1.4 --- TlsServerHelloDone.cs 4 Apr 2005 21:10:52 -0000 1.5 *************** *** 1,25 **** ! /* Transport Security Layer (TLS) ! * Copyright (c) 2003-2004 Carlos Guzman Alvarez ! * ! * Permission is hereby granted, free of charge, to any person ! * obtaining a copy of this software and associated documentation ! * files (the "Software"), to deal in the Software without restriction, ! * including without limitation the rights to use, copy, modify, merge, ! * publish, distribute, sublicense, and/or sell copies of the Software, ! * and to permit persons to whom the Software is furnished to do so, ! * subject to the following conditions: ! * ! * The above copyright notice and this permission notice shall be included ! * in all copies or substantial portions of the Software. ! * ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT ! * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, ! * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ! * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ! * DEALINGS IN THE SOFTWARE. ! */ using System; --- 1,25 ---- ! // Transport Security Layer (TLS) ! // Copyright (c) 2003-2004 Carlos Guzman Alvarez ! ! // ! // Permission is hereby granted, free of charge, to any person obtaining ! // a copy of this software and associated documentation files (the ! // "Software"), to deal in the Software without restriction, including ! // without limitation the rights to use, copy, modify, merge, publish, ! // distribute, sublicense, and/or sell copies of the Software, and to ! // permit persons to whom the Software is furnished to do so, subject to ! // the following conditions: ! // ! // The above copyright notice and this permission notice shall be ! // included in all copies or substantial portions of the Software. ! // ! // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ! // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ! // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ! // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ! // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ! // using System; Index: TlsServerHello.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Server/TlsServerHello.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TlsServerHello.cs 4 Mar 2004 15:41:55 -0000 1.4 --- TlsServerHello.cs 4 Apr 2005 21:10:52 -0000 1.5 *************** *** 1,25 **** ! /* Transport Security Layer (TLS) ! * Copyright (c) 2003-2004 Carlos Guzman Alvarez ! * ! * Permission is hereby granted, free of charge, to any person ! * obtaining a copy of this software and associated documentation ! * files (the "Software"), to deal in the Software without restriction, ! * including without limitation the rights to use, copy, modify, merge, ! * publish, distribute, sublicense, and/or sell copies of the Software, ! * and to permit persons to whom the Software is furnished to do so, ! * subject to the following conditions: ! * ! * The above copyright notice and this permission notice shall be included ! * in all copies or substantial portions of the Software. ! * ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT ! * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, ! * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ! * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ! * DEALINGS IN THE SOFTWARE. ! */ using System; --- 1,25 ---- ! // Transport Security Layer (TLS) ! // Copyright (c) 2003-2004 Carlos Guzman Alvarez ! ! // ! // Permission is hereby granted, free of charge, to any person obtaining ! // a copy of this software and associated documentation files (the ! // "Software"), to deal in the Software without restriction, including ! // without limitation the rights to use, copy, modify, merge, publish, ! // distribute, sublicense, and/or sell copies of the Software, and to ! // permit persons to whom the Software is furnished to do so, subject to ! // the following conditions: ! // ! // The above copyright notice and this permission notice shall be ! // included in all copies or substantial portions of the Software. ! // ! // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ! // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ! // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ! // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ! // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ! // using System; Index: TlsClientHello.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** TlsClientHello.cs 21 Apr 2004 12:58:12 -0000 1.10 --- TlsClientHello.cs 4 Apr 2005 21:10:52 -0000 1.11 *************** *** 1,25 **** ! /* Transport Security Layer (TLS) ! * Copyright (c) 2003-2004 Carlos Guzman Alvarez ! * ! * Permission is hereby granted, free of charge, to any person ! * obtaining a copy of this software and associated documentation ! * files (the "Software"), to deal in the Software without restriction, ! * including without limitation the rights to use, copy, modify, merge, ! * publish, distribute, sublicense, and/or sell copies of the Software, ! * and to permit persons to whom the Software is furnished to do so, ! * subject to the following conditions: ! * ! * The above copyright notice and this permission notice shall be included ! * in all copies or substantial portions of the Software. ! * ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT ! * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, ! * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ! * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ! * DEALINGS IN THE SOFTWARE. ! */ using System; --- 1,25 ---- ! // Transport Security Layer (TLS) ! // Copyright (c) 2003-2004 Carlos Guzman Alvarez ! ! // ! // Permission is hereby granted, free of charge, to any person obtaining ! // a copy of this software and associated documentation files (the ! // "Software"), to deal in the Software without restriction, including ! // without limitation the rights to use, copy, modify, merge, publish, ! // distribute, sublicense, and/or sell copies of the Software, and to ! // permit persons to whom the Software is furnished to do so, subject to ! // the following conditions: ! // ! // The above copyright notice and this permission notice shall be ! // included in all copies or substantial portions of the Software. ! // ! // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ! // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ! // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ! // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ! // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ! // using System; Index: TlsClientFinished.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Server/TlsClientFinished.cs,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** TlsClientFinished.cs 30 Nov 2004 14:02:40 -0000 1.9 --- TlsClientFinished.cs 4 Apr 2005 21:10:52 -0000 1.10 *************** *** 1,25 **** ! /* Transport Security Layer (TLS) ! * Copyright (c) 2003-2004 Carlos Guzman Alvarez ! * ! * Permission is hereby granted, free of charge, to any person ! * obtaining a copy of this software and associated documentation ! * files (the "Software"), to deal in the Software without restriction, ! * including without limitation the rights to use, copy, modify, merge, ! * publish, distribute, sublicense, and/or sell copies of the Software, ! * and to permit persons to whom the Software is furnished to do so, ! * subject to the following conditions: ! * ! * The above copyright notice and this permission notice shall be included ! * in all copies or substantial portions of the Software. ! * ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT ! * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, ! * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ! * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ! * DEALINGS IN THE SOFTWARE. ! */ using System; --- 1,25 ---- ! // Transport Security Layer (TLS) ! // Copyright (c) 2003-2004 Carlos Guzman Alvarez ! ! // ! // Permission is hereby granted, free of charge, to any person obtaining ! // a copy of this software and associated documentation files (the ! // "Software"), to deal in the Software without restriction, including ! // without limitation the rights to use, copy, modify, merge, publish, ! // distribute, sublicense, and/or sell copies of the Software, and to ! // permit persons to whom the Software is furnished to do so, subject to ! // the following conditions: ! // ! // The above copyright notice and this permission notice shall be ! // included in all copies or substantial portions of the Software. ! // ! // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ! // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ! // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ! // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ! // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ! // using System; Index: TlsClientCertificateVerify.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** TlsClientCertificateVerify.cs 21 Apr 2004 12:58:10 -0000 1.7 --- TlsClientCertificateVerify.cs 4 Apr 2005 21:10:52 -0000 1.8 *************** *** 1,25 **** ! /* Transport Security Layer (TLS) ! * Copyright (c) 2003-2004 Carlos Guzman Alvarez ! * ! * Permission is hereby granted, free of charge, to any person ! * obtaining a copy of this software and associated documentation ! * files (the "Software"), to deal in the Software without restriction, ! * including without limitation the rights to use, copy, modify, merge, ! * publish, distribute, sublicense, and/or sell copies of the Software, ! * and to permit persons to whom the Software is furnished to do so, ! * subject to the following conditions: ! * ! * The above copyright notice and this permission notice shall be included ! * in all copies or substantial portions of the Software. ! * ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT ! * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, ! * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ! * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ! * DEALINGS IN THE SOFTWARE. ! */ using System; --- 1,25 ---- ! // Transport Security Layer (TLS) ! // Copyright (c) 2003-2004 Carlos Guzman Alvarez ! ! // ! // Permission is hereby granted, free of charge, to any person obtaining ! // a copy of this software and associated documentation files (the ! // "Software"), to deal in the Software without restriction, including ! // without limitation the rights to use, copy, modify, merge, publish, ! // distribute, sublicense, and/or sell copies of the Software, and to ! // permit persons to whom the Software is furnished to do so, subject to ! // the following conditions: ! // ! // The above copyright notice and this permission notice shall be ! // included in all copies or substantial portions of the Software. ! // ! // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ! // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ! // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ! // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ! // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ! // using System; Index: TlsClientKeyExchange.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Server/TlsClientKeyExchange.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** TlsClientKeyExchange.cs 28 Aug 2004 20:48:05 -0000 1.8 --- TlsClientKeyExchange.cs 4 Apr 2005 21:10:52 -0000 1.9 *************** *** 1,25 **** ! /* Transport Security Layer (TLS) ! * Copyright (c) 2003-2004 Carlos Guzman Alvarez ! * ! * Permission is hereby granted, free of charge, to any person ! * obtaining a copy of this software and associated documentation ! * files (the "Software"), to deal in the Software without restriction, ! * including without limitation the rights to use, copy, modify, merge, ! * publish, distribute, sublicense, and/or sell copies of the Software, ! * and to permit persons to whom the Software is furnished to do so, ! * subject to the following conditions: ! * ! * The above copyright notice and this permission notice shall be included ! * in all copies or substantial portions of the Software. ! * ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT ! * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, ! * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ! * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ! * DEALINGS IN THE SOFTWARE. ! */ using System; --- 1,25 ---- ! // Transport Security Layer (TLS) ! // Copyright (c) 2003-2004 Carlos Guzman Alvarez ! ! // ! // Permission is hereby granted, free of charge, to any person obtaining ! // a copy of this software and associated documentation files (the ! // "Software"), to deal in the Software without restriction, including ! // without limitation the rights to use, copy, modify, merge, publish, ! // distribute, sublicense, and/or sell copies of the Software, and to ! // permit persons to whom the Software is furnished to do so, subject to ! // the following conditions: ! // ! // The above copyright notice and this permission notice shall be ! // included in all copies or substantial portions of the Software. ! // ! // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ! // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ! // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ! // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ! // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ! // using System; *************** *** 30,54 **** namespace Mono.Security.Protocol.Tls.Handshake.Server { ! internal class TlsClientKeyExchange : HandshakeMessage ! { ! #region Constructors ! public TlsClientKeyExchange(Context context, byte[] buffer) : base(context, HandshakeType.ClientKeyExchange, buffer) ! { ! } ! #endregion ! #region Protected Methods ! protected override void ProcessAsSsl3() ! { AsymmetricAlgorithm privKey = null; ServerContext context = (ServerContext)this.Context; ! ! // Select the private key information privKey = context.SslStream.RaisePrivateKeySelection( new X509Certificate(context.ServerSettings.Certificates[0].RawData), --- 30,54 ---- namespace Mono.Security.Protocol.Tls.Handshake.Server { ! internal class TlsClientKeyExchange : HandshakeMessage ! { ! #region Constructors ! public TlsClientKeyExchange(Context context, byte[] buffer) : base(context, HandshakeType.ClientKeyExchange, buffer) ! { ! } ! #endregion ! #region Protected Methods ! protected override void ProcessAsSsl3() ! { AsymmetricAlgorithm privKey = null; ServerContext context = (ServerContext)this.Context; ! ! // Select the private key information privKey = context.SslStream.RaisePrivateKeySelection( new X509Certificate(context.ServerSettings.Certificates[0].RawData), *************** *** 61,90 **** // Read client premaster secret ! byte[] clientSecret = this.ReadBytes((int)this.Length); ! // Decrypt premaster secret RSAPKCS1KeyExchangeDeformatter deformatter = new RSAPKCS1KeyExchangeDeformatter(privKey); byte[] preMasterSecret = deformatter.DecryptKeyExchange(clientSecret); ! // Create master secret ! this.Context.Cipher.ComputeMasterSecret(preMasterSecret); ! ! // Create keys ! this.Context.Cipher.ComputeKeys(); ! // Initialize Cipher Suite ! this.Context.Cipher.InitializeCipher(); ! // Clear resources ! privKey.Clear(); } ! protected override void ProcessAsTls1() ! { AsymmetricAlgorithm privKey = null; ServerContext context = (ServerContext)this.Context; ! ! // Select the private key information // Select the private key information privKey = context.SslStream.RaisePrivateKeySelection( --- 61,87 ---- // Read client premaster secret ! byte[] clientSecret = this.ReadBytes((int)this.Length); ! // Decrypt premaster secret RSAPKCS1KeyExchangeDeformatter deformatter = new RSAPKCS1KeyExchangeDeformatter(privKey); byte[] preMasterSecret = deformatter.DecryptKeyExchange(clientSecret); ! // Create master secret ! this.Context.Cipher.ComputeMasterSecret(preMasterSecret); ! // Create keys ! this.Context.Cipher.ComputeKeys(); ! // Initialize Cipher Suite ! this.Context.Cipher.InitializeCipher(); } ! protected override void ProcessAsTls1() ! { AsymmetricAlgorithm privKey = null; ServerContext context = (ServerContext)this.Context; ! ! // Select the private key information // Select the private key information privKey = context.SslStream.RaisePrivateKeySelection( *************** *** 98,122 **** // Read client premaster secret ! byte[] clientSecret = this.ReadBytes(this.ReadInt16()); ! ! // Decrypt premaster secret ! RSAPKCS1KeyExchangeDeformatter deformatter = new RSAPKCS1KeyExchangeDeformatter(privKey); ! byte[] preMasterSecret = deformatter.DecryptKeyExchange(clientSecret); ! // Create master secret ! this.Context.Cipher.ComputeMasterSecret(preMasterSecret); ! // Create keys ! this.Context.Cipher.ComputeKeys(); ! // Initialize Cipher Suite ! this.Context.Cipher.InitializeCipher(); ! // Clear resources ! privKey.Clear(); ! } ! #endregion ! } } --- 95,116 ---- // Read client premaster secret ! byte[] clientSecret = this.ReadBytes(this.ReadInt16()); ! // Decrypt premaster secret ! RSAPKCS1KeyExchangeDeformatter deformatter = new RSAPKCS1KeyExchangeDeformatter(privKey); ! byte[] preMasterSecret = deformatter.DecryptKeyExchange(clientSecret); ! // Create master secret ! this.Context.Cipher.ComputeMasterSecret(preMasterSecret); ! // Create keys ! this.Context.Cipher.ComputeKeys(); ! // Initialize Cipher Suite ! this.Context.Cipher.InitializeCipher(); ! } ! #endregion ! } } Index: TlsServerCertificateRequest.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Server/TlsServerCertificateRequest.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** TlsServerCertificateRequest.cs 21 Apr 2004 12:58:12 -0000 1.6 --- TlsServerCertificateRequest.cs 4 Apr 2005 21:10:52 -0000 1.7 *************** *** 1,25 **** ! /* Transport Security Layer (TLS) ! * Copyright (c) 2003-2004 Carlos Guzman Alvarez ! * ! * Permission is hereby granted, free of charge, to any person ! * obtaining a copy of this software and associated documentation ! * files (the "Software"), to deal in the Software without restriction, ! * including without limitation the rights to use, copy, modify, merge, ! * publish, distribute, sublicense, and/or sell copies of the Software, ! * and to permit persons to whom the Software is furnished to do so, ! * subject to the following conditions: ! * ! * The above copyright notice and this permission notice shall be included ! * in all copies or substantial portions of the Software. ! * ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT ! * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, ! * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ! * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ! * DEALINGS IN THE SOFTWARE. ! */ using System; --- 1,25 ---- ! // Transport Security Layer (TLS) ! // Copyright (c) 2003-2004 Carlos Guzman Alvarez ! ! // ! // Permission is hereby granted, free of charge, to any person obtaining ! // a copy of this software and associated documentation files (the ! // "Software"), to deal in the Software without restriction, including ! // without limitation the rights to use, copy, modify, merge, publish, ! // distribute, sublicense, and/or sell copies of the Software, and to ! // permit persons to whom the Software is furnished to do so, subject to ! // the following conditions: ! // ! // The above copyright notice and this permission notice shall be ! // included in all copies or substantial portions of the Software. ! // ! // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ! // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ! // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ! // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ! // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ! // using System; Index: TlsClientCertificate.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificate.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** TlsClientCertificate.cs 9 Apr 2004 08:43:37 -0000 1.5 --- TlsClientCertificate.cs 4 Apr 2005 21:10:52 -0000 1.6 *************** *** 1,25 **** ! /* Transport Security Layer (TLS) ! * Copyright (c) 2003-2004 Carlos Guzman Alvarez ! * ! * Permission is hereby granted, free of charge, to any person ! * obtaining a copy of this software and associated documentation ! * files (the "Software"), to deal in the Software without restriction, ! * including without limitation the rights to use, copy, modify, merge, ! * publish, distribute, sublicense, and/or sell copies of the Software, ! * and to permit persons to whom the Software is furnished to do so, ! * subject to the following conditions: ! * ! * The above copyright notice and this permission notice shall be included ! * in all copies or substantial portions of the Software. ! * ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT ! * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, ! * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ! * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ! * DEALINGS IN THE SOFTWARE. ! */ using System; --- 1,25 ---- ! // Transport Security Layer (TLS) ! // Copyright (c) 2003-2004 Carlos Guzman Alvarez ! ! // ! // Permission is hereby granted, free of charge, to any person obtaining ! // a copy of this software and associated documentation files (the ! // "Software"), to deal in the Software without restriction, including ! // without limitation the rights to use, copy, modify, merge, publish, ! // distribute, sublicense, and/or sell copies of the Software, and to ! // permit persons to whom the Software is furnished to do so, subject to ! // the following conditions: ! // ! // The above copyright notice and this permission notice shall be ! // included in all copies or substantial portions of the Software. ! // ! // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ! // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ! // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ! // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ! // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ! // using System; Index: TlsServerKeyExchange.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Server/TlsServerKeyExchange.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TlsServerKeyExchange.cs 17 Mar 2004 16:33:36 -0000 1.4 --- TlsServerKeyExchange.cs 4 Apr 2005 21:10:52 -0000 1.5 *************** *** 1,25 **** ! /* Transport Security Layer (TLS) ! * Copyright (c) 2003-2004 Carlos Guzman Alvarez ! * ! * Permission is hereby granted, free of charge, to any person ! * obtaining a copy of this software and associated documentation ! * files (the "Software"), to deal in the Software without restriction, ! * including without limitation the rights to use, copy, modify, merge, ! * publish, distribute, sublicense, and/or sell copies of the Software, ! * and to permit persons to whom the Software is furnished to do so, ! * subject to the following conditions: ! * ! * The above copyright notice and this permission notice shall be included ! * in all copies or substantial portions of the Software. ! * ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT ! * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, ! * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ! * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ! * DEALINGS IN THE SOFTWARE. ! */ using System; --- 1,25 ---- ! // Transport Security Layer (TLS) ! // Copyright (c) 2003-2004 Carlos Guzman Alvarez ! ! // ! // Permission is hereby granted, free of charge, to any person obtaining ! // a copy of this software and associated documentation files (the ! // "Software"), to deal in the Software without restriction, including ! // without limitation the rights to use, copy, modify, merge, publish, ! // distribute, sublicense, and/or sell copies of the Software, and to ! // permit persons to whom the Software is furnished to do so, subject to ! // the following conditions: ! // ! // The above copyright notice and this permission notice shall be ! // included in all copies or substantial portions of the Software. ! // ! // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ! // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ! // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ! // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ! // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ! // using System; Index: TlsServerFinished.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Server/TlsServerFinished.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** TlsServerFinished.cs 9 Mar 2004 22:04:55 -0000 1.6 --- TlsServerFinished.cs 4 Apr 2005 21:10:52 -0000 1.7 *************** *** 1,25 **** ! /* Transport Security Layer (TLS) ! * Copyright (c) 2003-2004 Carlos Guzman Alvarez ! * ! * Permission is hereby granted, free of charge, to any person ! * obtaining a copy of this software and associated documentation ! * files (the "Software"), to deal in the Software without restriction, ! * including without limitation the rights to use, copy, modify, merge, ! * publish, distribute, sublicense, and/or sell copies of the Software, ! * and to permit persons to whom the Software is furnished to do so, ! * subject to the following conditions: ! * ! * The above copyright notice and this permission notice shall be included ! * in all copies or substantial portions of the Software. ! * ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT ! * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, ! * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ! * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ! * DEALINGS IN THE SOFTWARE. ! */ using System; --- 1,25 ---- ! // Transport Security Layer (TLS) ! // Copyright (c) 2003-2004 Carlos Guzman Alvarez ! ! // ! // Permission is hereby granted, free of charge, to any person obtaining ! // a copy of this software and associated documentation files (the ! // "Software"), to deal in the Software without restriction, including ! // without limitation the rights to use, copy, modify, merge, publish, ! // distribute, sublicense, and/or sell copies of the Software, and to ! // permit persons to whom the Software is furnished to do so, subject to ! // the following conditions: ! // ! // The above copyright notice and this permission notice shall be ! // included in all copies or substantial portions of the Software. ! // ! // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ! // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ! // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ! // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ! // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ! // using System; |