using System; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1 { // Token: 0x02001E8B RID: 7819 [Token(Token = "0x2001E8B")] public class DerNull : Asn1Null { // Token: 0x0600C424 RID: 50212 RVA: 0x002C5170 File Offset: 0x002C3370 [Token(Token = "0x600C424")] [Address(RVA = "0x23ACAF0", Offset = "0x23ABAF0", VA = "0x1823ACAF0")] [Obsolete] public DerNull() { byte[] array = new byte[0]; this.zeroBytes = array; base..ctor(); } // Token: 0x0600C425 RID: 50213 RVA: 0x002C5194 File Offset: 0x002C3394 [Token(Token = "0x600C425")] [Address(RVA = "0x23ACB40", Offset = "0x23ABB40", VA = "0x1823ACB40")] protected internal DerNull(int dummy) { byte[] array = new byte[0]; this.zeroBytes = array; base..ctor(); } // Token: 0x0600C426 RID: 50214 RVA: 0x002C51B8 File Offset: 0x002C33B8 [Token(Token = "0x600C426")] [Address(RVA = "0x23AC9F0", Offset = "0x23AB9F0", VA = "0x1823AC9F0", Slot = "6")] internal override void Encode(DerOutputStream derOut) { int length = this.zeroBytes.Length; derOut.WriteLength(length); int num = derOut.ReadByte(); } // Token: 0x0600C427 RID: 50215 RVA: 0x002C51E8 File Offset: 0x002C33E8 [Token(Token = "0x600C427")] [Address(RVA = "0x23AC970", Offset = "0x23AB970", VA = "0x1823AC970", Slot = "7")] protected override bool Asn1Equals(Asn1Object asn1Object) { if (asn1Object == 0) { return 0 != 0; } return asn1Object != 0; } // Token: 0x0600C428 RID: 50216 RVA: 0x002C520C File Offset: 0x002C340C [Token(Token = "0x600C428")] [Address(RVA = "0x716A60", Offset = "0x715A60", VA = "0x180716A60", Slot = "8")] protected override int Asn1GetHashCode() { return -1; } // Token: 0x0600C429 RID: 50217 RVA: 0x002C521C File Offset: 0x002C341C // Note: this type is marked as 'beforefieldinit'. [Token(Token = "0x600C429")] [Address(RVA = "0x23ACA70", Offset = "0x23ABA70", VA = "0x1823ACA70")] static DerNull() { DerNull derNull = new DerNull(); byte[] array = new byte[0]; derNull.zeroBytes = array; DerNull.Instance = derNull; } // Token: 0x04007B77 RID: 31607 [Token(Token = "0x4007B77")] public static readonly DerNull Instance; // Token: 0x04007B78 RID: 31608 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4007B78")] private byte[] zeroBytes; } }