Puppet Class: crypto_win::hashes::sha384
- Defined in:
-
manifests/hashes/sha384.pp
Overview
Class: crypto_win::hashes::sha384
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# File 'manifests/hashes/sha384.pp', line 2
class crypto_win::hashes::sha384 {
if $crypto_win::sha384 {
$sha384_enabled = 0xFFFFFFFF
} else {
$sha384_enabled = 0
}
registry_key { 'sha384':
ensure => present,
path => 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes\SHA384',
}
registry_value { 'sha384_enabled':
ensure => present,
path => 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes\SHA384\Enabled',
type => dword,
data => $sha384_enabled,
require => Registry_key['sha384'],
}
}
|