using System; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs { // Token: 0x02001E87 RID: 7815 [Token(Token = "0x2001E87")] public class CertificationRequest : Asn1Encodable { // Token: 0x0600C575 RID: 50549 RVA: 0x002D135C File Offset: 0x002CF55C [Token(Token = "0x600C575")] [Address(RVA = "0x2BBDDD0", Offset = "0x2BBCBD0", VA = "0x182BBDDD0")] public static CertificationRequest GetInstance(object obj) { while (obj != 0) { if (obj == 0) { if (obj != 0) { CertificationRequest certificationRequest; return certificationRequest; } } else if (obj != 0) { return; } } } // Token: 0x0600C576 RID: 50550 RVA: 0x002D1388 File Offset: 0x002CF588 [Token(Token = "0x600C576")] [Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")] protected CertificationRequest() { } // Token: 0x0600C577 RID: 50551 RVA: 0x002D139C File Offset: 0x002CF59C [Token(Token = "0x600C577")] [Address(RVA = "0xECF220", Offset = "0xECE020", VA = "0x180ECF220")] public CertificationRequest(CertificationRequestInfo requestInfo, AlgorithmIdentifier algorithm, DerBitString signature) { this.reqInfo = requestInfo; this.sigAlgId = algorithm; this.sigBits = signature; } // Token: 0x0600C578 RID: 50552 RVA: 0x002D13C4 File Offset: 0x002CF5C4 [Token(Token = "0x600C578")] [Address(RVA = "0x2BBE080", Offset = "0x2BBCE80", VA = "0x182BBE080")] [Obsolete] public CertificationRequest(Asn1Sequence seq) { /* An exception occurred when decompiling this method (0600C578) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.CertificationRequest::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_61: stloc:ArgumentException(var_12_70, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq"))) } 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: 0x0600C579 RID: 50553 RVA: 0x002D1444 File Offset: 0x002CF644 [Token(Token = "0x600C579")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")] public CertificationRequestInfo GetCertificationRequestInfo() { return this.reqInfo; } // Token: 0x17001E9A RID: 7834 // (get) Token: 0x0600C57A RID: 50554 RVA: 0x002D1458 File Offset: 0x002CF658 [Token(Token = "0x17001E9A")] public AlgorithmIdentifier SignatureAlgorithm { [Token(Token = "0x600C57A")] [Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")] get { return this.sigAlgId; } } // Token: 0x17001E9B RID: 7835 // (get) Token: 0x0600C57B RID: 50555 RVA: 0x002D146C File Offset: 0x002CF66C [Token(Token = "0x17001E9B")] public DerBitString Signature { [Token(Token = "0x600C57B")] [Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")] get { return this.sigBits; } } // Token: 0x0600C57C RID: 50556 RVA: 0x002D1480 File Offset: 0x002CF680 [Token(Token = "0x600C57C")] [Address(RVA = "0x271F280", Offset = "0x271E080", VA = "0x18271F280")] public byte[] GetSignatureOctets() { Asn1Object asn1Object = this.sigBits.ToAsn1Object(); throw new NullReferenceException(); } // Token: 0x0600C57D RID: 50557 RVA: 0x002D14A0 File Offset: 0x002CF6A0 [Token(Token = "0x600C57D")] [Address(RVA = "0x2BBDF10", Offset = "0x2BBCD10", VA = "0x182BBDF10", Slot = "5")] public override Asn1Object ToAsn1Object() { Asn1Encodable[] array = new Asn1Encodable[3]; CertificationRequestInfo certificationRequestInfo = this.reqInfo; if (certificationRequestInfo != 0) { } array[0] = certificationRequestInfo; AlgorithmIdentifier algorithmIdentifier = this.sigAlgId; if (algorithmIdentifier != 0) { } array[1] = algorithmIdentifier; DerBitString derBitString = this.sigBits; if (derBitString != 0) { } array[2] = derBitString; DerSequence derSequence = new DerSequence(array); throw new NullReferenceException(); } // Token: 0x04007CFD RID: 31997 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4007CFD")] protected CertificationRequestInfo reqInfo; // Token: 0x04007CFE RID: 31998 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4007CFE")] protected AlgorithmIdentifier sigAlgId; // Token: 0x04007CFF RID: 31999 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4007CFF")] protected DerBitString sigBits; } }