Files
27Aug2021-Cpp2IL-Dump/System/Security/Cryptography/X509Certificates/X509CertificateCollection.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

173 lines
10 KiB
C#

using System;
using System.Collections;
using Cpp2IlInjected;
namespace System.Security.Cryptography.X509Certificates
{
/// <summary>Defines a collection that stores <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> objects.</summary>
// Token: 0x020001E2 RID: 482
[Token(Token = "0x20001E2")]
[Serializable]
public class X509CertificateCollection : CollectionBase
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> class.</summary>
// Token: 0x06000CA6 RID: 3238 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000CA6")]
[Address(RVA = "0x839930", Offset = "0x838930", VA = "0x180839930")]
public X509CertificateCollection()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> class from another <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />.</summary>
/// <param name="value">The <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> with which to initialize the new object.</param>
// Token: 0x06000CA7 RID: 3239 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000CA7")]
[Address(RVA = "0xC8D820", Offset = "0xC8C820", VA = "0x180C8D820")]
public X509CertificateCollection(X509CertificateCollection value)
{
}
/// <summary>Gets or sets the entry at the specified index of the current <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />.</summary>
/// <param name="index">The zero-based index of the entry to locate in the current <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />.</param>
/// <returns>The <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> at the specified index of the current <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="index" /> parameter is outside the valid range of indexes for the collection.</exception>
// Token: 0x1700025A RID: 602
[Token(Token = "0x1700025A")]
public X509Certificate this[int index]
{
[Token(Token = "0x6000CA8")]
[Address(RVA = "0xC8D9C0", Offset = "0xC8C9C0", VA = "0x180C8D9C0")]
get
{
return null;
}
}
/// <summary>Adds an <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> with the specified value to the current <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />.</summary>
/// <param name="value">The <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> to add to the current <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />.</param>
/// <returns>The index into the current <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> at which the new <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> was inserted.</returns>
// Token: 0x06000CA9 RID: 3241 RVA: 0x00006AC8 File Offset: 0x00004CC8
[Token(Token = "0x6000CA9")]
[Address(RVA = "0xC8D6C0", Offset = "0xC8C6C0", VA = "0x180C8D6C0")]
public int Add(X509Certificate value)
{
return 0;
}
/// <summary>Copies the elements of the specified <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> to the end of the current <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />.</summary>
/// <param name="value">The <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> containing the objects to add to the collection.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="value" /> parameter is <see langword="null" />.</exception>
// Token: 0x06000CAA RID: 3242 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000CAA")]
[Address(RVA = "0xC8D530", Offset = "0xC8C530", VA = "0x180C8D530")]
public void AddRange(X509CertificateCollection value)
{
}
/// <summary>Returns an enumerator that can iterate through the <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />.</summary>
/// <returns>An enumerator of the subelements of <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> you can use to iterate through the collection.</returns>
// Token: 0x06000CAB RID: 3243 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000CAB")]
[Address(RVA = "0xC8D760", Offset = "0xC8C760", VA = "0x180C8D760")]
public new X509CertificateCollection.X509CertificateEnumerator GetEnumerator()
{
return null;
}
/// <summary>Builds a hash value based on all values contained in the current <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />.</summary>
/// <returns>A hash value based on all values contained in the current <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />.</returns>
// Token: 0x06000CAC RID: 3244 RVA: 0x00006AE0 File Offset: 0x00004CE0
[Token(Token = "0x6000CAC")]
[Address(RVA = "0xC8D7F0", Offset = "0xC8C7F0", VA = "0x180C8D7F0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Enumerates the <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> objects in an <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />.</summary>
// Token: 0x020001E3 RID: 483
[Token(Token = "0x20001E3")]
public class X509CertificateEnumerator : IEnumerator
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection.X509CertificateEnumerator" /> class for the specified <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />.</summary>
/// <param name="mappings">The <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> to enumerate.</param>
// Token: 0x06000CAD RID: 3245 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000CAD")]
[Address(RVA = "0xC8DBB0", Offset = "0xC8CBB0", VA = "0x180C8DBB0")]
public X509CertificateEnumerator(X509CertificateCollection mappings)
{
}
/// <summary>Gets the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> in the <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />.</summary>
/// <returns>The current <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> in the <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />.</returns>
/// <exception cref="T:System.InvalidOperationException">The enumerator is positioned before the first element of the collection or after the last element.</exception>
// Token: 0x1700025B RID: 603
// (get) Token: 0x06000CAE RID: 3246 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700025B")]
public X509Certificate Current
{
[Token(Token = "0x6000CAE")]
[Address(RVA = "0xC8DC10", Offset = "0xC8CC10", VA = "0x180C8DC10")]
get
{
return null;
}
}
/// <summary>For a description of this member, see <see cref="P:System.Collections.IEnumerator.Current" />.</summary>
/// <returns>The current X.509 certificate object in the <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" /> object.</returns>
/// <exception cref="T:System.InvalidOperationException">The enumerator is positioned before the first element of the collection or after the last element.</exception>
// Token: 0x1700025C RID: 604
// (get) Token: 0x06000CAF RID: 3247 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700025C")]
object IEnumerator.Current
{
[Token(Token = "0x6000CAF")]
[Address(RVA = "0xC8DB60", Offset = "0xC8CB60", VA = "0x180C8DB60", Slot = "5")]
get
{
return null;
}
}
/// <summary>For a description of this member, see <see cref="M:System.Collections.IEnumerator.MoveNext" />.</summary>
/// <returns>
/// <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the collection.</returns>
/// <exception cref="T:System.InvalidOperationException">The collection was modified after the enumerator was instantiated.</exception>
// Token: 0x06000CB0 RID: 3248 RVA: 0x00006AF8 File Offset: 0x00004CF8
[Token(Token = "0x6000CB0")]
[Address(RVA = "0xC8DAC0", Offset = "0xC8CAC0", VA = "0x180C8DAC0", Slot = "4")]
bool IEnumerator.MoveNext()
{
return default(bool);
}
/// <summary>For a description of this member, see <see cref="M:System.Collections.IEnumerator.Reset" />.</summary>
/// <exception cref="T:System.InvalidOperationException">The collection was modified after the enumerator was instantiated.</exception>
// Token: 0x06000CB1 RID: 3249 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000CB1")]
[Address(RVA = "0xC8DB10", Offset = "0xC8CB10", VA = "0x180C8DB10", Slot = "6")]
void IEnumerator.Reset()
{
}
/// <summary>Advances the enumerator to the next element of the collection.</summary>
/// <returns>
/// <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the collection.</returns>
/// <exception cref="T:System.InvalidOperationException">The collection was modified after the enumerator was instantiated.</exception>
// Token: 0x06000CB2 RID: 3250 RVA: 0x00006B10 File Offset: 0x00004D10
[Token(Token = "0x6000CB2")]
[Address(RVA = "0xC8DA70", Offset = "0xC8CA70", VA = "0x180C8DA70")]
public bool MoveNext()
{
return default(bool);
}
// Token: 0x040006DF RID: 1759
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40006DF")]
private IEnumerator enumerator;
}
}
}