Puppet Class: crypto_win::keyexchangealgorithms::pkcs

Defined in:
manifests/keyexchangealgorithms/pkcs.pp

Overview

Class: crypto_win::keyexchangealgorithms::pkcs



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'manifests/keyexchangealgorithms/pkcs.pp', line 2

class crypto_win::keyexchangealgorithms::pkcs {

  if $crypto_win::pkcs {
    $pkcs_enabled = 0xFFFFFFFF
  } else {
    $pkcs_enabled = 0
  }

  registry_key { 'pkcs':
    ensure => present,
    path   => 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms\PKCS',
  }
  registry_value { 'pkcs_enabled':
    ensure  => present,
    path    => 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms\PKCS\Enabled',
    type    => dword,
    data    => $pkcs_enabled,
    require => Registry_key['pkcs'],
  }

}