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: 0x020001CF RID: 463
|
|
[Token(Token = "0x20001CF")]
|
|
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: 0x06000C41 RID: 3137 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000C41")]
|
|
[Address(RVA = "0x503A50", Offset = "0x502850", VA = "0x180503A50")]
|
|
public Oid(string oid)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000C42 RID: 3138 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000C42")]
|
|
[Address(RVA = "0x503AA0", Offset = "0x5028A0", VA = "0x180503AA0")]
|
|
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: 0x06000C43 RID: 3139 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000C43")]
|
|
[Address(RVA = "0x4089A0", Offset = "0x4077A0", VA = "0x1804089A0")]
|
|
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: 0x06000C44 RID: 3140 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000C44")]
|
|
[Address(RVA = "0x503B30", Offset = "0x502930", VA = "0x180503B30")]
|
|
public Oid(Oid oid)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets the dotted number of the identifier.</summary>
|
|
/// <returns>The dotted number of the identifier.</returns>
|
|
// Token: 0x17000238 RID: 568
|
|
// (get) Token: 0x06000C45 RID: 3141 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x06000C46 RID: 3142 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000238")]
|
|
public string Value
|
|
{
|
|
[Token(Token = "0x6000C45")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6000C46")]
|
|
[Address(RVA = "0x3F7200", Offset = "0x3F6000", VA = "0x1803F7200")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the friendly name of the identifier.</summary>
|
|
/// <returns>The friendly name of the identifier.</returns>
|
|
// Token: 0x17000239 RID: 569
|
|
// (get) Token: 0x06000C47 RID: 3143 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000239")]
|
|
public string FriendlyName
|
|
{
|
|
[Token(Token = "0x6000C47")]
|
|
[Address(RVA = "0x503BC0", Offset = "0x5029C0", VA = "0x180503BC0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000677 RID: 1655
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000677")]
|
|
private string m_value;
|
|
|
|
// Token: 0x04000678 RID: 1656
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000678")]
|
|
private string m_friendlyName;
|
|
|
|
// Token: 0x04000679 RID: 1657
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000679")]
|
|
private OidGroup m_group;
|
|
}
|
|
}
|