zendenc_sign – Command

This section serves as a technical reference to the zendenc_sign command.

For usage examples, see Creating a Signature License ( Command Line).

Command

zendenc_sign

Synopsis

Command-line function for creating a signature license file from a license definition file.

Syntax 1

zendenc_sign LicenseDefinitionFile LicenseFileName

Arguments

LicenseDefinitionFile - The file containing the source names and information in an equation format, FieldName = FieldValue (for more information on how to create a license definition file, see License Definition File in the preceding section)

LicenseFileName - The name and extension to be given to the generated signature license file.

 

The zendenc_sign Commands are:

--version - get version number.

--genenckey <path_to_key_file> - generate user key for the Encoder put the private key in <path_to_key_file>.

--extractkey <license_file> <path_to_key_file> - take the private key from <license_file> put the private key in <path_to_key_file>.

--verify <license_file> <path_to_key_file> - check if the license in <license_file> is good for the private key.

[source_file] result_file <path_to_key_file> - signs <result_file> license file with optional paramter file <source_file>, with the private key in <path_to_key_file>.

The following is an example of a License file:

 

 

Usage example

Example Signature License File:

Registered-To = ABC Company

Hardware-Locked = No

Host-ID = Not-Locked

Expires = Never

X-Home0 = Region 1 Priority

X-Home1 = Region 8 Dismissed

X-Home2 = Region 12 will update next run

X-NextAppointment = See X-Home0

X-LastAppointment = See X-Home1

X-PromptRemoder = Hire a Janitor

ViolatedMyLicenseRules = False

Verification-Code = wCcJ6mJMYH7vggYkS3m+3/dUL332aHRy0xtYnc55CC TCtcxWXvuU5lOG4w==