58 lines
2.5 KiB
C#
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: 0x020001EC RID: 492
|
|
[Token(Token = "0x20001EC")]
|
|
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: 0x06000CDE RID: 3294 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000CDE")]
|
|
[Address(RVA = "0xC8F730", Offset = "0xC8E730", VA = "0x180C8F730")]
|
|
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: 0x06000CDF RID: 3295 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000CDF")]
|
|
[Address(RVA = "0xC8F0D0", Offset = "0xC8E0D0", VA = "0x180C8F0D0", Slot = "4")]
|
|
public override void CopyFrom(AsnEncodedData asnEncodedData)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000CE0 RID: 3296 RVA: 0x00006BA0 File Offset: 0x00004DA0
|
|
[Token(Token = "0x6000CE0")]
|
|
[Address(RVA = "0xC8F260", Offset = "0xC8E260", VA = "0x180C8F260")]
|
|
internal AsnDecodeStatus Decode(byte[] extension)
|
|
{
|
|
return AsnDecodeStatus.Ok;
|
|
}
|
|
|
|
// Token: 0x06000CE1 RID: 3297 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000CE1")]
|
|
[Address(RVA = "0xC8F450", Offset = "0xC8E450", VA = "0x180C8F450", Slot = "5")]
|
|
internal override string ToString(bool multiLine)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x040006F3 RID: 1779
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40006F3")]
|
|
private OidCollection _enhKeyUsage;
|
|
|
|
// Token: 0x040006F4 RID: 1780
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40006F4")]
|
|
private AsnDecodeStatus _status;
|
|
}
|
|
}
|