scripts
This commit is contained in:
+67
@@ -0,0 +1,67 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters
|
||||
{
|
||||
// Token: 0x0200162E RID: 5678
|
||||
[Token(Token = "0x200162E")]
|
||||
[StructLayout(3)]
|
||||
public class ParametersWithID : ICipherParameters
|
||||
{
|
||||
// Token: 0x06009786 RID: 38790 RVA: 0x00219718 File Offset: 0x00217918
|
||||
[Token(Token = "0x6009786")]
|
||||
[Address(RVA = "0x1DDD4F0", Offset = "0x1DDBEF0", VA = "0x181DDD4F0")]
|
||||
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: 0x06009787 RID: 38791 RVA: 0x00219754 File Offset: 0x00217954
|
||||
[Token(Token = "0x6009787")]
|
||||
[Address(RVA = "0x1DDD450", Offset = "0x1DDBE50", VA = "0x181DDD450")]
|
||||
public ParametersWithID(ICipherParameters parameters, byte[] id, int idOff, int idLen)
|
||||
{
|
||||
this.parameters = parameters;
|
||||
byte[] array;
|
||||
this.id = array;
|
||||
}
|
||||
|
||||
// Token: 0x06009788 RID: 38792 RVA: 0x00219778 File Offset: 0x00217978
|
||||
[Token(Token = "0x6009788")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
public byte[] GetID()
|
||||
{
|
||||
return this.id;
|
||||
}
|
||||
|
||||
// Token: 0x17001848 RID: 6216
|
||||
// (get) Token: 0x06009789 RID: 38793 RVA: 0x0021978C File Offset: 0x0021798C
|
||||
[Token(Token = "0x17001848")]
|
||||
public ICipherParameters Parameters
|
||||
{
|
||||
[Token(Token = "0x6009789")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.parameters;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x040063C1 RID: 25537
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40063C1")]
|
||||
private readonly ICipherParameters parameters;
|
||||
|
||||
// Token: 0x040063C2 RID: 25538
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40063C2")]
|
||||
private readonly byte[] id;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user