Photon Server API Documentation v5.0RC1

Classes | Enumerations
Photon.SocketServer.Security Namespace Reference

Classes

class  CryptoBase
 Base class for encryptor/decryptor classes More...
 
class  Decryptor
 Implements decryption More...
 
class  DiffieHellmanKeyExchange
 An implementation of the Diffie–Hellman key exchange. Diffie–Hellman establishes a shared secret that can be used for secret communications by exchanging data over a public network. More...
 
class  EncryptionData
 
class  EncryptionDataParameters
 
class  Encryptor
 Implemenation of encryption for UDP trafic More...
 
interface  ICryptoProvider
 Provides methods to encrypt and decrypt binary data. More...
 
interface  IDiffieHellmanKeyExchange
 
class  InitEncryptionResponseHandler
 
class  InplaceEncryptionUtils
 
class  NativeCryptoPlugin
 
class  OakleyGroups
 Provides classical Diffie-Hellman Modular Exponentiation Groups defined by the OAKLEY Key Determination Protocol (RFC 2412).
 
class  RijndaelCryptoProvider
 An ICryptoProvider implementation using the Rijndael symmetric encryption algorithm. More...
 

Enumerations

enum  EncryptionModes : byte {
  EncryptionModes.PayloadEncryption, EncryptionModes.PayloadEncryptionWithIV, EncryptionModes.PayloadEncryptionWithIVHMAC, EncryptionModes.DatagramEncryption = 10,
  EncryptionModes.DatagramEncryptionWithRandomInitialNumbers = 11, EncryptionModes.DatagramEncryptionGCM = 13
}
 Different encryption modes supported by Photon Server SDK More...
 

Enumeration Type Documentation

◆ EncryptionModes

Different encryption modes supported by Photon Server SDK

Remark: initially DatagramEncryptionGCM had number 12. we released client libs with this number. Later it is turned out that we have to do some changes that break compatibility between old and new implementations. in order to get clear error message we increased id for DatagramEncryptionGCM. now it is 13.

Enumerator
PayloadEncryption 

Classic photon encryption that exists since long time - AES256(CBC) with PKS padding

PayloadEncryptionWithIV 

Classic encryption with added IV

PayloadEncryptionWithIVHMAC 

Classic encryption with added IV and HMAC

DatagramEncryption 

Datagram encryption. AES256(CBC) method is used. Entire datagram is encrypted not only payload

DatagramEncryptionWithRandomInitialNumbers 

Datagram encryption with Random initial numbers

DatagramEncryptionGCM 

Datagram encryption with AES256(GCM) and random initial numbers