m
This commit is contained in:
+104
@@ -0,0 +1,104 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x02001F6D RID: 8045
|
||||
[Token(Token = "0x2001F6D")]
|
||||
public class EncryptionScheme : AlgorithmIdentifier
|
||||
{
|
||||
// Token: 0x0600C96E RID: 51566 RVA: 0x002DA654 File Offset: 0x002D8854
|
||||
[Token(Token = "0x600C96E")]
|
||||
[Address(RVA = "0xE603E0", Offset = "0xE5F3E0", VA = "0x180E603E0")]
|
||||
public EncryptionScheme(DerObjectIdentifier objectID)
|
||||
: base(objectID)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C96F RID: 51567 RVA: 0x002DA668 File Offset: 0x002D8868
|
||||
[Token(Token = "0x600C96F")]
|
||||
[Address(RVA = "0x2F81390", Offset = "0x2F80390", VA = "0x182F81390")]
|
||||
public EncryptionScheme(DerObjectIdentifier objectID, Asn1Encodable parameters)
|
||||
: base(objectID, parameters)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C970 RID: 51568 RVA: 0x002DA680 File Offset: 0x002D8880
|
||||
[Token(Token = "0x600C970")]
|
||||
[Address(RVA = "0x2F812A0", Offset = "0x2F802A0", VA = "0x182F812A0")]
|
||||
internal EncryptionScheme(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser;
|
||||
do
|
||||
{
|
||||
parser = seq.Parser;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
if (parser == 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (parser == 0);
|
||||
}
|
||||
|
||||
// Token: 0x0600C971 RID: 51569 RVA: 0x002DA6AC File Offset: 0x002D88AC
|
||||
[Token(Token = "0x600C971")]
|
||||
[Address(RVA = "0x2F80EC0", Offset = "0x2F7FEC0", VA = "0x182F80EC0")]
|
||||
public new static EncryptionScheme GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C971)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.EncryptionScheme BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.EncryptionScheme::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_24:
|
||||
stloc:string(var_8_2A, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_9_42, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in factory: "), ldloc:string(var_8_2A)), 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: 0x17001F46 RID: 8006
|
||||
// (get) Token: 0x0600C972 RID: 51570 RVA: 0x002DA6FC File Offset: 0x002D88FC
|
||||
[Token(Token = "0x17001F46")]
|
||||
public Asn1Object Asn1Object
|
||||
{
|
||||
[Token(Token = "0x600C972")]
|
||||
[Address(RVA = "0x2F813A0", Offset = "0x2F803A0", VA = "0x182F813A0")]
|
||||
get
|
||||
{
|
||||
return this.ObjectID.ToAsn1Object();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C973 RID: 51571 RVA: 0x002DA71C File Offset: 0x002D891C
|
||||
[Token(Token = "0x600C973")]
|
||||
[Address(RVA = "0x2F81160", Offset = "0x2F80160", VA = "0x182F81160", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
Asn1Object asn1Object = this.ToAsn1Object();
|
||||
if (asn1Object != 0)
|
||||
{
|
||||
}
|
||||
array[0] = asn1Object;
|
||||
DerObjectIdentifier objectID = this.ObjectID;
|
||||
if (objectID != 0)
|
||||
{
|
||||
}
|
||||
array[1] = objectID;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user