m
This commit is contained in:
@@ -0,0 +1,106 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
|
||||
{
|
||||
// Token: 0x02001C52 RID: 7250
|
||||
[Token(Token = "0x2001C52")]
|
||||
public abstract class TlsDsaSigner : AbstractTlsSigner
|
||||
{
|
||||
// Token: 0x0600B261 RID: 45665 RVA: 0x00268EC4 File Offset: 0x002670C4
|
||||
[Token(Token = "0x600B261")]
|
||||
[Address(RVA = "0x4A2880", Offset = "0x4A1880", VA = "0x1804A2880", Slot = "16")]
|
||||
public override byte[] GenerateRawSignature(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey, byte[] hash)
|
||||
{
|
||||
TlsContext mContext = this.mContext;
|
||||
if (algorithm != 0)
|
||||
{
|
||||
int length = hash.Length;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600B262 RID: 45666 RVA: 0x00268EE8 File Offset: 0x002670E8
|
||||
[Token(Token = "0x600B262")]
|
||||
[Address(RVA = "0x4A2BE0", Offset = "0x4A1BE0", VA = "0x1804A2BE0", Slot = "18")]
|
||||
public override bool VerifyRawSignature(SignatureAndHashAlgorithm algorithm, byte[] sigBytes, AsymmetricKeyParameter publicKey, byte[] hash)
|
||||
{
|
||||
if (algorithm != 0)
|
||||
{
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600B263 RID: 45667 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600B263")]
|
||||
[Address(RVA = "0x4A2820", Offset = "0x4A1820", VA = "0x1804A2820", Slot = "20")]
|
||||
public override ISigner CreateSigner(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x0600B264 RID: 45668 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600B264")]
|
||||
[Address(RVA = "0x4A2850", Offset = "0x4A1850", VA = "0x1804A2850", Slot = "22")]
|
||||
public override ISigner CreateVerifyer(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter publicKey)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x0600B265 RID: 45669 RVA: 0x00268F00 File Offset: 0x00267100
|
||||
[Token(Token = "0x600B265")]
|
||||
[Address(RVA = "0x4A29B0", Offset = "0x4A19B0", VA = "0x1804A29B0", Slot = "24")]
|
||||
protected virtual ICipherParameters MakeInitParameters(bool forSigning, ICipherParameters cp)
|
||||
{
|
||||
return cp;
|
||||
}
|
||||
|
||||
// Token: 0x0600B266 RID: 45670 RVA: 0x00268F10 File Offset: 0x00267110
|
||||
[Token(Token = "0x600B266")]
|
||||
[Address(RVA = "0x4A29C0", Offset = "0x4A19C0", VA = "0x1804A29C0", Slot = "25")]
|
||||
protected virtual ISigner MakeSigner(SignatureAndHashAlgorithm algorithm, bool raw, bool forSigning, ICipherParameters cp)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600B266)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ISigner BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.TlsDsaSigner::MakeSigner(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm,System.Boolean,System.Boolean,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_43:
|
||||
stloc:InvalidOperationException(var_9_48, newobj:InvalidOperationException(InvalidOperationException::.ctor))
|
||||
}
|
||||
|
||||
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: 0x17001C4D RID: 7245
|
||||
// (get) Token: 0x0600B267 RID: 45671
|
||||
[Token(Token = "0x17001C4D")]
|
||||
protected abstract byte SignatureAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600B267")]
|
||||
[Address(Slot = "26")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x0600B268 RID: 45672
|
||||
[Token(Token = "0x600B268")]
|
||||
[Address(Slot = "27")]
|
||||
protected abstract IDsa CreateDsaImpl(byte hashAlgorithm);
|
||||
|
||||
// Token: 0x0600B269 RID: 45673 RVA: 0x00268F68 File Offset: 0x00267168
|
||||
[Token(Token = "0x600B269")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
protected TlsDsaSigner()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user