Signature Verification

Function

Used to query the validity of a file. The signature is verified to ensure that the software is not maliciously tampered with. If a parameter that is not in Parameters is executed, a message that contains correct parameters to be selected is returned.

Syntax

ascend-cert <cmspath> <filepath> <crlpath>

Parameters

Type

Description

cmspath

CMS file path. The path of a single file contains a maximum of 1024 characters.

filepath

Installation package path. The path of a single file contains a maximum of 1024 characters.

crlpath

CRL file path. The path of a single file contains a maximum of 1024 characters.

Note:
  • The names of the CMS, installation package, and CRL files can contain uppercase letters, lowercase letters, digits, and special characters (such as _ .- / ~ and spaces), but cannot contain two consecutive dots (..).
  • The maximum size of the CMS file, installation package, or CRL file is 10MB.
  • The CMS, installation package, and CRL file cannot contain soft links, and the file owner must be the login user.

The Ascend Cert executable file is stored in {ToolBox_installation_directory}/toolbox/latest/Ascend-DMI/bin.

Example

ascend-cert {cmsfile}.cms {installfile}.zip {crlfile}.crl

The output is as follows:

verify succeed.
VerifyCmsFile:true