UseHex Property
Whether binary values are hex encoded.
Syntax
property UseHex: Boolean read get_UseHex write set_UseHex;
Default Value
false
Remarks
This setting specifies whether various calculated values are hex encoded. If set to False (Default) all data is provided as-is with no encoding.
If set to True certain properties are hex encoded when populated for ease of display, transport, and storage.
Compute Secret Notes
This property specifies whether SharedSecret is hex encoded when ComputeSecret is called.
Sign and Verify Notes
This property specifies whether HashValue and HashSignature are hex encoded.
If set to True, when Sign is called the component 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 component 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.
Encrypt and Decrypt Notes
If set to True, when Encrypt is called the component 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 component will expect InputMessage or InputFile to hold hex encoded data. The component will then hex decode the data and perform decryption as normal.