105 lines
2.7 KiB
C#
105 lines
2.7 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.InteropServices;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.X509;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.X509.Store;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix
|
|
{
|
|
// Token: 0x020013A3 RID: 5027
|
|
[Token(Token = "0x20013A3")]
|
|
[StructLayout(3)]
|
|
public class PkixCrlUtilities
|
|
{
|
|
// Token: 0x06007F78 RID: 32632 RVA: 0x001AC068 File Offset: 0x001AA268
|
|
[Token(Token = "0x6007F78")]
|
|
[Address(RVA = "0xCE3FE0", Offset = "0xCE29E0", VA = "0x180CE3FE0", Slot = "4")]
|
|
public virtual ISet FindCrls(X509CrlStoreSelector crlselect, PkixParameters paramsPkix, DateTime currentDate)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
HashSet hashSet = new HashSet();
|
|
IList additionalStores = paramsPkix.GetAdditionalStores();
|
|
ICollection collection = this.FindCrls(crlselect, additionalStores);
|
|
HashSet hashSet2 = new HashSet();
|
|
num += num;
|
|
num++;
|
|
ulong num2;
|
|
num2 += (ulong)1L;
|
|
}
|
|
while (0 <= 0);
|
|
X509Certificate certificateChecking = crlselect.certificateChecking;
|
|
if (certificateChecking == 0)
|
|
{
|
|
}
|
|
if (certificateChecking.NotBefore != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
if (num == 0)
|
|
{
|
|
throw new NullReferenceException();
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06007F79 RID: 32633 RVA: 0x001AC0E0 File Offset: 0x001AA2E0
|
|
[Token(Token = "0x6007F79")]
|
|
[Address(RVA = "0xCE46A0", Offset = "0xCE30A0", VA = "0x180CE46A0", Slot = "5")]
|
|
public virtual ISet FindCrls(X509CrlStoreSelector crlselect, PkixParameters paramsPkix)
|
|
{
|
|
HashSet hashSet = new HashSet();
|
|
IList additionalStores = paramsPkix.GetAdditionalStores();
|
|
ICollection collection = this.FindCrls(crlselect, additionalStores);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06007F7A RID: 32634 RVA: 0x001AC110 File Offset: 0x001AA310
|
|
[Token(Token = "0x6007F7A")]
|
|
[Address(RVA = "0xCE4430", Offset = "0xCE2E30", VA = "0x180CE4430")]
|
|
private ICollection FindCrls(X509CrlStoreSelector crlSelect, IList crlStores)
|
|
{
|
|
int num;
|
|
Exception ex;
|
|
do
|
|
{
|
|
HashSet hashSet = new HashSet();
|
|
if (hashSet != 0)
|
|
{
|
|
if (hashSet == 0)
|
|
{
|
|
}
|
|
if (hashSet == 0)
|
|
{
|
|
goto IL_36;
|
|
}
|
|
num = 0;
|
|
}
|
|
if (ex != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0 || ex != 0);
|
|
throw new NullReferenceException();
|
|
IL_36:
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06007F7B RID: 32635 RVA: 0x001AC158 File Offset: 0x001AA358
|
|
[Token(Token = "0x6007F7B")]
|
|
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
|
public PkixCrlUtilities()
|
|
{
|
|
}
|
|
}
|
|
}
|