Crate tugger_windows[][src]

Windows support code.

Structs

FileBasedX509SigningCertificate

Represents an x509 signing certificate backed by a file.

SigntoolSign

Represents an invocation of signtool.exe sign to sign some files.

Enums

VcRedistributablePlatform

Available VC++ Redistributable platforms we can add to the bundle.

X509SigningCertificate

Represents an x509 certificate used to sign binaries on Windows.

Statics

VC_REDIST_ARM64
VC_REDIST_X64
VC_REDIST_X86

Functions

certificate_to_pfx

Serialize a certificate to a PKCS #12 .pfx file.

create_self_signed_code_signing_certificate
create_self_signed_code_signing_certificate_params

Create parameters for a self-signed x509 certificate suitable for code signing on Windows.

find_signtool
find_visual_cpp_redistributable
find_vswhere

Attempt to locate vswhere.exe.

is_file_signable

Determine whether a given filesystem path is signable.

is_signable_binary_header

Whether the bytes passed in look like a file header for a format that is signable.

target_arch_to_windows_sdk_platform_path

Convert the current binary’s target architecture to a path used by the Windows SDK.