デジタル署名生成の最小 XAdES レベルを指定する のレジストリ値 minxadeslevelユーザーHKCU\software\policies\microsoft\office\16.0\common\signatures

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

レジストリ

minxadeslevel

REG_DWORDユーザー
有効時の値
オプションの値に依存
要素
-
オプション
項目保存される値
最小レベルなし0
XAdES-BES1
XAdES-T2
XAdES-C3
XAdES-X4
XAdES-X-L5
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

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

; 選択項目 (1 つだけ使用)
; 最小レベルなし
"minxadeslevel"=dword:00000000
; XAdES-BES
"minxadeslevel"=dword:00000001
; XAdES-T
"minxadeslevel"=dword:00000002
; XAdES-C
"minxadeslevel"=dword:00000003
; XAdES-X
"minxadeslevel"=dword:00000004
; XAdES-X-L
"minxadeslevel"=dword:00000005
CMD
:: 選択項目 (1 つだけ使用)

:: 最小レベルなし
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "minxadeslevel" /t REG_DWORD /d 0 /f
:: XAdES-BES
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "minxadeslevel" /t REG_DWORD /d 1 /f
:: XAdES-T
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "minxadeslevel" /t REG_DWORD /d 2 /f
:: XAdES-C
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "minxadeslevel" /t REG_DWORD /d 3 /f
:: XAdES-X
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "minxadeslevel" /t REG_DWORD /d 4 /f
:: XAdES-X-L
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "minxadeslevel" /t REG_DWORD /d 5 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 最小レベルなし
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'minxadeslevel' -PropertyType DWord -Value 0 -Force | Out-Null
# XAdES-BES
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'minxadeslevel' -PropertyType DWord -Value 1 -Force | Out-Null
# XAdES-T
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'minxadeslevel' -PropertyType DWord -Value 2 -Force | Out-Null
# XAdES-C
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'minxadeslevel' -PropertyType DWord -Value 3 -Force | Out-Null
# XAdES-X
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'minxadeslevel' -PropertyType DWord -Value 4 -Force | Out-Null
# XAdES-X-L
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'minxadeslevel' -PropertyType DWord -Value 5 -Force | Out-Null