Photon Server API Documentation v5.0RC1

Public Member Functions | Static Public Member Functions | Properties | List of all members
Photon.SocketServer.Security.EncryptionData Class Reference
Inheritance diagram for Photon.SocketServer.Security.EncryptionData:
Photon.SocketServer.Rpc.DataContract

Public Member Functions

 EncryptionData ()
 
 EncryptionData (IRpcProtocol protocol, IDictionary< byte, object > encryptData)
 
- Public Member Functions inherited from Photon.SocketServer.Rpc.DataContract
string GetErrorMessage ()
 Gets a message containing descriptive entries for each missing or invalid paramter. More...
 
Dictionary< byte, object > ToDictionary ()
 Converts all properties flagged with the DataMemberAttribute to a dictionary. More...
 

Static Public Member Functions

static uint[] GetInitialSeqNums (EncryptionData data, byte channelCount)
 
static uint[] GetInitialSeqNums (byte[] sourceArray, byte channelCount)
 

Properties

byte EncryptionMode [get, set]
 
byte[] EncryptionSecret [get, set]
 
byte[] AuthSecret [get, set]
 
- Properties inherited from Photon.SocketServer.Rpc.DataContract
bool IsValid [get]
 Gets a value indicating whether all operation parameter are initialized. Call the GetErrorMessage method to get a detailed description for all missing parameters. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Photon.SocketServer.Rpc.DataContract
 DataContract (IRpcProtocol protocol, IDictionary< byte, object > dataMembers)
 Initializes a new instance of the DataContract class. The params dictionary is mapped to properties flagged with the DataMemberAttribute. Check the IsValid property after creation to determine if all paramters have been initialized correctly. More...
 
 DataContract ()
 Initializes a new instance of the DataContract class. More...
 
- Protected Attributes inherited from Photon.SocketServer.Rpc.DataContract
string errorMessage
 The error message. More...
 
bool isValid
 The is valid. More...
 

Constructor & Destructor Documentation

◆ EncryptionData() [1/2]

Photon.SocketServer.Security.EncryptionData.EncryptionData ( )
inline

◆ EncryptionData() [2/2]

Photon.SocketServer.Security.EncryptionData.EncryptionData ( IRpcProtocol  protocol,
IDictionary< byte, object >  encryptData 
)
inline

Member Function Documentation

◆ GetInitialSeqNums() [1/2]

static uint [] Photon.SocketServer.Security.EncryptionData.GetInitialSeqNums ( byte[]  sourceArray,
byte  channelCount 
)
inlinestatic

◆ GetInitialSeqNums() [2/2]

static uint [] Photon.SocketServer.Security.EncryptionData.GetInitialSeqNums ( EncryptionData  data,
byte  channelCount 
)
inlinestatic

Property Documentation

◆ AuthSecret

byte [] Photon.SocketServer.Security.EncryptionData.AuthSecret
getset

◆ EncryptionMode

byte Photon.SocketServer.Security.EncryptionData.EncryptionMode
getset

◆ EncryptionSecret

byte [] Photon.SocketServer.Security.EncryptionData.EncryptionSecret
getset