This is part of the Fake.Tools.SignTool module.

SignOptions

Sign command options

Record Fields

Record FieldDescription
AdditionalCertificate
Signature: string option

Specifies a file that contains an additional certificate to add to the signature block. (signtool option: /ac FileName)

AppendSignature
Signature: bool option

Appends this signature. If no primary signature is present, this signature is made the primary signature. (signtool option: /as)

Certificate
Signature: SignCertificate

Specifies the certificate to use for signing. (signtool options: /a, /f, /p, /csp, /kc, /i, /n, /r, /s, /sha1, /sm)

CertificateTemplateName
Signature: string option

Specifies the Certificate Template Name (a Microsoft extension) for the signing certificate. (signtool option: /c CertTemplateName)

Debug
Signature: bool option

Displays debugging information. (signtool option: /debug)

Description
Signature: string option

Specifies a description of the signed content. (signtool option: /d Desc)

DigestAlgorithm
Signature: DigestAlgorithm option

Specifies the file digest algorithm to use to create file signatures. The default algorithm is Secure Hash Algorithm (SHA-1). (signtool option: /fd)

EnhancedKeyUsage
Signature: 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)

Timeout
Signature: TimeSpan option

Timeout.

ToolPath
Signature: string option

Path to signtool.exe. If not provided, an attempt will be made to locate it automatically in 'Program Files (x86)\Windows Kits'.

Verbosity
Signature: Verbosity option

Output verbosity. (signtool options: /q, /v)

WindowsSystemComponentVerification
Signature: bool option

Specifies using "Windows System Component Verification" (1.3.6.1.4.1.311.10.3.6). (signtool option: /uw)

WorkingDir
Signature: string option

Working directory. If not provided, current directory will be used.

Static members

Static memberDescription
SignOptions.Create(certificate)
Signature: certificate:SignCertificate -> SignOptions

Options default values.