Class SignerWin
Signs binary files using windows utility signtool.exe and list of servers
Inheritance
object
SignerWin
Namespace: BuildSystem.Signer.Win
Assembly: BuildSystem.Core.dll
Syntax
public class SignerWin : Object, ISigner, IManager
Constructors
SignerWin(ILogger?, ISignerProps, string)
Signs binary files using windows utility signtool.exe and list of servers
Declaration
public SignerWin(ILogger? logger, ISignerProps props, string tempFolder)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogger | logger | Logger |
| ISignerProps | props | Props of running utility |
| string | tempFolder | Parent folder for temp files |
Fields
ClassIdent
Unique ident of class
Declaration
public const string ClassIdent = "Signer.Win"
Field Value
| Type | Description |
|---|---|
| string |
Properties
Logger
Declaration
public ILogger? Logger { get; }
Property Value
| Type | Description |
|---|---|
| ILogger |
Props
Declaration
public IManagerProp Props { get; }
Property Value
| Type | Description |
|---|---|
| IManagerProp |
Methods
SignBinary(string)
Signs binary files
Declaration
public bool SignBinary(string binFile)
Parameters
| Type | Name | Description |
|---|---|---|
| string | binFile | Binary file, which needs to be signed |
Returns
| Type | Description |
|---|---|
| bool | Flag of success |