Photon .NET Client API 4.1.4.8

Public Member Functions | List of all members
ExitGames.Client.Photon.Encryption.IPhotonEncryptor Interface Reference

Interface for DatagramEncryptor implementations. More...

Inheritance diagram for ExitGames.Client.Photon.Encryption.IPhotonEncryptor:
ExitGames.Client.Photon.Encryption.EncryptorNative ExitGames.Client.Photon.Encryption.EncryptorNet

Public Member Functions

void Init (byte[] encryptionSecret, byte[] hmacSecret, byte[] ivBytes=null, bool chainingModeGCM=false)
 Initialize the encryptor. More...
 
void Encrypt2 (byte[] data, int len, byte[] header, byte[] output, int outOffset, ref int outSize)
 
byte[] Decrypt2 (byte[] data, int offset, int len, byte[] header, out int outLen)
 
int CalculateEncryptedSize (int unencryptedSize)
 
int CalculateFragmentLength ()
 

Detailed Description

Interface for DatagramEncryptor implementations.

Member Function Documentation

◆ CalculateEncryptedSize()

int ExitGames.Client.Photon.Encryption.IPhotonEncryptor.CalculateEncryptedSize ( int  unencryptedSize)

◆ CalculateFragmentLength()

int ExitGames.Client.Photon.Encryption.IPhotonEncryptor.CalculateFragmentLength ( )

◆ Decrypt2()

byte [] ExitGames.Client.Photon.Encryption.IPhotonEncryptor.Decrypt2 ( byte[]  data,
int  offset,
int  len,
byte[]  header,
out int  outLen 
)

◆ Encrypt2()

void ExitGames.Client.Photon.Encryption.IPhotonEncryptor.Encrypt2 ( byte[]  data,
int  len,
byte[]  header,
byte[]  output,
int  outOffset,
ref int  outSize 
)

◆ Init()

void ExitGames.Client.Photon.Encryption.IPhotonEncryptor.Init ( byte[]  encryptionSecret,
byte[]  hmacSecret,
byte[]  ivBytes = null,
bool  chainingModeGCM = false 
)

The documentation for this interface was generated from the following file: