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