Class Lidgren::Network::NetEncryption
ClassList > Lidgren > Network > NetEncryption
Interface for an encryption algorithm.
Inherited by the following classes: Lidgren::Network::NetBlockEncryptionBase, Lidgren::Network::NetCryptoProviderBase, Lidgren::Network::NetCryptoProviderEncryption, Lidgren::Network::NetXorEncryption
Public Functions
| Type | Name | 
|---|---|
| bool | Decrypt (NetIncomingMessage msg)  Decrypt an incoming message in place.  | 
| bool | Encrypt (NetOutgoingMessage msg)  Encrypt an outgoing message in place.  | 
| NetEncryption (NetPeer peer)  Constructor.  | 
|
| void | SetKey (string str)  | 
| void | SetKey (byte[] data, int offset, int count)  | 
Protected Attributes
| Type | Name | 
|---|---|
| NetPeer | m_peer   NetPeer.  | 
Public Functions Documentation
function Decrypt
function Encrypt
function NetEncryption
function SetKey [1/2]
function SetKey [2/2]
Protected Attributes Documentation
variable m_peer
The documentation for this class was generated from the following file api/unity-plugin/Scripts/Networking/Lidgren.Network/Encryption/NetEncryption.cs