共用方式為


MsiDigitalCertificate 數據表

MsiDigitalCertificate 數據表會以二進位數據流格式儲存憑證,並將每個憑證與主鍵產生關聯。 主鍵可用來在多個數字簽署的對象之間共享憑證。 數位證書是一種認證,提供驗證身分識別的方法。 如需詳細資訊,請參閱 Microsoft Windows 軟體開發工具包 (SDK) 加密 一節中的 數位證書

MsiDigitalSignature 和 MsiDigitalCertificate 數據表可從 Windows Installer 2.0 版開始使用。

Windows Installer 可以使用數位簽名作為偵測損毀資源的方法。 Windows Installer 2.0 版只能驗證外部封包的數字簽名,而且只能使用 MsiDigitalSignature 和 MsiDigitalCertificate 數據表。

從 Windows Installer 3.0 版開始,Windows Installer 可以使用 MsiPatchCertificate 和 MsiDigitalCertificate 數據表來驗證修補程式 (.msp 檔案) 的數位簽名。 如需詳細資訊,請參閱 撰寫安全安裝用戶帳戶控制 (UAC) 修補的指導方針。

MsiDigitalCertificate 數據表具有下列數據行。

類型 鑰匙
DigitalCertificate 識別碼 Y N
CertData 二進位 N N

 

DigitalCertificate

識別數位簽名憑證。 數據表的主鍵。

CertData

數位證書的二進位表示法。 CertData 數據行包含憑證內容的編碼位元組數位。 這是 CERT_CONTEXT 結構的 pbCertEncoded 成員。 您可以 呼叫 winVerifyTrustMsiGetFileSignatureInformation或匯入.cer檔案,來取得憑證內容。

驗證

ICE03
ICE06
ICE29
ICE32
ICE66
ICE81

MsiGetFileSignatureInformation

MsiDigitalSignature 數據表

數位簽名和 Windows Installer