using System; using System.Collections; namespace System.Security.Cryptography { /// Represents a collection of objects. This class cannot be inherited. // Token: 0x020002A5 RID: 677 public sealed class AsnEncodedDataCollection : ICollection, IEnumerable { /// Initializes a new instance of the class. // Token: 0x060018B8 RID: 6328 RVA: 0x00054DAC File Offset: 0x00052FAC public AsnEncodedDataCollection() { this._list = new ArrayList(); } /// Initializes a new instance of the class and adds an object to the collection. /// The object to add to the collection. // Token: 0x060018B9 RID: 6329 RVA: 0x00054DC0 File Offset: 0x00052FC0 public AsnEncodedDataCollection(AsnEncodedData asnEncodedData) { this._list = new ArrayList(); this._list.Add(asnEncodedData); } /// Copies the object into an array. /// The array that the object is to be copied into. /// The location where the copy operation starts. /// /// is a multidimensional array, which is not supported by this method. /// The length for is invalid. /// /// is null. /// The length for is out of range. // Token: 0x060018BA RID: 6330 RVA: 0x00054DE0 File Offset: 0x00052FE0 void ICollection.CopyTo(Array array, int index) { this._list.CopyTo(array, index); } /// Returns an object that can be used to navigate the object. /// An object that can be used to navigate the collection. // Token: 0x060018BB RID: 6331 RVA: 0x00054DF0 File Offset: 0x00052FF0 IEnumerator IEnumerable.GetEnumerator() { return new AsnEncodedDataEnumerator(this); } /// Gets the number of objects in a collection. /// The number of objects. // Token: 0x170007BD RID: 1981 // (get) Token: 0x060018BC RID: 6332 RVA: 0x00054DF8 File Offset: 0x00052FF8 public int Count { get { return this._list.Count; } } /// Gets a value that indicates whether access to the object is thread safe. /// false in all cases. // Token: 0x170007BE RID: 1982 // (get) Token: 0x060018BD RID: 6333 RVA: 0x00054E08 File Offset: 0x00053008 public bool IsSynchronized { get { return this._list.IsSynchronized; } } /// Gets an object from the object. /// An object. /// The location in the collection. // Token: 0x170007BF RID: 1983 public AsnEncodedData this[int index] { get { return (AsnEncodedData)this._list[index]; } } /// Gets an object that can be used to synchronize access to the object. /// An object used to synchronize access to the object. // Token: 0x170007C0 RID: 1984 // (get) Token: 0x060018BF RID: 6335 RVA: 0x00054E2C File Offset: 0x0005302C public object SyncRoot { get { return this._list.SyncRoot; } } /// Adds an object to the object. /// The index of the added object. /// The object to add to the collection. /// /// is null. /// Neither of the OIDs are null and the OIDs do not match. /// One of the OIDs is null and the OIDs do not match. // Token: 0x060018C0 RID: 6336 RVA: 0x00054E3C File Offset: 0x0005303C public int Add(AsnEncodedData asnEncodedData) { return this._list.Add(asnEncodedData); } /// Copies the object into an array. /// The array that the object is to be copied into. /// The location where the copy operation starts. // Token: 0x060018C1 RID: 6337 RVA: 0x00054E4C File Offset: 0x0005304C public void CopyTo(AsnEncodedData[] array, int index) { this._list.CopyTo(array, index); } /// Returns an object that can be used to navigate the object. /// An object. // Token: 0x060018C2 RID: 6338 RVA: 0x00054E5C File Offset: 0x0005305C public AsnEncodedDataEnumerator GetEnumerator() { return new AsnEncodedDataEnumerator(this); } /// Removes an object from the object. /// The object to remove. /// /// is null. // Token: 0x060018C3 RID: 6339 RVA: 0x00054E64 File Offset: 0x00053064 public void Remove(AsnEncodedData asnEncodedData) { this._list.Remove(asnEncodedData); } // Token: 0x040013A2 RID: 5026 private ArrayList _list; } }