Share via


憑證 (Windows 10)

要與封裝搭配使用的憑證,並放在系統憑證存放區中。

元素階層

<套件>

    <延伸模組>

         <擴展>

              <證書>

                   <[MSSQLSERVER 的通訊協定內容]>

語法

<Certificate
  StoreName = 'A string with a value between 1 and 50 characters in length that cannot contain these characters: <, >, :, ", /, \, |, ?, or *.'
  Content = 'A string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.' />

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
內容 要放在存放區中的憑證內容路徑。 長度介於 1 到 256 個字元之間的字串,不能包含下列字元: < 、、 "&:\>/| 、、 ? 或 。 * Yes
StoreName 應該在其中放置憑證的存放區名稱。 長度介於 1 到 50 個字元之間的字串,不能包含下列字元: < 、、 /:>\|"? 或 。 * Yes

子元素

無。

父元素

父元素 描述
憑證 宣告 windows.certificates類型的套件擴充點。 應用程式需要來自指定憑證存放區的一或多個憑證。

需求

Namespace http://schemas.microsoft.com/appx/manifest/foundation/windows10