Browse Source

2002-02-26 Duncan Mak <[email protected]>

	* StrongNameKeyPair.cs: Committed for Kevin Winchester ([email protected]>.

svn path=/trunk/mcs/; revision=2703
Duncan Mak 24 years ago
parent
commit
a40a4777b3

+ 4 - 0
mcs/class/corlib/System.Reflection/ChangeLog

@@ -1,3 +1,7 @@
+2002-02-26  Duncan Mak  <[email protected]>
+
+	* StrongNameKeyPair.cs: Committed for Kevin Winchester ([email protected]>.
+
 2002-02-24 Nick Drochak  <[email protected]>
 
 	* AssemblyNameFlags.cs: Use proper member name.  Thanks corcompare!

+ 39 - 0
mcs/class/corlib/System.Reflection/StrongNameKeyPair.cs

@@ -0,0 +1,39 @@
+//
+// System.Reflection.StrongNameKeyPair.cs
+//
+// Author:
+//   Kevin Winchester ([email protected])
+//
+// (C) 2002 Kevin Winchester
+//
+
+using System.IO;
+
+namespace System.Reflection {
+
+	[Serializable]
+	public class StrongNameKeyPair 
+	{		
+		private byte[] keyPair;
+
+		public StrongNameKeyPair (byte[] keyPairArray) 
+		{
+			keyPair = keyPairArray;
+		}
+		
+		public StrongNameKeyPair (FileStream keyPairFile) 
+		{
+			
+		}
+		
+		public StrongNameKeyPair (string keyPairContainer) 
+		{
+			
+		}
+		
+		public byte[] PublicKey 
+		{
+			get { return keyPair; }
+		}
+	}
+}