41 lines
1.3 KiB
C#
41 lines
1.3 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix
|
|
{
|
|
// Token: 0x02001398 RID: 5016
|
|
[Token(Token = "0x2001398")]
|
|
[StructLayout(3)]
|
|
public class PkixAttrCertPathValidator
|
|
{
|
|
// Token: 0x06007F22 RID: 32546 RVA: 0x001AA740 File Offset: 0x001A8940
|
|
[Token(Token = "0x6007F22")]
|
|
[Address(RVA = "0x4E9FA0", Offset = "0x4E89A0", VA = "0x1804E9FA0", Slot = "4")]
|
|
public virtual PkixCertPathValidatorResult Validate(PkixCertPath certPath, PkixParameters pkixParams)
|
|
{
|
|
PkixCertPathValidatorResult pkixCertPathValidatorResult;
|
|
byte[] array;
|
|
do
|
|
{
|
|
PkixCertPath pkixCertPath = Rfc3281CertPathUtilities.ProcessAttrCert1(0, pkixParams);
|
|
pkixCertPathValidatorResult = Rfc3281CertPathUtilities.ProcessAttrCert2(certPath, pkixParams);
|
|
if (array == 0)
|
|
{
|
|
}
|
|
}
|
|
while (array == 0);
|
|
int num = 0;
|
|
DateTime validCertDateFromValidityModel = PkixCertPathValidatorUtilities.GetValidCertDateFromValidityModel(pkixParams, num, -1);
|
|
return pkixCertPathValidatorResult;
|
|
}
|
|
|
|
// Token: 0x06007F23 RID: 32547 RVA: 0x001AA788 File Offset: 0x001A8988
|
|
[Token(Token = "0x6007F23")]
|
|
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
|
public PkixAttrCertPathValidator()
|
|
{
|
|
}
|
|
}
|
|
}
|