Author: spouliot
Date: 2005-04-23 10:05:49 -0400 (Sat, 23 Apr 2005)
New Revision: 43478
Modified:
trunk/mcs/class/System.Security/System.Security.Cryptography/ChangeLog
trunk/mcs/class/System.Security/System.Security.Cryptography/CryptographicAttribute.cs
trunk/mcs/class/System.Security/System.Security.Cryptography/CryptographicAttributeCollection.cs
trunk/mcs/class/System.Security/System.Security.Cryptography/CryptographicAttributeEnumerator.cs
Log:
2005-04-23 Sebastien Pouliot <[EMAIL PROTECTED]>
* CryptographicAttribute.cs: Renamed class to CryptographicAttribute
Object to match beta2.
* CryptographicAttributeCollection.cs: Renamed class to Cryptographic
AttributeObjectCollection to match beta2.
* CryptographicAttributeEnumerator.cs: Renamed class to Cryptographic
AttributeObjectEnumerator to match beta2.
Modified: trunk/mcs/class/System.Security/System.Security.Cryptography/ChangeLog
===================================================================
--- trunk/mcs/class/System.Security/System.Security.Cryptography/ChangeLog
2005-04-23 13:09:01 UTC (rev 43477)
+++ trunk/mcs/class/System.Security/System.Security.Cryptography/ChangeLog
2005-04-23 14:05:49 UTC (rev 43478)
@@ -1,3 +1,12 @@
+2005-04-23 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * CryptographicAttribute.cs: Renamed class to CryptographicAttribute
+ Object to match beta2.
+ * CryptographicAttributeCollection.cs: Renamed class to Cryptographic
+ AttributeObjectCollection to match beta2.
+ * CryptographicAttributeEnumerator.cs: Renamed class to Cryptographic
+ AttributeObjectEnumerator to match beta2.
+
2005-01-20 Sebastien Pouliot <[EMAIL PROTECTED]>
* AsnEncodedData.cs: Added "internal" support for SubjectAltName
Modified:
trunk/mcs/class/System.Security/System.Security.Cryptography/CryptographicAttribute.cs
===================================================================
---
trunk/mcs/class/System.Security/System.Security.Cryptography/CryptographicAttribute.cs
2005-04-23 13:09:01 UTC (rev 43477)
+++
trunk/mcs/class/System.Security/System.Security.Cryptography/CryptographicAttribute.cs
2005-04-23 14:05:49 UTC (rev 43478)
@@ -1,5 +1,5 @@
//
-// CryptographicAttribute.cs -
System.Security.Cryptography.CryptographicAttribute
+// System.Security.Cryptography.CryptographicAttributeObject class
//
// Author:
// Sebastien Pouliot <[EMAIL PROTECTED]>
@@ -33,14 +33,14 @@
namespace System.Security.Cryptography {
- public sealed class CryptographicAttribute {
+ public sealed class CryptographicAttributeObject {
private Oid _oid;
private AsnEncodedDataCollection _list;
// constructors
- public CryptographicAttribute (Oid oid)
+ public CryptographicAttributeObject (Oid oid)
{
if (oid == null)
throw new ArgumentNullException ("oid");
@@ -49,7 +49,7 @@
_list = new AsnEncodedDataCollection ();
}
- public CryptographicAttribute (Oid oid,
AsnEncodedDataCollection values)
+ public CryptographicAttributeObject (Oid oid,
AsnEncodedDataCollection values)
{
if (oid == null)
throw new ArgumentNullException ("oid");
Modified:
trunk/mcs/class/System.Security/System.Security.Cryptography/CryptographicAttributeCollection.cs
===================================================================
---
trunk/mcs/class/System.Security/System.Security.Cryptography/CryptographicAttributeCollection.cs
2005-04-23 13:09:01 UTC (rev 43477)
+++
trunk/mcs/class/System.Security/System.Security.Cryptography/CryptographicAttributeCollection.cs
2005-04-23 14:05:49 UTC (rev 43478)
@@ -1,11 +1,11 @@
//
-// System.Security.Cryptography.CryptographicAttributeCollection
+// System.Security.Cryptography.CryptographicAttributeObjectCollection class
//
// Author:
// Sebastien Pouliot <[EMAIL PROTECTED]>
//
// (C) 2003 Motus Technologies Inc. (http://www.motus.com)
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
@@ -29,21 +29,20 @@
#if NET_2_0
-using System;
using System.Collections;
namespace System.Security.Cryptography {
- public sealed class CryptographicAttributeCollection : ICollection,
IEnumerable {
+ public sealed class CryptographicAttributeObjectCollection :
ICollection, IEnumerable {
private ArrayList _list;
- public CryptographicAttributeCollection ()
+ public CryptographicAttributeObjectCollection ()
{
_list = new ArrayList ();
}
- public CryptographicAttributeCollection (CryptographicAttribute
attribute)
+ public CryptographicAttributeObjectCollection
(CryptographicAttributeObject attribute)
: this ()
{
_list.Add (attribute);
@@ -59,8 +58,8 @@
get { return _list.IsSynchronized; }
}
- public CryptographicAttribute this [int index] {
- get { return (CryptographicAttribute) _list [index]; }
+ public CryptographicAttributeObject this [int index] {
+ get { return (CryptographicAttributeObject) _list
[index]; }
}
public object SyncRoot {
@@ -77,7 +76,7 @@
return _list.Add (asnEncodedData);
}
- public int Add (CryptographicAttribute attribute)
+ public int Add (CryptographicAttributeObject attribute)
{
if (attribute == null)
throw new ArgumentNullException ("attribute");
@@ -85,7 +84,7 @@
return _list.Add (attribute);
}
- public void CopyTo (CryptographicAttribute[] array, int index)
+ public void CopyTo (CryptographicAttributeObject[] array, int
index)
{
_list.CopyTo (array, index);
}
@@ -95,17 +94,17 @@
_list.CopyTo (array, index);
}
- public CryptographicAttributeEnumerator GetEnumerator ()
+ public CryptographicAttributeObjectEnumerator GetEnumerator ()
{
- return new CryptographicAttributeEnumerator (_list);
+ return new CryptographicAttributeObjectEnumerator
(_list);
}
IEnumerator IEnumerable.GetEnumerator ()
{
- return new CryptographicAttributeEnumerator (_list);
+ return new CryptographicAttributeObjectEnumerator
(_list);
}
- public void Remove (CryptographicAttribute attribute)
+ public void Remove (CryptographicAttributeObject attribute)
{
_list.Remove (attribute);
}
Modified:
trunk/mcs/class/System.Security/System.Security.Cryptography/CryptographicAttributeEnumerator.cs
===================================================================
---
trunk/mcs/class/System.Security/System.Security.Cryptography/CryptographicAttributeEnumerator.cs
2005-04-23 13:09:01 UTC (rev 43477)
+++
trunk/mcs/class/System.Security/System.Security.Cryptography/CryptographicAttributeEnumerator.cs
2005-04-23 14:05:49 UTC (rev 43478)
@@ -1,11 +1,11 @@
//
-// System.Security.Cryptography.CryptographicAttributeEnumerator
+// System.Security.Cryptography.CryptographicAttributeObjectEnumerator class
//
// Author:
// Sebastien Pouliot <[EMAIL PROTECTED]>
//
// (C) 2003 Motus Technologies Inc. (http://www.motus.com)
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
@@ -29,26 +29,25 @@
#if NET_2_0
-using System;
using System.Collections;
namespace System.Security.Cryptography {
- public sealed class CryptographicAttributeEnumerator : IEnumerator {
+ public sealed class CryptographicAttributeObjectEnumerator :
IEnumerator {
private IEnumerator enumerator;
// constructors
- internal CryptographicAttributeEnumerator (IEnumerable
enumerable)
+ internal CryptographicAttributeObjectEnumerator (IEnumerable
enumerable)
{
enumerator = enumerable.GetEnumerator ();
}
// properties
- public CryptographicAttribute Current {
- get { return (CryptographicAttribute)
enumerator.Current; }
+ public CryptographicAttributeObject Current {
+ get { return (CryptographicAttributeObject)
enumerator.Current; }
}
object IEnumerator.Current {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches