using System; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp { // Token: 0x02001F6A RID: 8042 [Token(Token = "0x2001F6A")] public class RevAnnContent : Asn1Encodable { // Token: 0x0600CB84 RID: 52100 RVA: 0x002E9F48 File Offset: 0x002E8148 [Token(Token = "0x600CB84")] [Address(RVA = "0x2AE3FA0", Offset = "0x2AE2DA0", VA = "0x182AE3FA0")] private RevAnnContent(Asn1Sequence seq) { Asn1SequenceParser parser = seq.Parser; PkiStatusEncodable pkiStatusEncodable; this.status = pkiStatusEncodable; Asn1SequenceParser parser2 = seq.Parser; CertId certId; this.certId = certId; Asn1SequenceParser parser3 = seq.Parser; DerGeneralizedTime derGeneralizedTime; this.willBeRevokedAt = derGeneralizedTime; Asn1SequenceParser parser4 = seq.Parser; DerGeneralizedTime derGeneralizedTime2; this.badSinceDate = derGeneralizedTime2; Asn1Encodable asn1Encodable; if (asn1Encodable > (ulong)4L) { Asn1SequenceParser parser5 = seq.Parser; X509Extensions x509Extensions; this.crlDetails = x509Extensions; } } // Token: 0x0600CB85 RID: 52101 RVA: 0x002E9FB4 File Offset: 0x002E81B4 [Token(Token = "0x600CB85")] [Address(RVA = "0x2AE3A20", Offset = "0x2AE2820", VA = "0x182AE3A20")] public static RevAnnContent GetInstance(object obj) { /* An exception occurred when decompiling this method (0600CB85) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp.RevAnnContent BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp.RevAnnContent::GetInstance(System.Object) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_46: stloc:string(var_11_4C, call:string(Platform::GetTypeName, ldloc:object(obj))) stloc:ArgumentException(var_12_64, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid object: "), ldloc:string(var_11_4C)), ldstr:string("obj"))) } 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: 0x17002053 RID: 8275 // (get) Token: 0x0600CB86 RID: 52102 RVA: 0x002EA028 File Offset: 0x002E8228 [Token(Token = "0x17002053")] public virtual PkiStatusEncodable Status { [Token(Token = "0x600CB86")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")] get { return this.status; } } // Token: 0x17002054 RID: 8276 // (get) Token: 0x0600CB87 RID: 52103 RVA: 0x002EA03C File Offset: 0x002E823C [Token(Token = "0x17002054")] public virtual CertId CertID { [Token(Token = "0x600CB87")] [Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")] get { return this.certId; } } // Token: 0x17002055 RID: 8277 // (get) Token: 0x0600CB88 RID: 52104 RVA: 0x002EA050 File Offset: 0x002E8250 [Token(Token = "0x17002055")] public virtual DerGeneralizedTime WillBeRevokedAt { [Token(Token = "0x600CB88")] [Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "8")] get { return this.willBeRevokedAt; } } // Token: 0x17002056 RID: 8278 // (get) Token: 0x0600CB89 RID: 52105 RVA: 0x002EA064 File Offset: 0x002E8264 [Token(Token = "0x17002056")] public virtual DerGeneralizedTime BadSinceDate { [Token(Token = "0x600CB89")] [Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0", Slot = "9")] get { return this.badSinceDate; } } // Token: 0x17002057 RID: 8279 // (get) Token: 0x0600CB8A RID: 52106 RVA: 0x002EA078 File Offset: 0x002E8278 [Token(Token = "0x17002057")] public virtual X509Extensions CrlDetails { [Token(Token = "0x600CB8A")] [Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180", Slot = "10")] get { return this.crlDetails; } } // Token: 0x0600CB8B RID: 52107 RVA: 0x002EA08C File Offset: 0x002E828C [Token(Token = "0x600CB8B")] [Address(RVA = "0x2AE3D40", Offset = "0x2AE2B40", VA = "0x182AE3D40", Slot = "5")] public override Asn1Object ToAsn1Object() { Asn1Encodable[] array = new Asn1Encodable[4]; PkiStatusEncodable pkiStatusEncodable = this.status; if (pkiStatusEncodable != 0) { } array[0] = pkiStatusEncodable; CertId certId = this.certId; if (certId != 0) { } array[1] = certId; DerGeneralizedTime derGeneralizedTime = this.willBeRevokedAt; if (derGeneralizedTime != 0) { } array[2] = derGeneralizedTime; DerGeneralizedTime derGeneralizedTime2 = this.badSinceDate; if (derGeneralizedTime2 != 0) { } array[3] = derGeneralizedTime2; Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array); Asn1Encodable[] array2 = new Asn1Encodable[1]; X509Extensions x509Extensions = this.crlDetails; if (x509Extensions != 0) { } array2[0] = x509Extensions; asn1EncodableVector.AddOptional(array2); DerSequence derSequence = new DerSequence(asn1EncodableVector); throw new NullReferenceException(); } // Token: 0x040081AB RID: 33195 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40081AB")] private readonly PkiStatusEncodable status; // Token: 0x040081AC RID: 33196 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40081AC")] private readonly CertId certId; // Token: 0x040081AD RID: 33197 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40081AD")] private readonly DerGeneralizedTime willBeRevokedAt; // Token: 0x040081AE RID: 33198 [FieldOffset(Offset = "0x28")] [Token(Token = "0x40081AE")] private readonly DerGeneralizedTime badSinceDate; // Token: 0x040081AF RID: 33199 [FieldOffset(Offset = "0x30")] [Token(Token = "0x40081AF")] private readonly X509Extensions crlDetails; } }