使用方式: SN [-q(uiet)] <option> [<parameters>]
選項:
-c [<csp>]
設定/重設 CSP 的名稱以供 MSCORSN 作業使用。
-d <container>
刪除名稱為 <container> 的金鑰容器。
-D <assembly1> <assembly2>
僅使用簽章來驗證 <assembly1> 和 <assembly2> 之間的差異。
-e <assembly> <outfile>
將 <assembly> 中的公開金鑰抽取至 <outfile> 中。
-i <infile> <container>
將 <infile> 中的金鑰組安裝至名稱為 <container> 的金鑰容器中。
-k <outfile>
產生新的金鑰組,並寫入至 <outfile> 中。
-m [y|n]
啟用 (y)、停用 (n) 或檢查 (沒有參數) 金鑰容器是否僅適用於特定的電腦 (而不是
特定的使用者)。
-o <infile> [<outfile>]
將 <infile> 中的公開金鑰轉換成使用逗點分隔十進位位元值的文字檔 <outfile>。
如果省略 <outfile>,則會將文字複製到剪貼簿中。
-p <infile> <outfile>
抽取 <infile> 內金鑰組中的公開金鑰,並將其匯出至 <outfile> 中。
-pc <container> <outfile>
抽取 <container> 內金鑰組中的公開金鑰,並將其匯出至 <outfile> 中。
-q
安靜模式。這個選項必須位於第一行的命令列中,並且會隱藏錯誤訊息以外的所有輸出。
-R <assembly> <infile>
使用名稱為 <infile> 中的金鑰組重新簽署已簽名或部分簽名的組件。
-Rc <assembly> <container>
使用名稱為 <container> 金鑰容器中的金鑰組,重新簽署已簽署或部分簽署的組件。
-t[p] <infile>
顯示 <infile> 公開金鑰的語彙基元 (使用 -tp 選項,則會一併顯示公開金鑰)。
-T[p] <assembly>
顯示 <assembly> 公開金鑰的語彙基元 (使用 -Tp 選項,則會一併顯示公開金鑰)。
-v[f] <assembly>
驗證 <assembly> 強式名稱簽章自身的一致性。如果指定 -vf,即使登錄停用驗證,
仍會強制執行驗證。
-Vl
列出這部電腦中目前強式名稱驗證的設定值。
-Vr <assembly> [<userlist>]
略過驗證 <assembly> 的註冊 (以逗號分隔的使用者名稱清單可以略過驗證組件是選
擇性使用)。您可以將 * 指定給 <assembly>,表示要驗證所有的組件,或者使用
*,<public key token> 表示含有指定公開金鑰語彙基元的所有組件。公開金
鑰語彙基元必須指定為十六進位數字的字串。
-Vu <assembly>
移除略過驗證 <assembly> 的註冊。指定的規則與 -Vr 選項中 <assembly> 的命名方
式相同。
-Vx
移除所有略過驗證的項目。
-?
-h
顯示這個說明文字。
選項:
-c [<csp>]
設定/重設 CSP 的名稱以供 MSCORSN 作業使用。
-d <container>
刪除名稱為 <container> 的金鑰容器。
-D <assembly1> <assembly2>
僅使用簽章來驗證 <assembly1> 和 <assembly2> 之間的差異。
-e <assembly> <outfile>
將 <assembly> 中的公開金鑰抽取至 <outfile> 中。
-i <infile> <container>
將 <infile> 中的金鑰組安裝至名稱為 <container> 的金鑰容器中。
-k <outfile>
產生新的金鑰組,並寫入至 <outfile> 中。
-m [y|n]
啟用 (y)、停用 (n) 或檢查 (沒有參數) 金鑰容器是否僅適用於特定的電腦 (而不是
特定的使用者)。
-o <infile> [<outfile>]
將 <infile> 中的公開金鑰轉換成使用逗點分隔十進位位元值的文字檔 <outfile>。
如果省略 <outfile>,則會將文字複製到剪貼簿中。
-p <infile> <outfile>
抽取 <infile> 內金鑰組中的公開金鑰,並將其匯出至 <outfile> 中。
-pc <container> <outfile>
抽取 <container> 內金鑰組中的公開金鑰,並將其匯出至 <outfile> 中。
-q
安靜模式。這個選項必須位於第一行的命令列中,並且會隱藏錯誤訊息以外的所有輸出。
-R <assembly> <infile>
使用名稱為 <infile> 中的金鑰組重新簽署已簽名或部分簽名的組件。
-Rc <assembly> <container>
使用名稱為 <container> 金鑰容器中的金鑰組,重新簽署已簽署或部分簽署的組件。
-t[p] <infile>
顯示 <infile> 公開金鑰的語彙基元 (使用 -tp 選項,則會一併顯示公開金鑰)。
-T[p] <assembly>
顯示 <assembly> 公開金鑰的語彙基元 (使用 -Tp 選項,則會一併顯示公開金鑰)。
-v[f] <assembly>
驗證 <assembly> 強式名稱簽章自身的一致性。如果指定 -vf,即使登錄停用驗證,
仍會強制執行驗證。
-Vl
列出這部電腦中目前強式名稱驗證的設定值。
-Vr <assembly> [<userlist>]
略過驗證 <assembly> 的註冊 (以逗號分隔的使用者名稱清單可以略過驗證組件是選
擇性使用)。您可以將 * 指定給 <assembly>,表示要驗證所有的組件,或者使用
*,<public key token> 表示含有指定公開金鑰語彙基元的所有組件。公開金
鑰語彙基元必須指定為十六進位數字的字串。
-Vu <assembly>
移除略過驗證 <assembly> 的註冊。指定的規則與 -Vr 選項中 <assembly> 的命名方
式相同。
-Vx
移除所有略過驗證的項目。
-?
-h
顯示這個說明文字。