Interface for DatagramEncryptor implementations. More...
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 () |
Interface for DatagramEncryptor implementations.
int ExitGames.Client.Photon.Encryption.IPhotonEncryptor.CalculateEncryptedSize | ( | int | unencryptedSize | ) |
int ExitGames.Client.Photon.Encryption.IPhotonEncryptor.CalculateFragmentLength | ( | ) |
byte [] ExitGames.Client.Photon.Encryption.IPhotonEncryptor.Decrypt2 | ( | byte[] | data, |
int | offset, | ||
int | len, | ||
byte[] | header, | ||
out int | outLen | ||
) |
void ExitGames.Client.Photon.Encryption.IPhotonEncryptor.Encrypt2 | ( | byte[] | data, |
int | len, | ||
byte[] | header, | ||
byte[] | output, | ||
int | outOffset, | ||
ref int | outSize | ||
) |
void ExitGames.Client.Photon.Encryption.IPhotonEncryptor.Init | ( | byte[] | encryptionSecret, |
byte[] | hmacSecret, | ||
byte[] | ivBytes = null , |
||
bool | chainingModeGCM = false |
||
) |
Initialize the encryptor.
Implemented in ExitGames.Client.Photon.Encryption.EncryptorNative, and ExitGames.Client.Photon.Encryption.EncryptorNet.