Transmitter5SetEncryption Method |
Set encryption flag
Namespace: SwissDecTXAssembly: SwissDecTX.Transmitter5 (in SwissDecTX.Transmitter5.dll) Version: 5.0.0.0 (5.0.0.0)
Syntaxpublic void SetEncryption(
bool encryptTransmissionsFlag
)
Public Sub SetEncryption (
encryptTransmissionsFlag As Boolean
)
public:
virtual void SetEncryption(
bool encryptTransmissionsFlag
) sealed
function SetEncryption(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.
RemarksNote 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