Removed old file
[mono.git] / mcs / class / Mono.Security / Mono.Security.Protocol.Tls / TlsCipherSuite.cs
index 3f88b20aa8773b192a996169ab06183a03bcfaa5..c91b3caa29156ca06cf6e23695b14083b0e56ce0 100644 (file)
@@ -1,5 +1,5 @@
 /* Transport Security Layer (TLS)
- * Copyright (c) 2003 Carlos Guzmán Álvarez
+ * 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 
@@ -35,21 +35,23 @@ namespace Mono.Security.Protocol.Tls
 {
        internal class TlsCipherSuite : CipherSuite
        {
-               #region CONSTRUCTORS
+               #region Constructors
                
-               public TlsCipherSuite(short code, string name, string algName, 
-                       string hashName, bool exportable, bool blockMode, 
-                       byte keyMaterialSize, byte expandedKeyMaterialSize, 
-                       short effectiveKeyBytes, byte ivSize, byte blockSize) 
-                       : base (code, name, algName, hashName, exportable, blockMode,
-                       keyMaterialSize, expandedKeyMaterialSize, effectiveKeyBytes,
-                       ivSize, blockSize)
+               public TlsCipherSuite(
+                       short code, string name, CipherAlgorithmType cipherAlgorithmType, 
+                       HashAlgorithmType hashAlgorithmType, ExchangeAlgorithmType exchangeAlgorithmType,
+                       bool exportable, bool blockMode, byte keyMaterialSize, 
+                       byte expandedKeyMaterialSize, short effectiveKeyBytes, 
+                       byte ivSize, byte blockSize) :
+                       base(code, name, cipherAlgorithmType, hashAlgorithmType, 
+                       exchangeAlgorithmType, exportable, blockMode, keyMaterialSize, 
+                       expandedKeyMaterialSize, effectiveKeyBytes, ivSize, blockSize)
                {
                }
 
                #endregion
 
-               #region MAC_GENERATION_METHOD
+               #region MAC Generation Methods
 
                public override byte[] ComputeServerRecordMAC(TlsContentType contentType, byte[] fragment)
                {
@@ -89,7 +91,7 @@ namespace Mono.Security.Protocol.Tls
 
                #endregion
 
-               #region KEY_GENERATION_METODS
+               #region Key Generation Methods
 
                public override void ComputeMasterSecret(byte[] preMasterSecret)
                {