<< Click to Display Table of Contents >> RayPack > 7.3 u6 > User Guide > Command Line Tools > PowerShell Automation Signing |
Signs a Windows Installer file using a digital signature.
Name |
Type |
Mandatory |
Description |
File |
FileInfo |
Yes |
The source file to be signed. |
Description |
String |
No |
The description of signature. |
CertificateType |
CertificateTypes |
No |
The type of certificate (default, PFX or Hardware). |
PfxFile |
FileInfo |
No |
The path to the .PFX file. This option is mutually exclusive with the -HardwareCertificate switch. |
CertificateFile |
FileInfo |
No |
The path to the digital certificate file. |
Password |
SecureString |
No |
The secure password for digital certificate. |
UseTimeServerUrl |
Bool |
No |
A boolean value indicating whether a timestamp sever should be used on signing. |
HardwareCertificate |
String |
No |
The hardware certificate name. This option is mutually exclusive with the -PfxFile switch. |
TimeServerURL |
URLAddressToTimestampServer |
No |
The URL to the timestamp server used on signing. Can only be used if -UseTimeServerUrl is set to true. |
TimestampDigestAlgorithm |
Algorithm |
No |
The algortihm used. The following values are available: •sha1 •sha256 •sha384 •sha512 Can only be used if -UseTimeServerUrl is set to true. |
Returns an instance of FileInfo type, representing the signed MSI file.