oh dear
This commit is contained in:
@@ -0,0 +1,160 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
|
||||
{
|
||||
// Token: 0x02001E25 RID: 7717
|
||||
[Token(Token = "0x2001E25")]
|
||||
public class UserNotice : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C363 RID: 50019 RVA: 0x002C7F18 File Offset: 0x002C6118
|
||||
[Token(Token = "0x600C363")]
|
||||
[Address(RVA = "0x497CA0", Offset = "0x496AA0", VA = "0x180497CA0")]
|
||||
public UserNotice(NoticeReference noticeRef, DisplayText explicitText)
|
||||
{
|
||||
this.noticeRef = noticeRef;
|
||||
this.explicitText = explicitText;
|
||||
}
|
||||
|
||||
// Token: 0x0600C364 RID: 50020 RVA: 0x002C7F3C File Offset: 0x002C613C
|
||||
[Token(Token = "0x600C364")]
|
||||
[Address(RVA = "0x2B43AE0", Offset = "0x2B428E0", VA = "0x182B43AE0")]
|
||||
public UserNotice(NoticeReference noticeRef, string str)
|
||||
{
|
||||
DisplayText displayText = new DisplayText(str);
|
||||
base..ctor();
|
||||
this.noticeRef = noticeRef;
|
||||
this.explicitText = displayText;
|
||||
}
|
||||
|
||||
// Token: 0x0600C365 RID: 50021 RVA: 0x002C7F64 File Offset: 0x002C6164
|
||||
[Token(Token = "0x600C365")]
|
||||
[Address(RVA = "0x2B43B60", Offset = "0x2B42960", VA = "0x182B43B60")]
|
||||
[Obsolete]
|
||||
public UserNotice(Asn1Sequence seq)
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable == (ulong)2L)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
NoticeReference noticeReference;
|
||||
this.noticeRef = noticeReference;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
Asn1Encodable asn1Encodable2;
|
||||
if (asn1Encodable2 != (ulong)1L)
|
||||
{
|
||||
Asn1Encodable asn1Encodable3;
|
||||
if (asn1Encodable3 == 0)
|
||||
{
|
||||
this.noticeRef = (ulong)0L;
|
||||
this.explicitText = (ulong)0L;
|
||||
return;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
else
|
||||
{
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
NoticeReference noticeReference2;
|
||||
if (parser2 != 0 && parser2 != 0)
|
||||
{
|
||||
Asn1SequenceParser parser3 = seq.Parser;
|
||||
this.noticeRef = noticeReference2;
|
||||
this.explicitText = (ulong)0L;
|
||||
return;
|
||||
}
|
||||
this.noticeRef = (ulong)0L;
|
||||
DisplayText instance = DisplayText.GetInstance(noticeReference2);
|
||||
this.explicitText = instance;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C366 RID: 50022 RVA: 0x002C8014 File Offset: 0x002C6214
|
||||
[Token(Token = "0x600C366")]
|
||||
[Address(RVA = "0x2B43830", Offset = "0x2B42630", VA = "0x182B43830")]
|
||||
public static UserNotice GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
Asn1Sequence instance;
|
||||
if (obj == 0)
|
||||
{
|
||||
instance = Asn1Sequence.GetInstance(obj);
|
||||
return new UserNotice(instance);
|
||||
}
|
||||
if (instance != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E4B RID: 7755
|
||||
// (get) Token: 0x0600C367 RID: 50023 RVA: 0x002C8048 File Offset: 0x002C6248
|
||||
[Token(Token = "0x17001E4B")]
|
||||
public virtual NoticeReference NoticeRef
|
||||
{
|
||||
[Token(Token = "0x600C367")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.noticeRef;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E4C RID: 7756
|
||||
// (get) Token: 0x0600C368 RID: 50024 RVA: 0x002C805C File Offset: 0x002C625C
|
||||
[Token(Token = "0x17001E4C")]
|
||||
public virtual DisplayText ExplicitText
|
||||
{
|
||||
[Token(Token = "0x600C368")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.explicitText;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C369 RID: 50025 RVA: 0x002C8070 File Offset: 0x002C6270
|
||||
[Token(Token = "0x600C369")]
|
||||
[Address(RVA = "0x2B43930", Offset = "0x2B42730", VA = "0x182B43930", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.noticeRef != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
NoticeReference noticeReference = this.noticeRef;
|
||||
if (noticeReference != 0)
|
||||
{
|
||||
}
|
||||
array[0] = noticeReference;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
if (this.explicitText != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
DisplayText displayText = this.explicitText;
|
||||
if (displayText != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = displayText;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007B18 RID: 31512
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007B18")]
|
||||
private readonly NoticeReference noticeRef;
|
||||
|
||||
// Token: 0x04007B19 RID: 31513
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007B19")]
|
||||
private readonly DisplayText explicitText;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user