Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

SignTool

The SignTool tool is a command-line tool that digitally signs files, verifies signatures in files, or time stamps files.

Documentation & samples

Nested types and modules

TypeDescription
CertificateFromFile

Specifies parameters to use when using a certificate from a file.

CertificateFromStore

Specifies parameters to use when using a certificate from a certificate store.

DigestAlgorithm

Digest algorithm

SignCertificate

Specifies what type of certificate to use.

SignOptions

Sign command options

TimeStampOption

Specifies the URL of the time stamp server and the digest algorithm used by the RFC 3161 time stamp server.

TimeStampOptions

Timestamp command options

Verbosity

Verbosity

VerifyOptions

Verify command options

Functions and values

Function or valueDescription
SignTool.sign(...)
Signature: certificate:SignCertificate -> setOptions:(SignOptions -> SignOptions) -> files:seq<string> -> unit

Signs files according to the options specified.

SignTool.signWithTimeStamp(...)
Signature: certificate:SignCertificate -> setSignOptions:(SignOptions -> SignOptions) -> serverUrl:string -> setTimeStampOptions:(TimeStampOption -> TimeStampOption) -> files:seq<string> -> unit

Signs and time stamps files according to the options specified.

SignTool.timeStamp(...)
Signature: serverUrl:string -> setOptions:(TimeStampOptions -> TimeStampOptions) -> files:seq<string> -> unit

Time stamps files according to the options specified. The files being time stamped must have previously been signed.

SignTool.verify setOptions files
Signature: setOptions:(VerifyOptions -> VerifyOptions) -> files:seq<string> -> unit

Verifies files according to the options specified. The SignTool verify command determines whether the signing certificate was issued by a trusted authority, whether the signing certificate has been revoked, and, optionally, whether the signing certificate is valid for a specific policy.