Skip to main content

Class: WindowsSignToolManager

Implements

  • SignManager

Constructors

Constructor

new WindowsSignToolManager(packager): WindowsSignToolManager

Parameters

packager

WinPackager

Returns

WindowsSignToolManager

Properties

computedPublisherName

readonly computedPublisherName: Lazy<string[] | null>

Implementation of

SignManager.computedPublisherName


cscInfo

readonly cscInfo: MemoLazy<WindowsConfiguration, FileCodeSigningInfo | CertificateFromStoreInfo | null>

Implementation of

SignManager.cscInfo


lazyCertInfo

readonly lazyCertInfo: MemoLazy<MemoLazy<WindowsConfiguration, FileCodeSigningInfo | CertificateFromStoreInfo | null>, CertificateInfo | null>

Methods

computePublisherName()

computePublisherName(target, publisherName): Promise<string>

Parameters

target

Target

publisherName

string

Returns

Promise<string>

Implementation of

SignManager.computePublisherName


computeSignToolArgs()

computeSignToolArgs(options, isWin, vm?): string[]

Parameters

options

WindowsSignTaskConfiguration

isWin

boolean

vm?

VmManager = ...

Returns

string[]


doSign()

doSign(configuration, packager): Promise<void>

Parameters

configuration

CustomWindowsSignTaskConfiguration

packager

WinPackager

Returns

Promise<void>


getCertificateFromStoreInfo()

getCertificateFromStoreInfo(options, vm): Promise<CertificateFromStoreInfo>

Parameters

options

WindowsConfiguration

vm

VmManager

Returns

Promise<CertificateFromStoreInfo>


getCertInfo()

getCertInfo(file, password): Promise<CertificateInfo>

Parameters

file

string

password

string

Returns

Promise<CertificateInfo>


getOutputPath()

getOutputPath(inputPath, hash): string

Parameters

inputPath

string

hash

string

Returns

string


getToolPath()

getToolPath(isWin?): Promise<ToolInfo>

Parameters

isWin?

boolean = ...

Returns

Promise<ToolInfo>


initialize()

initialize(): Promise<void>

Returns

Promise<void>

Implementation of

SignManager.initialize


signFile()

signFile(options): Promise<boolean>

Parameters

options

WindowsSignOptions

Returns

Promise<boolean>

Implementation of

SignManager.signFile