m
This commit is contained in:
+197
@@ -0,0 +1,197 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SigI
|
||||
{
|
||||
// Token: 0x02001F15 RID: 7957
|
||||
[Token(Token = "0x2001F15")]
|
||||
public class NameOrPseudonym : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600C7D5 RID: 51157 RVA: 0x002D3EA8 File Offset: 0x002D20A8
|
||||
[Token(Token = "0x600C7D5")]
|
||||
[Address(RVA = "0x2E810B0", Offset = "0x2E800B0", VA = "0x182E810B0")]
|
||||
public static NameOrPseudonym GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C7D5)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SigI.NameOrPseudonym BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SigI.NameOrPseudonym::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_33:
|
||||
stloc:string(var_6_39, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_7_51, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_6_39)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C7D6 RID: 51158 RVA: 0x002D3F08 File Offset: 0x002D2108
|
||||
[Token(Token = "0x600C7D6")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
public NameOrPseudonym(DirectoryString pseudonym)
|
||||
{
|
||||
this.pseudonym = pseudonym;
|
||||
}
|
||||
|
||||
// Token: 0x0600C7D7 RID: 51159 RVA: 0x002D3F24 File Offset: 0x002D2124
|
||||
[Token(Token = "0x600C7D7")]
|
||||
[Address(RVA = "0x2E813D0", Offset = "0x2E803D0", VA = "0x182E813D0")]
|
||||
private NameOrPseudonym(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C7D7)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SigI.NameOrPseudonym::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_33:
|
||||
stloc:Asn1SequenceParser(var_5_39, callvirtgetter:Asn1SequenceParser(Asn1Sequence::get_Parser, ldloc:Asn1Sequence(seq)))
|
||||
stloc:ArgumentException(var_7_4C, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Bad object encountered: "), ldloc:string(var_6))))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C7D8 RID: 51160 RVA: 0x002D3F80 File Offset: 0x002D2180
|
||||
[Token(Token = "0x600C7D8")]
|
||||
[Address(RVA = "0x2E81590", Offset = "0x2E80590", VA = "0x182E81590")]
|
||||
public NameOrPseudonym(string pseudonym)
|
||||
{
|
||||
DirectoryString directoryString = new DirectoryString(pseudonym);
|
||||
base..ctor();
|
||||
this.pseudonym = directoryString;
|
||||
}
|
||||
|
||||
// Token: 0x0600C7D9 RID: 51161 RVA: 0x002D3FA4 File Offset: 0x002D21A4
|
||||
[Token(Token = "0x600C7D9")]
|
||||
[Address(RVA = "0x23B9A70", Offset = "0x23B8A70", VA = "0x1823B9A70")]
|
||||
public NameOrPseudonym(DirectoryString surname, Asn1Sequence givenName)
|
||||
{
|
||||
this.surname = surname;
|
||||
this.givenName = givenName;
|
||||
}
|
||||
|
||||
// Token: 0x17001EFC RID: 7932
|
||||
// (get) Token: 0x0600C7DA RID: 51162 RVA: 0x002D3FC8 File Offset: 0x002D21C8
|
||||
[Token(Token = "0x17001EFC")]
|
||||
public DirectoryString Pseudonym
|
||||
{
|
||||
[Token(Token = "0x600C7DA")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.pseudonym;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001EFD RID: 7933
|
||||
// (get) Token: 0x0600C7DB RID: 51163 RVA: 0x002D3FDC File Offset: 0x002D21DC
|
||||
[Token(Token = "0x17001EFD")]
|
||||
public DirectoryString Surname
|
||||
{
|
||||
[Token(Token = "0x600C7DB")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.surname;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C7DC RID: 51164 RVA: 0x002D3FF0 File Offset: 0x002D21F0
|
||||
[Token(Token = "0x600C7DC")]
|
||||
[Address(RVA = "0x2E80E80", Offset = "0x2E7FE80", VA = "0x182E80E80")]
|
||||
public DirectoryString[] GetGivenName()
|
||||
{
|
||||
int num;
|
||||
DirectoryString[] array;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
Asn1Sequence asn1Sequence = this.givenName;
|
||||
Asn1Encodable asn1Encodable;
|
||||
array = new DirectoryString[asn1Encodable];
|
||||
IEnumerator enumerator = this.givenName.GetEnumerator();
|
||||
if (enumerator != 0)
|
||||
{
|
||||
if (num < enumerator)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
num++;
|
||||
DirectoryString instance = DirectoryString.GetInstance(num);
|
||||
if (instance != 0)
|
||||
{
|
||||
}
|
||||
array[0] = instance;
|
||||
}
|
||||
if (enumerator != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x0600C7DD RID: 51165 RVA: 0x002D4070 File Offset: 0x002D2270
|
||||
[Token(Token = "0x600C7DD")]
|
||||
[Address(RVA = "0x2E81290", Offset = "0x2E80290", VA = "0x182E81290", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
DirectoryString directoryString = this.pseudonym;
|
||||
if (directoryString == 0)
|
||||
{
|
||||
DirectoryString directoryString2 = this.surname;
|
||||
if (directoryString2 != 0)
|
||||
{
|
||||
}
|
||||
Asn1Encodable[] array;
|
||||
array[0] = directoryString2;
|
||||
Asn1Sequence asn1Sequence = this.givenName;
|
||||
if (asn1Sequence != 0)
|
||||
{
|
||||
}
|
||||
array[1] = asn1Sequence;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
}
|
||||
return directoryString.ToAsn1Object();
|
||||
}
|
||||
|
||||
// Token: 0x04007D6B RID: 32107
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007D6B")]
|
||||
private readonly DirectoryString pseudonym;
|
||||
|
||||
// Token: 0x04007D6C RID: 32108
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007D6C")]
|
||||
private readonly DirectoryString surname;
|
||||
|
||||
// Token: 0x04007D6D RID: 32109
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007D6D")]
|
||||
private readonly Asn1Sequence givenName;
|
||||
}
|
||||
}
|
||||
+284
@@ -0,0 +1,284 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SigI
|
||||
{
|
||||
// Token: 0x02001F16 RID: 7958
|
||||
[Token(Token = "0x2001F16")]
|
||||
public class PersonalData : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C7DE RID: 51166 RVA: 0x002D40C4 File Offset: 0x002D22C4
|
||||
[Token(Token = "0x600C7DE")]
|
||||
[Address(RVA = "0x2E827C0", Offset = "0x2E817C0", VA = "0x182E827C0")]
|
||||
public static PersonalData GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C7DE)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SigI.PersonalData BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SigI.PersonalData::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_26:
|
||||
stloc:string(var_6_2C, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_7_44, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_6_2C)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C7DF RID: 51167 RVA: 0x002D4118 File Offset: 0x002D2318
|
||||
[Token(Token = "0x600C7DF")]
|
||||
[Address(RVA = "0x2E82EE0", Offset = "0x2E81EE0", VA = "0x182E82EE0")]
|
||||
private PersonalData(Asn1Sequence seq)
|
||||
{
|
||||
IEnumerator enumerator = seq.GetEnumerator();
|
||||
NameOrPseudonym nameOrPseudonym;
|
||||
this.nameOrPseudonym = nameOrPseudonym;
|
||||
if (nameOrPseudonym != 0)
|
||||
{
|
||||
Asn1TaggedObject instance = Asn1TaggedObject.GetInstance(nameOrPseudonym);
|
||||
int tagNo = instance.tagNo;
|
||||
if (tagNo != 0)
|
||||
{
|
||||
if (tagNo != 0)
|
||||
{
|
||||
if (tagNo != 0)
|
||||
{
|
||||
if (tagNo != 0)
|
||||
{
|
||||
ulong num;
|
||||
DirectoryString instance2 = DirectoryString.GetInstance(instance, num != 0UL);
|
||||
this.postalAddress = instance2;
|
||||
}
|
||||
int num2 = 0;
|
||||
string @string = DerPrintableString.GetInstance(instance, num2 != 0).GetString();
|
||||
this.gender = @string;
|
||||
}
|
||||
ulong num3;
|
||||
DirectoryString instance3 = DirectoryString.GetInstance(instance, num3 != 0UL);
|
||||
this.placeOfBirth = instance3;
|
||||
}
|
||||
int num4 = 0;
|
||||
DerGeneralizedTime instance4 = DerGeneralizedTime.GetInstance(instance, num4 != 0);
|
||||
this.dateOfBirth = instance4;
|
||||
}
|
||||
int num5 = 0;
|
||||
BigInteger value = DerInteger.GetInstance(instance, num5 != 0).Value;
|
||||
this.nameDistinguisher = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C7E0 RID: 51168 RVA: 0x002D41EC File Offset: 0x002D23EC
|
||||
[Token(Token = "0x600C7E0")]
|
||||
[Address(RVA = "0x2E82E70", Offset = "0x2E81E70", VA = "0x182E82E70")]
|
||||
public PersonalData(NameOrPseudonym nameOrPseudonym, BigInteger nameDistinguisher, DerGeneralizedTime dateOfBirth, DirectoryString placeOfBirth, string gender, DirectoryString postalAddress)
|
||||
{
|
||||
this.gender = 0;
|
||||
this.postalAddress = 0;
|
||||
this.nameOrPseudonym = nameOrPseudonym;
|
||||
this.nameDistinguisher = nameDistinguisher;
|
||||
this.placeOfBirth = 0;
|
||||
this.dateOfBirth = dateOfBirth;
|
||||
}
|
||||
|
||||
// Token: 0x17001EFE RID: 7934
|
||||
// (get) Token: 0x0600C7E1 RID: 51169 RVA: 0x002D422C File Offset: 0x002D242C
|
||||
[Token(Token = "0x17001EFE")]
|
||||
public NameOrPseudonym NameOrPseudonym
|
||||
{
|
||||
[Token(Token = "0x600C7E1")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.nameOrPseudonym;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001EFF RID: 7935
|
||||
// (get) Token: 0x0600C7E2 RID: 51170 RVA: 0x002D4240 File Offset: 0x002D2440
|
||||
[Token(Token = "0x17001EFF")]
|
||||
public BigInteger NameDistinguisher
|
||||
{
|
||||
[Token(Token = "0x600C7E2")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.nameDistinguisher;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F00 RID: 7936
|
||||
// (get) Token: 0x0600C7E3 RID: 51171 RVA: 0x002D4254 File Offset: 0x002D2454
|
||||
[Token(Token = "0x17001F00")]
|
||||
public DerGeneralizedTime DateOfBirth
|
||||
{
|
||||
[Token(Token = "0x600C7E3")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
||||
get
|
||||
{
|
||||
return this.dateOfBirth;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F01 RID: 7937
|
||||
// (get) Token: 0x0600C7E4 RID: 51172 RVA: 0x002D4268 File Offset: 0x002D2468
|
||||
[Token(Token = "0x17001F01")]
|
||||
public DirectoryString PlaceOfBirth
|
||||
{
|
||||
[Token(Token = "0x600C7E4")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
|
||||
get
|
||||
{
|
||||
return this.placeOfBirth;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F02 RID: 7938
|
||||
// (get) Token: 0x0600C7E5 RID: 51173 RVA: 0x002D427C File Offset: 0x002D247C
|
||||
[Token(Token = "0x17001F02")]
|
||||
public string Gender
|
||||
{
|
||||
[Token(Token = "0x600C7E5")]
|
||||
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")]
|
||||
get
|
||||
{
|
||||
return this.gender;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F03 RID: 7939
|
||||
// (get) Token: 0x0600C7E6 RID: 51174 RVA: 0x002D4290 File Offset: 0x002D2490
|
||||
[Token(Token = "0x17001F03")]
|
||||
public DirectoryString PostalAddress
|
||||
{
|
||||
[Token(Token = "0x600C7E6")]
|
||||
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0")]
|
||||
get
|
||||
{
|
||||
return this.postalAddress;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C7E7 RID: 51175 RVA: 0x002D42A4 File Offset: 0x002D24A4
|
||||
[Token(Token = "0x600C7E7")]
|
||||
[Address(RVA = "0x2E829C0", Offset = "0x2E819C0", VA = "0x182E829C0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
NameOrPseudonym nameOrPseudonym = this.nameOrPseudonym;
|
||||
if (nameOrPseudonym != 0)
|
||||
{
|
||||
}
|
||||
array[0] = nameOrPseudonym;
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
asn1EncodableVector.Add(array);
|
||||
int num = 0;
|
||||
if (this.nameDistinguisher != num)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[0];
|
||||
DerInteger derInteger = new DerInteger(this.nameDistinguisher);
|
||||
int num2;
|
||||
int num3;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num2 != 0, num3, derInteger);
|
||||
num3 = 0;
|
||||
num2 = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
if (this.dateOfBirth != num)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
DerGeneralizedTime derGeneralizedTime = this.dateOfBirth;
|
||||
int num4;
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(num4 != 0, 1, derGeneralizedTime);
|
||||
num4 = 0;
|
||||
if (derTaggedObject2 != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = derTaggedObject2;
|
||||
asn1EncodableVector.Add(array3);
|
||||
}
|
||||
if (this.placeOfBirth != num)
|
||||
{
|
||||
Asn1Encodable[] array4 = new Asn1Encodable[1];
|
||||
DirectoryString directoryString = this.placeOfBirth;
|
||||
DerTaggedObject derTaggedObject3 = new DerTaggedObject(true, 2, directoryString);
|
||||
if (derTaggedObject3 != 0)
|
||||
{
|
||||
}
|
||||
array4[0] = derTaggedObject3;
|
||||
asn1EncodableVector.Add(array4);
|
||||
}
|
||||
if (this.gender != num)
|
||||
{
|
||||
Asn1Encodable[] array5 = new Asn1Encodable[1];
|
||||
DerPrintableString derPrintableString = new DerPrintableString(this.gender, true);
|
||||
int num5;
|
||||
DerTaggedObject derTaggedObject4 = new DerTaggedObject(num5 != 0, 3, derPrintableString);
|
||||
num5 = 0;
|
||||
if (derTaggedObject4 != 0)
|
||||
{
|
||||
}
|
||||
array5[0] = derTaggedObject4;
|
||||
asn1EncodableVector.Add(array5);
|
||||
}
|
||||
if (this.postalAddress != num)
|
||||
{
|
||||
Asn1Encodable[] array6 = new Asn1Encodable[1];
|
||||
DirectoryString directoryString2 = this.postalAddress;
|
||||
DerTaggedObject derTaggedObject5 = new DerTaggedObject(true, 4, directoryString2);
|
||||
if (derTaggedObject5 != 0)
|
||||
{
|
||||
}
|
||||
array6[0] = derTaggedObject5;
|
||||
asn1EncodableVector.Add(array6);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007D6E RID: 32110
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007D6E")]
|
||||
private readonly NameOrPseudonym nameOrPseudonym;
|
||||
|
||||
// Token: 0x04007D6F RID: 32111
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007D6F")]
|
||||
private readonly BigInteger nameDistinguisher;
|
||||
|
||||
// Token: 0x04007D70 RID: 32112
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007D70")]
|
||||
private readonly DerGeneralizedTime dateOfBirth;
|
||||
|
||||
// Token: 0x04007D71 RID: 32113
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4007D71")]
|
||||
private readonly DirectoryString placeOfBirth;
|
||||
|
||||
// Token: 0x04007D72 RID: 32114
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4007D72")]
|
||||
private readonly string gender;
|
||||
|
||||
// Token: 0x04007D73 RID: 32115
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4007D73")]
|
||||
private readonly DirectoryString postalAddress;
|
||||
}
|
||||
}
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SigI
|
||||
{
|
||||
// Token: 0x02001F17 RID: 7959
|
||||
[Token(Token = "0x2001F17")]
|
||||
public sealed class SigIObjectIdentifiers
|
||||
{
|
||||
// Token: 0x0600C7E8 RID: 51176 RVA: 0x002D4424 File Offset: 0x002D2624
|
||||
[Token(Token = "0x600C7E8")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private SigIObjectIdentifiers()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04007D74 RID: 32116
|
||||
[Token(Token = "0x4007D74")]
|
||||
public static readonly DerObjectIdentifier IdSigI = new DerObjectIdentifier("1.3.36.8");
|
||||
|
||||
// Token: 0x04007D75 RID: 32117
|
||||
[Token(Token = "0x4007D75")]
|
||||
public static readonly DerObjectIdentifier IdSigIKP = new DerObjectIdentifier(SigIObjectIdentifiers.IdSigI + ".2");
|
||||
|
||||
// Token: 0x04007D76 RID: 32118
|
||||
[Token(Token = "0x4007D76")]
|
||||
public static readonly DerObjectIdentifier IdSigICP = new DerObjectIdentifier(SigIObjectIdentifiers.IdSigI + ".1");
|
||||
|
||||
// Token: 0x04007D77 RID: 32119
|
||||
[Token(Token = "0x4007D77")]
|
||||
public static readonly DerObjectIdentifier IdSigION = new DerObjectIdentifier(SigIObjectIdentifiers.IdSigI + ".4");
|
||||
|
||||
// Token: 0x04007D78 RID: 32120
|
||||
[Token(Token = "0x4007D78")]
|
||||
public static readonly DerObjectIdentifier IdSigIKPDirectoryService = new DerObjectIdentifier(SigIObjectIdentifiers.IdSigIKP + ".1");
|
||||
|
||||
// Token: 0x04007D79 RID: 32121
|
||||
[Token(Token = "0x4007D79")]
|
||||
public static readonly DerObjectIdentifier IdSigIONPersonalData = new DerObjectIdentifier(SigIObjectIdentifiers.IdSigION + ".1");
|
||||
|
||||
// Token: 0x04007D7A RID: 32122
|
||||
[Token(Token = "0x4007D7A")]
|
||||
public static readonly DerObjectIdentifier IdSigICPSigConform = new DerObjectIdentifier(SigIObjectIdentifiers.IdSigICP + ".1");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user