87 lines
2.6 KiB
C#
87 lines
2.6 KiB
C#
using System;
|
|
using System.Collections;
|
|
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: 0x02001980 RID: 6528
|
|
[Token(Token = "0x2001980")]
|
|
public class PkixCrlUtilities
|
|
{
|
|
// Token: 0x06009B52 RID: 39762 RVA: 0x00203698 File Offset: 0x00201898
|
|
[Token(Token = "0x6009B52")]
|
|
[Address(RVA = "0x1CD2EB0", Offset = "0x1CD1CB0", VA = "0x181CD2EB0", Slot = "4")]
|
|
public virtual ISet FindCrls(X509CrlStoreSelector crlselect, PkixParameters paramsPkix, DateTime currentDate)
|
|
{
|
|
int 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;
|
|
int i;
|
|
while (i <= 0)
|
|
{
|
|
}
|
|
X509Certificate certificateChecking = crlselect.certificateChecking;
|
|
if (certificateChecking == 0)
|
|
{
|
|
}
|
|
DateTime notBefore = certificateChecking.NotBefore;
|
|
int num3;
|
|
if (num3 != 0)
|
|
{
|
|
}
|
|
if (num == 0)
|
|
{
|
|
throw new NullReferenceException();
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06009B53 RID: 39763 RVA: 0x00203714 File Offset: 0x00201914
|
|
[Token(Token = "0x6009B53")]
|
|
[Address(RVA = "0x1CD3500", Offset = "0x1CD2300", VA = "0x181CD3500", 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: 0x06009B54 RID: 39764 RVA: 0x00203744 File Offset: 0x00201944
|
|
[Token(Token = "0x6009B54")]
|
|
[Address(RVA = "0x1CD32C0", Offset = "0x1CD20C0", VA = "0x181CD32C0")]
|
|
private ICollection FindCrls(X509CrlStoreSelector crlSelect, IList crlStores)
|
|
{
|
|
Exception ex;
|
|
do
|
|
{
|
|
HashSet hashSet = new HashSet();
|
|
if (hashSet != 0 && hashSet != 0 && hashSet == 0)
|
|
{
|
|
goto IL_30;
|
|
}
|
|
}
|
|
while (ex == 0 || 0 != 0 || ex != 0);
|
|
throw new NullReferenceException();
|
|
IL_30:
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06009B55 RID: 39765 RVA: 0x00203788 File Offset: 0x00201988
|
|
[Token(Token = "0x6009B55")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public PkixCrlUtilities()
|
|
{
|
|
}
|
|
}
|
|
}
|