87 lines
2.5 KiB
C#
87 lines
2.5 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: 0x02001A60 RID: 6752
|
|
[Token(Token = "0x2001A60")]
|
|
public class PkixCrlUtilities
|
|
{
|
|
// Token: 0x06009F20 RID: 40736 RVA: 0x0020C730 File Offset: 0x0020A930
|
|
[Token(Token = "0x6009F20")]
|
|
[Address(RVA = "0x6553E0", Offset = "0x6543E0", VA = "0x1806553E0", 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: 0x06009F21 RID: 40737 RVA: 0x0020C7AC File Offset: 0x0020A9AC
|
|
[Token(Token = "0x6009F21")]
|
|
[Address(RVA = "0x655A30", Offset = "0x654A30", VA = "0x180655A30", 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: 0x06009F22 RID: 40738 RVA: 0x0020C7DC File Offset: 0x0020A9DC
|
|
[Token(Token = "0x6009F22")]
|
|
[Address(RVA = "0x6557F0", Offset = "0x6547F0", VA = "0x1806557F0")]
|
|
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: 0x06009F23 RID: 40739 RVA: 0x0020C820 File Offset: 0x0020AA20
|
|
[Token(Token = "0x6009F23")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
public PkixCrlUtilities()
|
|
{
|
|
}
|
|
}
|
|
}
|