SignSettings Class

Summary

Class SignSettings.
Assembly
Cake.Mage.dll
Namespace
Cake.Mage
Base Types
  • ToolSettings
graph BT Type-->Base0["ToolSettings"] Type["SignSettings"] class Type type-node

Syntax

public class SignSettings : ToolSettings

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Name Summary
SignSettings() Initializes a new instance of the SignSettings class.
SignSettings(FilePath) Initializes a new instance of the SignSettings class.

Properties

Name Value Summary
CertFile FilePath
Gets or sets the location of a digital certificate for signing a manifest
CertHash string

Gets or sets the hash of a digital certificate stored in the personal certificate store of the client computer. This corresponds to the Thumbprint property of a digital certificate viewed in the Windows Certificates Console.

The hashSignature can be either uppercase or lowercase, and can be supplied either as a single string or with each octet of the Thumbprint separated by spaces and the entire Thumbprint enclosed in quotation marks.

FileToSign FilePath
Gets or sets the file to sign.
Password string
Gets or sets the password that is used for signing a manifest with a digital certificate. Must be used in conjunction with the CertFile option.
ToFile FilePath
Gets or sets the output path of the file that has been created or modified.

Extension Methods

Name Value Summary
Dump<SignSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<SignSettings>(SignSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<SignSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<SignSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<SignSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<SignSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin

See Also