This commit is contained in:
niko
2026-04-10 22:50:51 +02:00
parent 6d1607d5a2
commit f18d448581
17033 changed files with 2863270 additions and 0 deletions
@@ -0,0 +1,155 @@
using System;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
{
// Token: 0x02001DF1 RID: 7665
[Token(Token = "0x2001DF1")]
public class AttributeCertificate : Asn1Encodable
{
// Token: 0x0600C1DC RID: 49628 RVA: 0x002C1BB4 File Offset: 0x002BFDB4
[Token(Token = "0x600C1DC")]
[Address(RVA = "0x271F040", Offset = "0x271DE40", VA = "0x18271F040")]
public static AttributeCertificate GetInstance(object obj)
{
while (obj != 0)
{
Asn1SequenceParser parser3;
if (obj == 0)
{
Asn1Sequence instance = Asn1Sequence.GetInstance(obj);
Asn1SequenceParser parser = instance.Parser;
AttributeCertificate attributeCertificate;
AttributeCertificateInfo attributeCertificateInfo;
attributeCertificate.acinfo = attributeCertificateInfo;
Asn1SequenceParser parser2 = instance.Parser;
AlgorithmIdentifier algorithmIdentifier;
attributeCertificate.signatureAlgorithm = algorithmIdentifier;
parser3 = instance.Parser;
DerBitString derBitString;
attributeCertificate.signatureValue = derBitString;
return attributeCertificate;
}
if (parser3 != 0)
{
break;
}
}
throw new NullReferenceException();
}
// Token: 0x0600C1DD RID: 49629 RVA: 0x002C1C28 File Offset: 0x002BFE28
[Token(Token = "0x600C1DD")]
[Address(RVA = "0xECF220", Offset = "0xECE020", VA = "0x180ECF220")]
public AttributeCertificate(AttributeCertificateInfo acinfo, AlgorithmIdentifier signatureAlgorithm, DerBitString signatureValue)
{
this.acinfo = acinfo;
this.signatureAlgorithm = signatureAlgorithm;
this.signatureValue = signatureValue;
}
// Token: 0x0600C1DE RID: 49630 RVA: 0x002C1C50 File Offset: 0x002BFE50
[Token(Token = "0x600C1DE")]
[Address(RVA = "0x271F420", Offset = "0x271E220", VA = "0x18271F420")]
private AttributeCertificate(Asn1Sequence seq)
{
Asn1SequenceParser parser = seq.Parser;
AttributeCertificateInfo attributeCertificateInfo;
this.acinfo = attributeCertificateInfo;
Asn1SequenceParser parser2 = seq.Parser;
AlgorithmIdentifier algorithmIdentifier;
this.signatureAlgorithm = algorithmIdentifier;
Asn1SequenceParser parser3 = seq.Parser;
DerBitString derBitString;
this.signatureValue = derBitString;
}
// Token: 0x17001DE7 RID: 7655
// (get) Token: 0x0600C1DF RID: 49631 RVA: 0x002C1C98 File Offset: 0x002BFE98
[Token(Token = "0x17001DE7")]
public AttributeCertificateInfo ACInfo
{
[Token(Token = "0x600C1DF")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return this.acinfo;
}
}
// Token: 0x17001DE8 RID: 7656
// (get) Token: 0x0600C1E0 RID: 49632 RVA: 0x002C1CAC File Offset: 0x002BFEAC
[Token(Token = "0x17001DE8")]
public AlgorithmIdentifier SignatureAlgorithm
{
[Token(Token = "0x600C1E0")]
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
get
{
return this.signatureAlgorithm;
}
}
// Token: 0x17001DE9 RID: 7657
// (get) Token: 0x0600C1E1 RID: 49633 RVA: 0x002C1CC0 File Offset: 0x002BFEC0
[Token(Token = "0x17001DE9")]
public DerBitString SignatureValue
{
[Token(Token = "0x600C1E1")]
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
get
{
return this.signatureValue;
}
}
// Token: 0x0600C1E2 RID: 49634 RVA: 0x002C1CD4 File Offset: 0x002BFED4
[Token(Token = "0x600C1E2")]
[Address(RVA = "0x271F280", Offset = "0x271E080", VA = "0x18271F280")]
public byte[] GetSignatureOctets()
{
Asn1Object asn1Object = this.signatureValue.ToAsn1Object();
throw new NullReferenceException();
}
// Token: 0x0600C1E3 RID: 49635 RVA: 0x002C1CF4 File Offset: 0x002BFEF4
[Token(Token = "0x600C1E3")]
[Address(RVA = "0x271F2B0", Offset = "0x271E0B0", VA = "0x18271F2B0", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
Asn1Encodable[] array = new Asn1Encodable[3];
AttributeCertificateInfo attributeCertificateInfo = this.acinfo;
if (attributeCertificateInfo != 0)
{
}
array[0] = attributeCertificateInfo;
AlgorithmIdentifier algorithmIdentifier = this.signatureAlgorithm;
if (algorithmIdentifier != 0)
{
}
array[1] = algorithmIdentifier;
DerBitString derBitString = this.signatureValue;
if (derBitString != 0)
{
}
array[2] = derBitString;
DerSequence derSequence = new DerSequence(array);
throw new NullReferenceException();
}
// Token: 0x04007A5D RID: 31325
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4007A5D")]
private readonly AttributeCertificateInfo acinfo;
// Token: 0x04007A5E RID: 31326
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4007A5E")]
private readonly AlgorithmIdentifier signatureAlgorithm;
// Token: 0x04007A5F RID: 31327
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4007A5F")]
private readonly DerBitString signatureValue;
}
}