Files
27Aug2021-Cpp2IL-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Asn1/Cms/EncryptedContentInfoParser.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

84 lines
2.3 KiB
C#

using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
{
// Token: 0x02002006 RID: 8198
[Token(Token = "0x2002006")]
public class EncryptedContentInfoParser
{
// Token: 0x0600CD56 RID: 52566 RVA: 0x002EB18C File Offset: 0x002E938C
[Token(Token = "0x600CD56")]
[Address(RVA = "0x2FE1610", Offset = "0x2FE0610", VA = "0x182FE1610")]
public EncryptedContentInfoParser(Asn1SequenceParser seq)
{
AlgorithmIdentifier algorithmIdentifier;
for (;;)
{
base..ctor();
if (seq != 0)
{
this._contentType = seq;
this._contentEncryptionAlgorithm = algorithmIdentifier;
if (algorithmIdentifier == 0 || algorithmIdentifier != 0)
{
break;
}
}
}
this._encryptedContent = algorithmIdentifier;
}
// Token: 0x17002055 RID: 8277
// (get) Token: 0x0600CD57 RID: 52567 RVA: 0x002EB1CC File Offset: 0x002E93CC
[Token(Token = "0x17002055")]
public DerObjectIdentifier ContentType
{
[Token(Token = "0x600CD57")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return this._contentType;
}
}
// Token: 0x17002056 RID: 8278
// (get) Token: 0x0600CD58 RID: 52568 RVA: 0x002EB1E0 File Offset: 0x002E93E0
[Token(Token = "0x17002056")]
public AlgorithmIdentifier ContentEncryptionAlgorithm
{
[Token(Token = "0x600CD58")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
get
{
return this._contentEncryptionAlgorithm;
}
}
// Token: 0x0600CD59 RID: 52569 RVA: 0x002EB1F4 File Offset: 0x002E93F4
[Token(Token = "0x600CD59")]
[Address(RVA = "0x2FE15B0", Offset = "0x2FE05B0", VA = "0x182FE15B0")]
public IAsn1Convertible GetEncryptedContent(int tag)
{
Asn1TaggedObjectParser encryptedContent = this._encryptedContent;
throw new NullReferenceException();
}
// Token: 0x04008242 RID: 33346
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4008242")]
private DerObjectIdentifier _contentType;
// Token: 0x04008243 RID: 33347
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4008243")]
private AlgorithmIdentifier _contentEncryptionAlgorithm;
// Token: 0x04008244 RID: 33348
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4008244")]
private Asn1TaggedObjectParser _encryptedContent;
}
}