タイム スタンプ ハッシュ アルゴリズムを構成する のレジストリ値 timestamphashalgユーザーHKCU\software\policies\microsoft\office\16.0\common\signatures

ポリシー ID
L_ConfigureTimeStampingHashingAlgorithm
適用対象
ユーザーの構成
サポートされるバージョン
Windows Server 2008 R2、Windows 7 またはそれ以降
出典
Microsoft 365 Apps / Office Administrative Templates (バージョン 5568.1000)
カテゴリ
Microsoft Office 2016 › セキュリティ設定 › デジタル署名

レジストリ

timestamphashalg

REG_SZユーザー
有効時の値
オプションの値に依存
要素
-
オプション
項目保存される値
SHA-1sha1
SHA-256sha256
SHA-384sha384
SHA-512sha512
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\signatures]

; 選択項目 (1 つだけ使用)
; SHA-1
"timestamphashalg"="sha1"
; SHA-256
"timestamphashalg"="sha256"
; SHA-384
"timestamphashalg"="sha384"
; SHA-512
"timestamphashalg"="sha512"
CMD
:: 選択項目 (1 つだけ使用)

:: SHA-1
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "timestamphashalg" /t REG_SZ /d "sha1" /f
:: SHA-256
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "timestamphashalg" /t REG_SZ /d "sha256" /f
:: SHA-384
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "timestamphashalg" /t REG_SZ /d "sha384" /f
:: SHA-512
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "timestamphashalg" /t REG_SZ /d "sha512" /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# SHA-1
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'timestamphashalg' -PropertyType String -Value 'sha1' -Force | Out-Null
# SHA-256
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'timestamphashalg' -PropertyType String -Value 'sha256' -Force | Out-Null
# SHA-384
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'timestamphashalg' -PropertyType String -Value 'sha384' -Force | Out-Null
# SHA-512
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'timestamphashalg' -PropertyType String -Value 'sha512' -Force | Out-Null