scripts
This commit is contained in:
+204
@@ -0,0 +1,204 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SigI
|
||||
{
|
||||
// Token: 0x02001858 RID: 6232
|
||||
[Token(Token = "0x2001858")]
|
||||
[StructLayout(3)]
|
||||
public class NameOrPseudonym : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600A82D RID: 43053 RVA: 0x00273110 File Offset: 0x00271310
|
||||
[Token(Token = "0x600A82D")]
|
||||
[Address(RVA = "0x2B0C340", Offset = "0x2B0AD40", VA = "0x182B0C340")]
|
||||
public static NameOrPseudonym GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A82D)
|
||||
|
||||
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: 0x0600A82E RID: 43054 RVA: 0x00273170 File Offset: 0x00271370
|
||||
[Token(Token = "0x600A82E")]
|
||||
[Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")]
|
||||
public NameOrPseudonym(DirectoryString pseudonym)
|
||||
{
|
||||
this.pseudonym = pseudonym;
|
||||
}
|
||||
|
||||
// Token: 0x0600A82F RID: 43055 RVA: 0x0027318C File Offset: 0x0027138C
|
||||
[Token(Token = "0x600A82F")]
|
||||
[Address(RVA = "0x2B0C660", Offset = "0x2B0B060", VA = "0x182B0C660")]
|
||||
private NameOrPseudonym(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A82F)
|
||||
|
||||
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: 0x0600A830 RID: 43056 RVA: 0x002731E8 File Offset: 0x002713E8
|
||||
[Token(Token = "0x600A830")]
|
||||
[Address(RVA = "0x2B0C820", Offset = "0x2B0B220", VA = "0x182B0C820")]
|
||||
public NameOrPseudonym(string pseudonym)
|
||||
{
|
||||
DerUtf8String derUtf8String = new DerUtf8String(pseudonym);
|
||||
DirectoryString directoryString;
|
||||
directoryString.str = derUtf8String;
|
||||
base..ctor();
|
||||
this.pseudonym = directoryString;
|
||||
}
|
||||
|
||||
// Token: 0x0600A831 RID: 43057 RVA: 0x00273210 File Offset: 0x00271410
|
||||
[Token(Token = "0x600A831")]
|
||||
[Address(RVA = "0x1EE02E0", Offset = "0x1EDECE0", VA = "0x181EE02E0")]
|
||||
public NameOrPseudonym(DirectoryString surname, Asn1Sequence givenName)
|
||||
{
|
||||
this.surname = surname;
|
||||
this.givenName = givenName;
|
||||
}
|
||||
|
||||
// Token: 0x17001A5E RID: 6750
|
||||
// (get) Token: 0x0600A832 RID: 43058 RVA: 0x00273234 File Offset: 0x00271434
|
||||
[Token(Token = "0x17001A5E")]
|
||||
public DirectoryString Pseudonym
|
||||
{
|
||||
[Token(Token = "0x600A832")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.pseudonym;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A5F RID: 6751
|
||||
// (get) Token: 0x0600A833 RID: 43059 RVA: 0x00273248 File Offset: 0x00271448
|
||||
[Token(Token = "0x17001A5F")]
|
||||
public DirectoryString Surname
|
||||
{
|
||||
[Token(Token = "0x600A833")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.surname;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A834 RID: 43060 RVA: 0x0027325C File Offset: 0x0027145C
|
||||
[Token(Token = "0x600A834")]
|
||||
[Address(RVA = "0x2B0C0E0", Offset = "0x2B0AAE0", VA = "0x182B0C0E0")]
|
||||
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 directoryString;
|
||||
if (directoryString != 0)
|
||||
{
|
||||
}
|
||||
array[0] = directoryString;
|
||||
}
|
||||
if (enumerator != 0)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x0600A835 RID: 43061 RVA: 0x002732D8 File Offset: 0x002714D8
|
||||
[Token(Token = "0x600A835")]
|
||||
[Address(RVA = "0x2B0C520", Offset = "0x2B0AF20", VA = "0x182B0C520", 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: 0x04006D6F RID: 28015
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006D6F")]
|
||||
private readonly DirectoryString pseudonym;
|
||||
|
||||
// Token: 0x04006D70 RID: 28016
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006D70")]
|
||||
private readonly DirectoryString surname;
|
||||
|
||||
// Token: 0x04006D71 RID: 28017
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006D71")]
|
||||
private readonly Asn1Sequence givenName;
|
||||
}
|
||||
}
|
||||
+288
@@ -0,0 +1,288 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SigI
|
||||
{
|
||||
// Token: 0x02001859 RID: 6233
|
||||
[Token(Token = "0x2001859")]
|
||||
[StructLayout(3)]
|
||||
public class PersonalData : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A836 RID: 43062 RVA: 0x0027332C File Offset: 0x0027152C
|
||||
[Token(Token = "0x600A836")]
|
||||
[Address(RVA = "0x2B0DBA0", Offset = "0x2B0C5A0", VA = "0x182B0DBA0")]
|
||||
public static PersonalData GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A836)
|
||||
|
||||
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: 0x0600A837 RID: 43063 RVA: 0x00273380 File Offset: 0x00271580
|
||||
[Token(Token = "0x600A837")]
|
||||
[Address(RVA = "0x2B0E2C0", Offset = "0x2B0CCC0", VA = "0x182B0E2C0")]
|
||||
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)
|
||||
{
|
||||
if (tagNo != 1)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
DirectoryString instance2 = DirectoryString.GetInstance(instance.GetObject());
|
||||
this.postalAddress = instance2;
|
||||
}
|
||||
int num = 0;
|
||||
string @string = DerPrintableString.GetInstance(instance, num != 0).GetString();
|
||||
this.gender = @string;
|
||||
}
|
||||
DirectoryString instance3 = DirectoryString.GetInstance(instance.GetObject());
|
||||
this.placeOfBirth = instance3;
|
||||
}
|
||||
int num2 = 0;
|
||||
DerGeneralizedTime instance4 = DerGeneralizedTime.GetInstance(instance, num2 != 0);
|
||||
this.dateOfBirth = instance4;
|
||||
}
|
||||
int num3 = 0;
|
||||
BigInteger value = DerInteger.GetInstance(instance, num3 != 0).Value;
|
||||
this.nameDistinguisher = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A838 RID: 43064 RVA: 0x00273464 File Offset: 0x00271664
|
||||
[Token(Token = "0x600A838")]
|
||||
[Address(RVA = "0x2B0E250", Offset = "0x2B0CC50", VA = "0x182B0E250")]
|
||||
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: 0x17001A60 RID: 6752
|
||||
// (get) Token: 0x0600A839 RID: 43065 RVA: 0x002734A4 File Offset: 0x002716A4
|
||||
[Token(Token = "0x17001A60")]
|
||||
public NameOrPseudonym NameOrPseudonym
|
||||
{
|
||||
[Token(Token = "0x600A839")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.nameOrPseudonym;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A61 RID: 6753
|
||||
// (get) Token: 0x0600A83A RID: 43066 RVA: 0x002734B8 File Offset: 0x002716B8
|
||||
[Token(Token = "0x17001A61")]
|
||||
public BigInteger NameDistinguisher
|
||||
{
|
||||
[Token(Token = "0x600A83A")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.nameDistinguisher;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A62 RID: 6754
|
||||
// (get) Token: 0x0600A83B RID: 43067 RVA: 0x002734CC File Offset: 0x002716CC
|
||||
[Token(Token = "0x17001A62")]
|
||||
public DerGeneralizedTime DateOfBirth
|
||||
{
|
||||
[Token(Token = "0x600A83B")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.dateOfBirth;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A63 RID: 6755
|
||||
// (get) Token: 0x0600A83C RID: 43068 RVA: 0x002734E0 File Offset: 0x002716E0
|
||||
[Token(Token = "0x17001A63")]
|
||||
public DirectoryString PlaceOfBirth
|
||||
{
|
||||
[Token(Token = "0x600A83C")]
|
||||
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230")]
|
||||
get
|
||||
{
|
||||
return this.placeOfBirth;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A64 RID: 6756
|
||||
// (get) Token: 0x0600A83D RID: 43069 RVA: 0x002734F4 File Offset: 0x002716F4
|
||||
[Token(Token = "0x17001A64")]
|
||||
public string Gender
|
||||
{
|
||||
[Token(Token = "0x600A83D")]
|
||||
[Address(RVA = "0x3C1250", Offset = "0x3BFC50", VA = "0x1803C1250")]
|
||||
get
|
||||
{
|
||||
return this.gender;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A65 RID: 6757
|
||||
// (get) Token: 0x0600A83E RID: 43070 RVA: 0x00273508 File Offset: 0x00271708
|
||||
[Token(Token = "0x17001A65")]
|
||||
public DirectoryString PostalAddress
|
||||
{
|
||||
[Token(Token = "0x600A83E")]
|
||||
[Address(RVA = "0x3EE8E0", Offset = "0x3ED2E0", VA = "0x1803EE8E0")]
|
||||
get
|
||||
{
|
||||
return this.postalAddress;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A83F RID: 43071 RVA: 0x0027351C File Offset: 0x0027171C
|
||||
[Token(Token = "0x600A83F")]
|
||||
[Address(RVA = "0x2B0DDA0", Offset = "0x2B0C7A0", VA = "0x182B0DDA0", 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: 0x04006D72 RID: 28018
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006D72")]
|
||||
private readonly NameOrPseudonym nameOrPseudonym;
|
||||
|
||||
// Token: 0x04006D73 RID: 28019
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006D73")]
|
||||
private readonly BigInteger nameDistinguisher;
|
||||
|
||||
// Token: 0x04006D74 RID: 28020
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006D74")]
|
||||
private readonly DerGeneralizedTime dateOfBirth;
|
||||
|
||||
// Token: 0x04006D75 RID: 28021
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006D75")]
|
||||
private readonly DirectoryString placeOfBirth;
|
||||
|
||||
// Token: 0x04006D76 RID: 28022
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006D76")]
|
||||
private readonly string gender;
|
||||
|
||||
// Token: 0x04006D77 RID: 28023
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4006D77")]
|
||||
private readonly DirectoryString postalAddress;
|
||||
}
|
||||
}
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SigI
|
||||
{
|
||||
// Token: 0x0200185A RID: 6234
|
||||
[Token(Token = "0x200185A")]
|
||||
[StructLayout(3)]
|
||||
public sealed class SigIObjectIdentifiers
|
||||
{
|
||||
// Token: 0x0600A840 RID: 43072 RVA: 0x0027369C File Offset: 0x0027189C
|
||||
[Token(Token = "0x600A840")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private SigIObjectIdentifiers()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04006D78 RID: 28024
|
||||
[Token(Token = "0x4006D78")]
|
||||
public static readonly DerObjectIdentifier IdSigI = new DerObjectIdentifier("1.3.36.8");
|
||||
|
||||
// Token: 0x04006D79 RID: 28025
|
||||
[Token(Token = "0x4006D79")]
|
||||
public static readonly DerObjectIdentifier IdSigIKP = new DerObjectIdentifier(SigIObjectIdentifiers.IdSigI + ".2");
|
||||
|
||||
// Token: 0x04006D7A RID: 28026
|
||||
[Token(Token = "0x4006D7A")]
|
||||
public static readonly DerObjectIdentifier IdSigICP = new DerObjectIdentifier(SigIObjectIdentifiers.IdSigI + ".1");
|
||||
|
||||
// Token: 0x04006D7B RID: 28027
|
||||
[Token(Token = "0x4006D7B")]
|
||||
public static readonly DerObjectIdentifier IdSigION = new DerObjectIdentifier(SigIObjectIdentifiers.IdSigI + ".4");
|
||||
|
||||
// Token: 0x04006D7C RID: 28028
|
||||
[Token(Token = "0x4006D7C")]
|
||||
public static readonly DerObjectIdentifier IdSigIKPDirectoryService = new DerObjectIdentifier(SigIObjectIdentifiers.IdSigIKP + ".1");
|
||||
|
||||
// Token: 0x04006D7D RID: 28029
|
||||
[Token(Token = "0x4006D7D")]
|
||||
public static readonly DerObjectIdentifier IdSigIONPersonalData = new DerObjectIdentifier(SigIObjectIdentifiers.IdSigION + ".1");
|
||||
|
||||
// Token: 0x04006D7E RID: 28030
|
||||
[Token(Token = "0x4006D7E")]
|
||||
public static readonly DerObjectIdentifier IdSigICPSigConform = new DerObjectIdentifier(SigIObjectIdentifiers.IdSigICP + ".1");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user