Files
Aug2021-Cpp2IL-Dump/System/Security/Cryptography/X509Certificates/X509EnhancedKeyUsageExtension.cs
T
2026-04-10 22:50:51 +02:00

58 lines
2.5 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Security.Cryptography.X509Certificates
{
/// <summary>Defines the collection of object identifiers (OIDs) that indicates the applications that use the key. This class cannot be inherited.</summary>
// Token: 0x020001F0 RID: 496
[Token(Token = "0x20001F0")]
public sealed class X509EnhancedKeyUsageExtension : X509Extension
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension" /> class using an <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object and a value that identifies whether the extension is critical.</summary>
/// <param name="encodedEnhancedKeyUsages">The encoded data to use to create the extension.</param>
/// <param name="critical">
/// <see langword="true" /> if the extension is critical; otherwise, <see langword="false" />.</param>
// Token: 0x06000CF4 RID: 3316 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000CF4")]
[Address(RVA = "0x51C4C0", Offset = "0x51B2C0", VA = "0x18051C4C0")]
public X509EnhancedKeyUsageExtension(AsnEncodedData encodedEnhancedKeyUsages, bool critical)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension" /> class using an <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object.</summary>
/// <param name="asnEncodedData">The encoded data to use to create the extension.</param>
// Token: 0x06000CF5 RID: 3317 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000CF5")]
[Address(RVA = "0x51BE60", Offset = "0x51AC60", VA = "0x18051BE60", Slot = "4")]
public override void CopyFrom(AsnEncodedData asnEncodedData)
{
}
// Token: 0x06000CF6 RID: 3318 RVA: 0x00006BB8 File Offset: 0x00004DB8
[Token(Token = "0x6000CF6")]
[Address(RVA = "0x51BFF0", Offset = "0x51ADF0", VA = "0x18051BFF0")]
internal AsnDecodeStatus Decode(byte[] extension)
{
return AsnDecodeStatus.Ok;
}
// Token: 0x06000CF7 RID: 3319 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000CF7")]
[Address(RVA = "0x51C1E0", Offset = "0x51AFE0", VA = "0x18051C1E0", Slot = "5")]
internal override string ToString(bool multiLine)
{
return null;
}
// Token: 0x04000700 RID: 1792
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000700")]
private OidCollection _enhKeyUsage;
// Token: 0x04000701 RID: 1793
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000701")]
private AsnDecodeStatus _status;
}
}