UseHex Property
Whether input or output is hex encoded.
Syntax
rsacontrol.UseHex[=boolean]
Default Value
False
Remarks
This property specifies whether the encrypted data, HashValue, and HashSignature are hex encoded.
If set to True, when Encrypt is called the control will perform the encryption as normal and then hex encode the output. OutputMessage or OutputFile will hold hex encoded data.
If set to True, when Decrypt is called the control will expect InputMessage or InputFile to hold hex encoded data. The control will then hex decode the data and perform decryption as normal.
If set to True, when Sign is called the control will compute the hash for the specified file and populate HashValue with the hex encoded hash value. It will then create the hash signature and populate HashSignature with the hex encoded hash signature value. If HashValue is specified directly it must be a hex encoded value.
If set to True, when VerifySignature is called the control will compute the hash value for the specified file and populate HashValue with the hex encoded hash value. It will then hex decode HashSignature and verify the signature. HashSignature must hold a hex encoded value. If HashValue is specified directly it must be a hex encoded value.
Data Type
Boolean