29 lines
707 B
C#
29 lines
707 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto
|
|
{
|
|
// Token: 0x020014F3 RID: 5363
|
|
[Token(Token = "0x20014F3")]
|
|
[StructLayout(3)]
|
|
public interface IBasicAgreement
|
|
{
|
|
// Token: 0x06008ED4 RID: 36564
|
|
[Token(Token = "0x6008ED4")]
|
|
[Address(Slot = "0")]
|
|
void Init(ICipherParameters parameters);
|
|
|
|
// Token: 0x06008ED5 RID: 36565
|
|
[Token(Token = "0x6008ED5")]
|
|
[Address(Slot = "1")]
|
|
int GetFieldSize();
|
|
|
|
// Token: 0x06008ED6 RID: 36566
|
|
[Token(Token = "0x6008ED6")]
|
|
[Address(Slot = "2")]
|
|
BigInteger CalculateAgreement(ICipherParameters pubKey);
|
|
}
|
|
}
|