Skip to content

Signature

Installation package signature can be verified in one of the following ways:

  • Using graphical user interface (GUI mode).
  • Using command-line interface (CLI mode).

The modes are explained below.

GUI Mode§

Verification includes at least the following actions:

CLI Mode§

Warning

Scripts below may require significant time to execute (≫3 sec).

Basic signature verification:

# assumed the file is at the specified path
Get-AuthenticodeSignature -FilePath "C:\Folder\smartptt.exe"

Signature validity status:

# collect signature information
$Signature = Get-AuthenticodeSignature -FilePath "C:\Folder\smartptt.exe"

# show validity status
$Signature | Select-Object Status, StatusMessage

Show the Elcomplus Inc. information:

# collect signature information
PS C:\> $Signature = Get-AuthenticodeSignature -FilePath "C:\Folder\smartptt.exe"

# show file manufacturer info only
$Signature.SignerCertificate | Select-Object Subject

Show the DigiCert information:

# collect signature information
PS C:\> $Signature = Get-AuthenticodeSignature -FilePath "C:\Folder\smartptt.exe"

# show signature provider
$Signature.SignerCertificate | Select-Object Issuer

See Also§