100 lines
3.6 KiB
C#
100 lines
3.6 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Security.Cryptography
|
|
{
|
|
/// <summary>Represents a cryptographic object identifier. This class cannot be inherited.</summary>
|
|
// Token: 0x020001CB RID: 459
|
|
[Token(Token = "0x20001CB")]
|
|
public sealed class Oid
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.Oid" /> class using a string value of an <see cref="T:System.Security.Cryptography.Oid" /> object.</summary>
|
|
/// <param name="oid">An object identifier.</param>
|
|
// Token: 0x06000C2B RID: 3115 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000C2B")]
|
|
[Address(RVA = "0xC76DA0", Offset = "0xC75DA0", VA = "0x180C76DA0")]
|
|
public Oid(string oid)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000C2C RID: 3116 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000C2C")]
|
|
[Address(RVA = "0xC76DF0", Offset = "0xC75DF0", VA = "0x180C76DF0")]
|
|
internal Oid(string oid, OidGroup group, bool lookupFriendlyName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.Oid" /> class using the specified value and friendly name.</summary>
|
|
/// <param name="value">The dotted number of the identifier.</param>
|
|
/// <param name="friendlyName">The friendly name of the identifier.</param>
|
|
// Token: 0x06000C2D RID: 3117 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000C2D")]
|
|
[Address(RVA = "0x417DD0", Offset = "0x416DD0", VA = "0x180417DD0")]
|
|
public Oid(string value, string friendlyName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.Oid" /> class using the specified <see cref="T:System.Security.Cryptography.Oid" /> object.</summary>
|
|
/// <param name="oid">The object identifier information to use to create the new object identifier.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="oid" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06000C2E RID: 3118 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000C2E")]
|
|
[Address(RVA = "0xC76E80", Offset = "0xC75E80", VA = "0x180C76E80")]
|
|
public Oid(Oid oid)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets the dotted number of the identifier.</summary>
|
|
/// <returns>The dotted number of the identifier.</returns>
|
|
// Token: 0x17000234 RID: 564
|
|
// (get) Token: 0x06000C2F RID: 3119 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x06000C30 RID: 3120 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000234")]
|
|
public string Value
|
|
{
|
|
[Token(Token = "0x6000C2F")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6000C30")]
|
|
[Address(RVA = "0x415800", Offset = "0x414800", VA = "0x180415800")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the friendly name of the identifier.</summary>
|
|
/// <returns>The friendly name of the identifier.</returns>
|
|
// Token: 0x17000235 RID: 565
|
|
// (get) Token: 0x06000C31 RID: 3121 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000235")]
|
|
public string FriendlyName
|
|
{
|
|
[Token(Token = "0x6000C31")]
|
|
[Address(RVA = "0xC76F10", Offset = "0xC75F10", VA = "0x180C76F10")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400066A RID: 1642
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400066A")]
|
|
private string m_value;
|
|
|
|
// Token: 0x0400066B RID: 1643
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400066B")]
|
|
private string m_friendlyName;
|
|
|
|
// Token: 0x0400066C RID: 1644
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400066C")]
|
|
private OidGroup m_group;
|
|
}
|
|
}
|