scripts
This commit is contained in:
+157
@@ -0,0 +1,157 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
|
||||
{
|
||||
// Token: 0x02001814 RID: 6164
|
||||
[Token(Token = "0x2001814")]
|
||||
[StructLayout(3)]
|
||||
public class AttributeCertificate : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A602 RID: 42498 RVA: 0x002695D8 File Offset: 0x002677D8
|
||||
[Token(Token = "0x600A602")]
|
||||
[Address(RVA = "0x2AFC770", Offset = "0x2AFB170", VA = "0x182AFC770")]
|
||||
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: 0x0600A603 RID: 42499 RVA: 0x0026964C File Offset: 0x0026784C
|
||||
[Token(Token = "0x600A603")]
|
||||
[Address(RVA = "0xC54A80", Offset = "0xC53480", VA = "0x180C54A80")]
|
||||
public AttributeCertificate(AttributeCertificateInfo acinfo, AlgorithmIdentifier signatureAlgorithm, DerBitString signatureValue)
|
||||
{
|
||||
this.acinfo = acinfo;
|
||||
this.signatureAlgorithm = signatureAlgorithm;
|
||||
this.signatureValue = signatureValue;
|
||||
}
|
||||
|
||||
// Token: 0x0600A604 RID: 42500 RVA: 0x00269674 File Offset: 0x00267874
|
||||
[Token(Token = "0x600A604")]
|
||||
[Address(RVA = "0x2AFCB20", Offset = "0x2AFB520", VA = "0x182AFCB20")]
|
||||
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: 0x170019E6 RID: 6630
|
||||
// (get) Token: 0x0600A605 RID: 42501 RVA: 0x002696BC File Offset: 0x002678BC
|
||||
[Token(Token = "0x170019E6")]
|
||||
public AttributeCertificateInfo ACInfo
|
||||
{
|
||||
[Token(Token = "0x600A605")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.acinfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019E7 RID: 6631
|
||||
// (get) Token: 0x0600A606 RID: 42502 RVA: 0x002696D0 File Offset: 0x002678D0
|
||||
[Token(Token = "0x170019E7")]
|
||||
public AlgorithmIdentifier SignatureAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600A606")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.signatureAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019E8 RID: 6632
|
||||
// (get) Token: 0x0600A607 RID: 42503 RVA: 0x002696E4 File Offset: 0x002678E4
|
||||
[Token(Token = "0x170019E8")]
|
||||
public DerBitString SignatureValue
|
||||
{
|
||||
[Token(Token = "0x600A607")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.signatureValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A608 RID: 42504 RVA: 0x002696F8 File Offset: 0x002678F8
|
||||
[Token(Token = "0x600A608")]
|
||||
[Address(RVA = "0xE583F0", Offset = "0xE56DF0", VA = "0x180E583F0")]
|
||||
public byte[] GetSignatureOctets()
|
||||
{
|
||||
Asn1Object asn1Object = this.signatureValue.ToAsn1Object();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600A609 RID: 42505 RVA: 0x00269718 File Offset: 0x00267918
|
||||
[Token(Token = "0x600A609")]
|
||||
[Address(RVA = "0x2AFC9B0", Offset = "0x2AFB3B0", VA = "0x182AFC9B0", 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: 0x04006C1A RID: 27674
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006C1A")]
|
||||
private readonly AttributeCertificateInfo acinfo;
|
||||
|
||||
// Token: 0x04006C1B RID: 27675
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006C1B")]
|
||||
private readonly AlgorithmIdentifier signatureAlgorithm;
|
||||
|
||||
// Token: 0x04006C1C RID: 27676
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006C1C")]
|
||||
private readonly DerBitString signatureValue;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user