m
This commit is contained in:
@@ -0,0 +1,160 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
|
||||
{
|
||||
// Token: 0x02001F05 RID: 7941
|
||||
[Token(Token = "0x2001F05")]
|
||||
public class UserNotice : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C731 RID: 50993 RVA: 0x002D079C File Offset: 0x002CE99C
|
||||
[Token(Token = "0x600C731")]
|
||||
[Address(RVA = "0x4714F0", Offset = "0x4704F0", VA = "0x1804714F0")]
|
||||
public UserNotice(NoticeReference noticeRef, DisplayText explicitText)
|
||||
{
|
||||
this.noticeRef = noticeRef;
|
||||
this.explicitText = explicitText;
|
||||
}
|
||||
|
||||
// Token: 0x0600C732 RID: 50994 RVA: 0x002D07C0 File Offset: 0x002CE9C0
|
||||
[Token(Token = "0x600C732")]
|
||||
[Address(RVA = "0x2E8B140", Offset = "0x2E8A140", VA = "0x182E8B140")]
|
||||
public UserNotice(NoticeReference noticeRef, string str)
|
||||
{
|
||||
DisplayText displayText = new DisplayText(str);
|
||||
base..ctor();
|
||||
this.noticeRef = noticeRef;
|
||||
this.explicitText = displayText;
|
||||
}
|
||||
|
||||
// Token: 0x0600C733 RID: 50995 RVA: 0x002D07E8 File Offset: 0x002CE9E8
|
||||
[Token(Token = "0x600C733")]
|
||||
[Address(RVA = "0x2E8B1C0", Offset = "0x2E8A1C0", VA = "0x182E8B1C0")]
|
||||
[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: 0x0600C734 RID: 50996 RVA: 0x002D0898 File Offset: 0x002CEA98
|
||||
[Token(Token = "0x600C734")]
|
||||
[Address(RVA = "0x2E8AE90", Offset = "0x2E89E90", VA = "0x182E8AE90")]
|
||||
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: 0x17001EE8 RID: 7912
|
||||
// (get) Token: 0x0600C735 RID: 50997 RVA: 0x002D08CC File Offset: 0x002CEACC
|
||||
[Token(Token = "0x17001EE8")]
|
||||
public virtual NoticeReference NoticeRef
|
||||
{
|
||||
[Token(Token = "0x600C735")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.noticeRef;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001EE9 RID: 7913
|
||||
// (get) Token: 0x0600C736 RID: 50998 RVA: 0x002D08E0 File Offset: 0x002CEAE0
|
||||
[Token(Token = "0x17001EE9")]
|
||||
public virtual DisplayText ExplicitText
|
||||
{
|
||||
[Token(Token = "0x600C736")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.explicitText;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C737 RID: 50999 RVA: 0x002D08F4 File Offset: 0x002CEAF4
|
||||
[Token(Token = "0x600C737")]
|
||||
[Address(RVA = "0x2E8AF90", Offset = "0x2E89F90", VA = "0x182E8AF90", 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: 0x04007CD1 RID: 31953
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007CD1")]
|
||||
private readonly NoticeReference noticeRef;
|
||||
|
||||
// Token: 0x04007CD2 RID: 31954
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007CD2")]
|
||||
private readonly DisplayText explicitText;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user