How do you secure a UniData session using UniObjects for .net?
The documentation is severely lacking. The UniObjects for Java documentation has a whole chapter on SSL.
EDIT
The UniObjects .net documentation says this about the UniSession.EncryptionType property:
public int EncryptionType {get; set}
This property gets or sets the default encryption type for the session.
int is the token number for the encryption type, as follows:
0 - UniObjectsTokens.NO_ENCRYPT - No encryption. This is the default value.
1 - UniObjectsTokens.UV_ENCRYPT - Encrypt all data using internal database encryption.
If you set UV_ENCRYPT for a session, all data transferred between client and server is encrypted.
If I set my UniSession object's EncryptionType property to 1 (UniObjectsTokens.UV_ENCRYPT), when I call my UniCommand's Execute method, I get an IBMU2.UODOTNET.UniRPCPacketException that says
"[IBM U2][UODOTNET - UNIRPC][ErrorCode=81004] An argument was requested from the RPC that was of an invalid type"