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: 0x020001F1 RID: 497
|
|
[Token(Token = "0x20001F1")]
|
|
public class X509Extension : AsnEncodedData
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509Extension" /> class.</summary>
|
|
// Token: 0x06000CF8 RID: 3320 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000CF8")]
|
|
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
|
|
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: 0x1700026E RID: 622
|
|
// (get) Token: 0x06000CF9 RID: 3321 RVA: 0x00006BD0 File Offset: 0x00004DD0
|
|
// (set) Token: 0x06000CFA RID: 3322 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700026E")]
|
|
public bool Critical
|
|
{
|
|
[Token(Token = "0x6000CF9")]
|
|
[Address(RVA = "0x3F71D0", Offset = "0x3F5FD0", VA = "0x1803F71D0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
[Token(Token = "0x6000CFA")]
|
|
[Address(RVA = "0x41EF80", Offset = "0x41DD80", VA = "0x18041EF80")]
|
|
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: 0x06000CFB RID: 3323 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000CFB")]
|
|
[Address(RVA = "0x51C5D0", Offset = "0x51B3D0", VA = "0x18051C5D0", Slot = "4")]
|
|
public override void CopyFrom(AsnEncodedData asnEncodedData)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000CFC RID: 3324 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000CFC")]
|
|
[Address(RVA = "0x51C6E0", Offset = "0x51B4E0", VA = "0x18051C6E0")]
|
|
internal string FormatUnkownData(byte[] data)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x04000702 RID: 1794
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000702")]
|
|
private bool _critical;
|
|
}
|
|
}
|