Skip to content

Class Lidgren::Network::NetCryptoProviderEncryption

ClassList > Lidgren > Network > NetCryptoProviderEncryption

Inherits the following classes: Lidgren::Network::NetEncryption

Public Functions

Type Name
override bool Decrypt (NetIncomingMessage msg)
override bool Encrypt (NetOutgoingMessage msg)
NetCryptoProviderEncryption (NetPeer peer)

Public Functions inherited from Lidgren::Network::NetEncryption

See Lidgren::Network::NetEncryption

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 inherited from Lidgren::Network::NetEncryption

See Lidgren::Network::NetEncryption

Type Name
NetPeer m_peer
NetPeer.

Protected Functions

Type Name
CryptoStream GetDecryptStream (MemoryStream ms)
CryptoStream GetEncryptStream (MemoryStream ms)

Public Functions Documentation

function Decrypt

inline override bool Lidgren::Network::NetCryptoProviderEncryption::Decrypt (
    NetIncomingMessage msg
) 

function Encrypt

inline override bool Lidgren::Network::NetCryptoProviderEncryption::Encrypt (
    NetOutgoingMessage msg
) 

function NetCryptoProviderEncryption

inline Lidgren::Network::NetCryptoProviderEncryption::NetCryptoProviderEncryption (
    NetPeer peer
) 

Protected Functions Documentation

function GetDecryptStream

CryptoStream Lidgren::Network::NetCryptoProviderEncryption::GetDecryptStream (
    MemoryStream ms
) 

function GetEncryptStream

CryptoStream Lidgren::Network::NetCryptoProviderEncryption::GetEncryptStream (
    MemoryStream ms
) 

The documentation for this class was generated from the following file api/unity-plugin/Scripts/Networking/Lidgren.Network/Encryption/NetCryptoProviderEncryption.cs