Files
Apr2020-Cpp2Il-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Crypto/Parameters/ParametersWithID.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

66 lines
1.9 KiB
C#

using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters
{
// Token: 0x02001C0B RID: 7179
[Token(Token = "0x2001C0B")]
public class ParametersWithID : ICipherParameters
{
// Token: 0x0600B360 RID: 45920 RVA: 0x00270D34 File Offset: 0x0026EF34
[Token(Token = "0x600B360")]
[Address(RVA = "0x1810A80", Offset = "0x180F880", VA = "0x181810A80")]
public ParametersWithID(ICipherParameters parameters, byte[] id)
{
int length = id.Length;
base..ctor();
this.parameters = parameters;
int num = 0;
byte[] array = Arrays.CopyOfRange(id, num, length);
this.id = array;
}
// Token: 0x0600B361 RID: 45921 RVA: 0x00270D70 File Offset: 0x0026EF70
[Token(Token = "0x600B361")]
[Address(RVA = "0x18109E0", Offset = "0x180F7E0", VA = "0x1818109E0")]
public ParametersWithID(ICipherParameters parameters, byte[] id, int idOff, int idLen)
{
this.parameters = parameters;
byte[] array;
this.id = array;
}
// Token: 0x0600B362 RID: 45922 RVA: 0x00270D94 File Offset: 0x0026EF94
[Token(Token = "0x600B362")]
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
public byte[] GetID()
{
return this.id;
}
// Token: 0x17001C49 RID: 7241
// (get) Token: 0x0600B363 RID: 45923 RVA: 0x00270DA8 File Offset: 0x0026EFA8
[Token(Token = "0x17001C49")]
public ICipherParameters Parameters
{
[Token(Token = "0x600B363")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return this.parameters;
}
}
// Token: 0x04007204 RID: 29188
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4007204")]
private readonly ICipherParameters parameters;
// Token: 0x04007205 RID: 29189
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4007205")]
private readonly byte[] id;
}
}