36 lines
817 B
C#
36 lines
817 B
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Photon.SocketServer.Security
|
|
{
|
|
// Token: 0x02000051 RID: 81
|
|
[Token(Token = "0x2000051")]
|
|
internal interface ICryptoProvider : IDisposable
|
|
{
|
|
// Token: 0x17000093 RID: 147
|
|
// (get) Token: 0x06000309 RID: 777
|
|
[Token(Token = "0x17000093")]
|
|
byte[] PublicKey
|
|
{
|
|
[Token(Token = "0x6000309")]
|
|
[Address(Slot = "0")]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x0600030A RID: 778
|
|
[Token(Token = "0x600030A")]
|
|
[Address(Slot = "1")]
|
|
void DeriveSharedKey(byte[] otherPartyPublicKey);
|
|
|
|
// Token: 0x0600030B RID: 779
|
|
[Token(Token = "0x600030B")]
|
|
[Address(Slot = "2")]
|
|
byte[] Encrypt(byte[] data, int offset, int count);
|
|
|
|
// Token: 0x0600030C RID: 780
|
|
[Token(Token = "0x600030C")]
|
|
[Address(Slot = "3")]
|
|
byte[] Decrypt(byte[] data, int offset, int count);
|
|
}
|
|
}
|