Skip to content

Class Lidgren::Network::NetCryptoProviderBase

ClassList > Lidgren > Network > NetCryptoProviderBase

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

Inherited by the following classes: Lidgren::Network::NetAESEncryption, Lidgren::Network::NetDESEncryption, Lidgren::Network::NetRC2Encryption, Lidgren::Network::NetTripleDESEncryption

Public Functions

Type Name
override bool Decrypt (NetIncomingMessage msg)
override bool Encrypt (NetOutgoingMessage msg)
NetCryptoProviderBase (NetPeer peer, SymmetricAlgorithm algo)
override void SetKey (byte[] data, int offset, int count)

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

Type Name
SymmetricAlgorithm m_algorithm

Protected Attributes inherited from Lidgren::Network::NetEncryption

See Lidgren::Network::NetEncryption

Type Name
NetPeer m_peer
NetPeer.

Public Functions Documentation

function Decrypt

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

function Encrypt

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

function NetCryptoProviderBase

inline Lidgren::Network::NetCryptoProviderBase::NetCryptoProviderBase (
    NetPeer peer,
    SymmetricAlgorithm algo
) 

function SetKey

inline override void Lidgren::Network::NetCryptoProviderBase::SetKey (
    byte[] data,
    int offset,
    int count
) 

Protected Attributes Documentation

variable m_algorithm

SymmetricAlgorithm Lidgren.Network.NetCryptoProviderBase.m_algorithm;

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