Click or drag to resize

Transmitter5SetEncryption Method

Set encryption flag

Namespace: SwissDecTX
Assembly: SwissDecTX.Transmitter5 (in SwissDecTX.Transmitter5.dll) Version: 5.0.0.0 (5.0.0.0)
Syntax
public void SetEncryption(
	bool encryptTransmissionsFlag
)

Parameters

encryptTransmissionsFlag  Boolean
Set to true to crypt all salary transmission with the receiver's public key, or false to transmit the salary data in clear text (if the web service it using HTTPS the transmission will be encrypted at another level nevertheless). All transmissions are treated according to the value of this flag, except Ping(String, String, DateTime) which is never encrypted. SwissDec 4 requires encryption for all transmissions, the encryption is thus not optional but can be disabled for debugging purposes.
Remarks
Note that all transmissions (except Ping(String, String, DateTime)) are always digitally signed with the transmitter's certificate. SwissDecTX also requires that all server replies are signed and time stamped.
See Also