using System; using System.Runtime.InteropServices; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs { // Token: 0x020018AA RID: 6314 [Token(Token = "0x20018AA")] [StructLayout(3)] public class CertificationRequest : Asn1Encodable { // Token: 0x0600A99B RID: 43419 RVA: 0x00278E4C File Offset: 0x0027704C [Token(Token = "0x600A99B")] [Address(RVA = "0x27CB930", Offset = "0x27CA330", VA = "0x1827CB930")] 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: 0x0600A99C RID: 43420 RVA: 0x00278E78 File Offset: 0x00277078 [Token(Token = "0x600A99C")] [Address(RVA = "0x3D4170", Offset = "0x3D2B70", VA = "0x1803D4170")] protected CertificationRequest() { } // Token: 0x0600A99D RID: 43421 RVA: 0x00278E8C File Offset: 0x0027708C [Token(Token = "0x600A99D")] [Address(RVA = "0xC54A80", Offset = "0xC53480", VA = "0x180C54A80")] public CertificationRequest(CertificationRequestInfo requestInfo, AlgorithmIdentifier algorithm, DerBitString signature) { this.reqInfo = requestInfo; this.sigAlgId = algorithm; this.sigBits = signature; } // Token: 0x0600A99E RID: 43422 RVA: 0x00278EB4 File Offset: 0x002770B4 [Token(Token = "0x600A99E")] [Address(RVA = "0x27CBBE0", Offset = "0x27CA5E0", VA = "0x1827CBBE0")] [Obsolete] public CertificationRequest(Asn1Sequence seq) { /* An exception occurred when decompiling this method (0600A99E) 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: 0x0600A99F RID: 43423 RVA: 0x00278F34 File Offset: 0x00277134 [Token(Token = "0x600A99F")] [Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")] public CertificationRequestInfo GetCertificationRequestInfo() { return this.reqInfo; } // Token: 0x17001A99 RID: 6809 // (get) Token: 0x0600A9A0 RID: 43424 RVA: 0x00278F48 File Offset: 0x00277148 [Token(Token = "0x17001A99")] public AlgorithmIdentifier SignatureAlgorithm { [Token(Token = "0x600A9A0")] [Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")] get { return this.sigAlgId; } } // Token: 0x17001A9A RID: 6810 // (get) Token: 0x0600A9A1 RID: 43425 RVA: 0x00278F5C File Offset: 0x0027715C [Token(Token = "0x17001A9A")] public DerBitString Signature { [Token(Token = "0x600A9A1")] [Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")] get { return this.sigBits; } } // Token: 0x0600A9A2 RID: 43426 RVA: 0x00278F70 File Offset: 0x00277170 [Token(Token = "0x600A9A2")] [Address(RVA = "0xE583F0", Offset = "0xE56DF0", VA = "0x180E583F0")] public byte[] GetSignatureOctets() { Asn1Object asn1Object = this.sigBits.ToAsn1Object(); throw new NullReferenceException(); } // Token: 0x0600A9A3 RID: 43427 RVA: 0x00278F90 File Offset: 0x00277190 [Token(Token = "0x600A9A3")] [Address(RVA = "0x27CBA70", Offset = "0x27CA470", VA = "0x1827CBA70", 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: 0x04006EBA RID: 28346 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4006EBA")] protected CertificationRequestInfo reqInfo; // Token: 0x04006EBB RID: 28347 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4006EBB")] protected AlgorithmIdentifier sigAlgId; // Token: 0x04006EBC RID: 28348 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4006EBC")] protected DerBitString sigBits; } }