68 lines
2.5 KiB
C#
68 lines
2.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Security.Cryptography.X509Certificates
|
|
{
|
|
/// <summary>Represents an X509 extension.</summary>
|
|
// Token: 0x020001ED RID: 493
|
|
[Token(Token = "0x20001ED")]
|
|
public class X509Extension : AsnEncodedData
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> class.</summary>
|
|
// Token: 0x06000CE2 RID: 3298 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000CE2")]
|
|
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
|
protected X509Extension()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets a Boolean value indicating whether the extension is critical.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the extension is critical; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x1700026A RID: 618
|
|
// (get) Token: 0x06000CE3 RID: 3299 RVA: 0x00006BB8 File Offset: 0x00004DB8
|
|
// (set) Token: 0x06000CE4 RID: 3300 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700026A")]
|
|
public bool Critical
|
|
{
|
|
[Token(Token = "0x6000CE3")]
|
|
[Address(RVA = "0x4700C0", Offset = "0x46F0C0", VA = "0x1804700C0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
[Token(Token = "0x6000CE4")]
|
|
[Address(RVA = "0x65E580", Offset = "0x65D580", VA = "0x18065E580")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Copies the extension properties of the specified <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object.</summary>
|
|
/// <param name="asnEncodedData">The <see cref="T:System.Security.Cryptography.AsnEncodedData" /> to be copied.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="asnEncodedData" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="asnEncodedData" /> does not have a valid X.509 extension.</exception>
|
|
// Token: 0x06000CE5 RID: 3301 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000CE5")]
|
|
[Address(RVA = "0xC8F840", Offset = "0xC8E840", VA = "0x180C8F840", Slot = "4")]
|
|
public override void CopyFrom(AsnEncodedData asnEncodedData)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000CE6 RID: 3302 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000CE6")]
|
|
[Address(RVA = "0xC8F950", Offset = "0xC8E950", VA = "0x180C8F950")]
|
|
internal string FormatUnkownData(byte[] data)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x040006F5 RID: 1781
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40006F5")]
|
|
private bool _critical;
|
|
}
|
|
}
|