a
This commit is contained in:
@@ -0,0 +1,181 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp
|
||||
{
|
||||
// Token: 0x02001F5C RID: 8028
|
||||
[Token(Token = "0x2001F5C")]
|
||||
public class PkiFreeText : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CB0E RID: 51982 RVA: 0x002E85FC File Offset: 0x002E67FC
|
||||
[Token(Token = "0x600CB0E")]
|
||||
[Address(RVA = "0x2653400", Offset = "0x2652200", VA = "0x182653400")]
|
||||
public static PkiFreeText GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return PkiFreeText.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600CB0F RID: 51983 RVA: 0x002E8618 File Offset: 0x002E6818
|
||||
[Token(Token = "0x600CB0F")]
|
||||
[Address(RVA = "0x2653420", Offset = "0x2652220", VA = "0x182653420")]
|
||||
public static PkiFreeText GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CB0F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp.PkiFreeText BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp.PkiFreeText::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_22:
|
||||
stloc:string(var_6_28, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_7_40, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in factory: "), ldloc:string(var_6_28)), 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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600CB10 RID: 51984 RVA: 0x002E8668 File Offset: 0x002E6868
|
||||
[Token(Token = "0x600CB10")]
|
||||
[Address(RVA = "0x26536C0", Offset = "0x26524C0", VA = "0x1826536C0")]
|
||||
public PkiFreeText(Asn1Sequence seq)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
base..ctor();
|
||||
IEnumerator enumerator = seq.GetEnumerator();
|
||||
if (enumerator != 0 && (enumerator == 0 || enumerator == 0))
|
||||
{
|
||||
goto IL_33;
|
||||
}
|
||||
if (enumerator != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
this.strings = seq;
|
||||
return;
|
||||
IL_33:
|
||||
ArgumentException ex = new ArgumentException("attempt to insert non UTF8 STRING into PkiFreeText");
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600CB11 RID: 51985 RVA: 0x002E86B8 File Offset: 0x002E68B8
|
||||
[Token(Token = "0x600CB11")]
|
||||
[Address(RVA = "0x2653870", Offset = "0x2652670", VA = "0x182653870")]
|
||||
public PkiFreeText(DerUtf8String p)
|
||||
{
|
||||
DerSequence derSequence = new DerSequence(p);
|
||||
this.strings = derSequence;
|
||||
}
|
||||
|
||||
// Token: 0x17002035 RID: 8245
|
||||
// (get) Token: 0x0600CB12 RID: 51986 RVA: 0x002E86DC File Offset: 0x002E68DC
|
||||
[Token(Token = "0x17002035")]
|
||||
[Obsolete]
|
||||
public int Size
|
||||
{
|
||||
[Token(Token = "0x600CB12")]
|
||||
[Address(RVA = "0x5F5E10", Offset = "0x5F4C10", VA = "0x1805F5E10")]
|
||||
get
|
||||
{
|
||||
IEnumerator enumerator = ((IEnumerable)this.strings).GetEnumerator();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002036 RID: 8246
|
||||
// (get) Token: 0x0600CB13 RID: 51987 RVA: 0x002E86FC File Offset: 0x002E68FC
|
||||
[Token(Token = "0x17002036")]
|
||||
public int Count
|
||||
{
|
||||
[Token(Token = "0x600CB13")]
|
||||
[Address(RVA = "0x5F5E10", Offset = "0x5F4C10", VA = "0x1805F5E10")]
|
||||
get
|
||||
{
|
||||
IEnumerator enumerator = ((IEnumerable)this.strings).GetEnumerator();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002037 RID: 8247
|
||||
[Token(Token = "0x17002037")]
|
||||
public DerUtf8String this[int index]
|
||||
{
|
||||
[Token(Token = "0x600CB14")]
|
||||
[Address(RVA = "0x2653610", Offset = "0x2652410", VA = "0x182653610")]
|
||||
get
|
||||
{
|
||||
Asn1SequenceParser parser;
|
||||
do
|
||||
{
|
||||
parser = this.strings.Parser;
|
||||
if (parser == 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (parser == 0);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CB15 RID: 51989 RVA: 0x002E8744 File Offset: 0x002E6944
|
||||
[Token(Token = "0x600CB15")]
|
||||
[Address(RVA = "0x2653610", Offset = "0x2652410", VA = "0x182653610")]
|
||||
[Obsolete]
|
||||
public DerUtf8String GetStringAt(int index)
|
||||
{
|
||||
Asn1SequenceParser parser;
|
||||
do
|
||||
{
|
||||
parser = this.strings.Parser;
|
||||
if (parser == 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (parser == 0);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600CB16 RID: 51990 RVA: 0x002E876C File Offset: 0x002E696C
|
||||
[Token(Token = "0x600CB16")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CB16)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp.PkiFreeText::ToAsn1Object()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:Asn1Sequence(var_0_06, ldfld:Asn1Sequence(PkiFreeText::strings, ldloc:PkiFreeText(this)))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0400816B RID: 33131
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400816B")]
|
||||
internal Asn1Sequence strings;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user