com.onlineobject.objectnet Namespace

Channel..::..ConfigureEncryption Method

Configure how encryption wil works Note: This methods allow to define any encryption alghorith

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public void ConfigureEncryption(

	Func<byte[], byte[]> onEncryptData,

	Func<byte[], byte[]> onDecryptData

)

Parameters

onEncryptData
Type: Func<(Of <(<'array<Byte>[]()[][], array<Byte>[]()[][]>)>)>
Method used to encrypt data before sent
onDecryptData
Type: Func<(Of <(<'array<Byte>[]()[][], array<Byte>[]()[][]>)>)>
Method used to decrypt data before sent