UseHex Property
Whether HashValue and HashSignature are hex encoded.
Object Oriented Interface
public function getUseHex(); public function setUseHex($value);
Procedural Interface
ipworksencrypt_ecc_get($res, 22 ); ipworksencrypt_ecc_set($res, 22, $value );
Default Value
false
Remarks
This property specifies whether HashValue and HashSignature are hex encoded.
If set to True, when Sign is called the class 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 class 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