SignTool.SignOptions Type
Sign command options
Record fields
Record Field | Description |
Full Usage:
AdditionalCertificate
Field type: string option
|
Specifies a file that contains an additional certificate to add to the signature block. (signtool option: /ac FileName)
|
Full Usage:
AppendSignature
Field type: bool option
|
Appends this signature. If no primary signature is present, this signature is made the primary signature. (signtool option: /as)
|
|
Specifies the certificate to use for signing. (signtool options: /a, /f, /p, /csp, /kc, /i, /n, /r, /s, /sha1, /sm)
|
Full Usage:
CertificateTemplateName
Field type: string option
|
Specifies the Certificate Template Name (a Microsoft extension) for the signing certificate. (signtool option: /c CertTemplateName)
|
Full Usage:
Debug
Field type: bool option
|
|
Full Usage:
Description
Field type: string option
|
|
|
Specifies the file digest algorithm to use to create file signatures. The default algorithm is Secure Hash Algorithm (SHA-1). (signtool option: /fd)
|
Full Usage:
EnhancedKeyUsage
Field type: string option
|
Specifies the enhanced key usage (EKU) that must be present in the signing certificate. The usage value can be specified by OID or string. The default usage is "Code Signing" (1.3.6.1.5.5.7.3.3). (signtool option: /u Usage)
|
|
|
Full Usage:
ToolPath
Field type: string option
|
Path to signtool.exe. If not provided, an attempt will be made to locate it automatically in 'Program Files (x86)\Windows Kits'.
|
|
|
Full Usage:
WindowsSystemComponentVerification
Field type: bool option
|
Specifies using "Windows System Component Verification" (1.3.6.1.4.1.311.10.3.6). (signtool option: /uw)
|
Full Usage:
WorkingDir
Field type: string option
|
|
Static members
Static member | Description |
Full Usage:
SignOptions.Create(certificate)
Parameters:
SignCertificate
Returns: SignOptions
|
|