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

CertificateFromStore

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

Record Fields

Record FieldDescription
AutomaticallySelectCertificate
Signature: bool option

Selects the best signing certificate automatically. If this option is not present, SignTool expects to find only one valid signing certificate. (signtool option: /a)

Hash
Signature: string option

Specifies the SHA1 hash of the signing certificate. When viewing a certificate, this is the value of the Thumbprint field. (signtool option: /sha1 Hash)

IssuerName
Signature: string option

Specifies the name of the issuer of the signing certificate. This value can be a substring of the entire issuer name. (signtool option: /i IssuerName)

RootSubjectName
Signature: string option

Specifies the name of the subject of the root certificate that the signing certificate must chain to. This value can be a substring of the entire subject name of the root certificate. (signtool option: /r RootSubjectName)

StoreName
Signature: string option

Specifies the store to open when searching for the certificate. If this option is not specified, the My store is opened. If the store does not exist, signtool will wail with a "File not found" error. (signtool option: /s StoreName)

SubjectName
Signature: string option

Specifies the name of the subject of the signing certificate. This value can be a substring of the entire subject name. (signtool option: /n SubjectName)

UseComputerStore
Signature: bool option

Specifies that a computer store, instead of a user store, be used. Accessing the computer store requires admin rights. If the process does not have admin rights, no certificates will be found. (signtool option: /sm)

Static members

Static memberDescription
CertificateFromStore.Create()
Signature: unit -> CertificateFromStore

Options default values.