using System; using System.IO; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509; using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Pkcs { // Token: 0x0200198D RID: 6541 [Token(Token = "0x200198D")] public class Pkcs10CertificationRequestDelaySigned : Pkcs10CertificationRequest { // Token: 0x06009C32 RID: 39986 RVA: 0x002085F4 File Offset: 0x002067F4 [Token(Token = "0x6009C32")] [Address(RVA = "0x1CBDC80", Offset = "0x1CBCA80", VA = "0x181CBDC80")] protected Pkcs10CertificationRequestDelaySigned() { } // Token: 0x06009C33 RID: 39987 RVA: 0x00208608 File Offset: 0x00206808 [Token(Token = "0x6009C33")] [Address(RVA = "0x1CBDDB0", Offset = "0x1CBCBB0", VA = "0x181CBDDB0")] public Pkcs10CertificationRequestDelaySigned(byte[] encoded) { Asn1Object asn1Object; do { asn1Object = Asn1Object.FromByteArray(encoded); if (asn1Object == 0) { } } while (asn1Object == 0); } // Token: 0x06009C34 RID: 39988 RVA: 0x00208628 File Offset: 0x00206828 [Token(Token = "0x6009C34")] [Address(RVA = "0x1CBDC10", Offset = "0x1CBCA10", VA = "0x181CBDC10")] public Pkcs10CertificationRequestDelaySigned(Asn1Sequence seq) : base(seq) { } // Token: 0x06009C35 RID: 39989 RVA: 0x0020863C File Offset: 0x0020683C [Token(Token = "0x6009C35")] [Address(RVA = "0x1CBDB30", Offset = "0x1CBC930", VA = "0x181CBDB30")] public Pkcs10CertificationRequestDelaySigned(Stream input) { Asn1Object asn1Object; do { asn1Object = Asn1Object.FromStream(input); if (asn1Object == 0) { } } while (asn1Object == 0); } // Token: 0x06009C36 RID: 39990 RVA: 0x0020865C File Offset: 0x0020685C [Token(Token = "0x6009C36")] [Address(RVA = "0x1CBDCE0", Offset = "0x1CBCAE0", VA = "0x181CBDCE0")] public Pkcs10CertificationRequestDelaySigned(string signatureAlgorithm, X509Name subject, AsymmetricKeyParameter publicKey, Asn1Set attributes, AsymmetricKeyParameter signingKey) { } // Token: 0x06009C37 RID: 39991 RVA: 0x0020866C File Offset: 0x0020686C [Token(Token = "0x6009C37")] [Address(RVA = "0x1CBD6D0", Offset = "0x1CBC4D0", VA = "0x181CBD6D0")] public Pkcs10CertificationRequestDelaySigned(string signatureAlgorithm, X509Name subject, AsymmetricKeyParameter publicKey, Asn1Set attributes) { /* An exception occurred when decompiling this method (06009C37) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Pkcs.Pkcs10CertificationRequestDelaySigned::.ctor(System.String,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509Name,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Set) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_82: stloc:ArgumentNullException(var_13_8C, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("signatureAlgorithm"))) } 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: 0x06009C38 RID: 39992 RVA: 0x00208708 File Offset: 0x00206908 [Token(Token = "0x6009C38")] [Address(RVA = "0x162BED0", Offset = "0x162ACD0", VA = "0x18162BED0")] public byte[] GetDataToSign() { return this.reqInfo.GetDerEncoded(); } // Token: 0x06009C39 RID: 39993 RVA: 0x00208728 File Offset: 0x00206928 [Token(Token = "0x6009C39")] [Address(RVA = "0x1CBD660", Offset = "0x1CBC460", VA = "0x181CBD660")] public void SignRequest(byte[] signedData) { DerBitString derBitString = new DerBitString(signedData); this.sigBits = derBitString; } // Token: 0x06009C3A RID: 39994 RVA: 0x00208744 File Offset: 0x00206944 [Token(Token = "0x6009C3A")] [Address(RVA = "0x460F90", Offset = "0x45FD90", VA = "0x180460F90")] public void SignRequest(DerBitString signedData) { this.sigBits = signedData; } } }