using System; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls { // Token: 0x02001B72 RID: 7026 [Token(Token = "0x2001B72")] public abstract class TlsDsaSigner : AbstractTlsSigner { // Token: 0x0600AE93 RID: 44691 RVA: 0x0025FD54 File Offset: 0x0025DF54 [Token(Token = "0x600AE93")] [Address(RVA = "0x19844F0", Offset = "0x19832F0", VA = "0x1819844F0", 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: 0x0600AE94 RID: 44692 RVA: 0x0025FD78 File Offset: 0x0025DF78 [Token(Token = "0x600AE94")] [Address(RVA = "0x1984850", Offset = "0x1983650", VA = "0x181984850", Slot = "18")] public override bool VerifyRawSignature(SignatureAndHashAlgorithm algorithm, byte[] sigBytes, AsymmetricKeyParameter publicKey, byte[] hash) { if (algorithm != 0) { } throw new NullReferenceException(); } // Token: 0x0600AE95 RID: 44693 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x600AE95")] [Address(RVA = "0x1984490", Offset = "0x1983290", VA = "0x181984490", Slot = "20")] public override ISigner CreateSigner(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600AE96 RID: 44694 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x600AE96")] [Address(RVA = "0x19844C0", Offset = "0x19832C0", VA = "0x1819844C0", Slot = "22")] public override ISigner CreateVerifyer(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter publicKey) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600AE97 RID: 44695 RVA: 0x0025FD90 File Offset: 0x0025DF90 [Token(Token = "0x600AE97")] [Address(RVA = "0x1984620", Offset = "0x1983420", VA = "0x181984620", Slot = "24")] protected virtual ICipherParameters MakeInitParameters(bool forSigning, ICipherParameters cp) { return cp; } // Token: 0x0600AE98 RID: 44696 RVA: 0x0025FDA0 File Offset: 0x0025DFA0 [Token(Token = "0x600AE98")] [Address(RVA = "0x1984630", Offset = "0x1983430", VA = "0x181984630", Slot = "25")] protected virtual ISigner MakeSigner(SignatureAndHashAlgorithm algorithm, bool raw, bool forSigning, ICipherParameters cp) { /* An exception occurred when decompiling this method (0600AE98) 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 1660 */; } // Token: 0x17001BB0 RID: 7088 // (get) Token: 0x0600AE99 RID: 44697 [Token(Token = "0x17001BB0")] protected abstract byte SignatureAlgorithm { [Token(Token = "0x600AE99")] [Address(Slot = "26")] get; } // Token: 0x0600AE9A RID: 44698 [Token(Token = "0x600AE9A")] [Address(Slot = "27")] protected abstract IDsa CreateDsaImpl(byte hashAlgorithm); // Token: 0x0600AE9B RID: 44699 RVA: 0x0025FDF8 File Offset: 0x0025DFF8 [Token(Token = "0x600AE9B")] [Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")] protected TlsDsaSigner() { } } }