using System;
using System.Collections;
namespace System.Security.Cryptography.X509Certificates
{
/// Supports a simple iteration over an . This class cannot be inherited.
// Token: 0x02000290 RID: 656
public sealed class X509ChainElementEnumerator : IEnumerator
{
// Token: 0x0600183D RID: 6205 RVA: 0x00052750 File Offset: 0x00050950
internal X509ChainElementEnumerator(IEnumerable enumerable)
{
this.enumerator = enumerable.GetEnumerator();
}
/// Gets the current element in the .
/// The current element in the .
/// The enumerator is positioned before the first element of the collection or after the last element.
// Token: 0x1700079C RID: 1948
// (get) Token: 0x0600183E RID: 6206 RVA: 0x00052764 File Offset: 0x00050964
object IEnumerator.Current
{
get
{
return this.enumerator.Current;
}
}
/// Gets the current element in the .
/// The current element in the .
/// The enumerator is positioned before the first element of the collection or after the last element.
///
///
///
// Token: 0x1700079D RID: 1949
// (get) Token: 0x0600183F RID: 6207 RVA: 0x00052774 File Offset: 0x00050974
public X509ChainElement Current
{
get
{
return (X509ChainElement)this.enumerator.Current;
}
}
/// Advances the enumerator to the next element in the .
/// true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
/// The collection was modified after the enumerator was created.
// Token: 0x06001840 RID: 6208 RVA: 0x00052788 File Offset: 0x00050988
public bool MoveNext()
{
return this.enumerator.MoveNext();
}
/// Sets the enumerator to its initial position, which is before the first element in the .
/// The collection was modified after the enumerator was created.
// Token: 0x06001841 RID: 6209 RVA: 0x00052798 File Offset: 0x00050998
public void Reset()
{
this.enumerator.Reset();
}
// Token: 0x0400131B RID: 4891
private IEnumerator enumerator;
}
}