Puppet Class: crypto_win::ciphers::aes_128_128

Defined in:
manifests/ciphers/aes_128_128.pp

Overview

Class: crypto_win::ciphers::aes_128_128



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

class crypto_win::ciphers::aes_128_128 {

  if $crypto_win::aes_128_128 {
    $aes_128_128_enabled = 0xFFFFFFFF
  } else {
    $aes_128_128_enabled = 0
  }

  registry_key { 'aes_128_128':
    ensure => present,
    path   => 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\AES 128/128',
  }
  registry_value { 'aes_128_128_enabled':
    ensure  => present,
    path    => 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\AES 128/128\Enabled',
    type    => dword,
    data    => $aes_128_128_enabled,
    require => Registry_key['aes_128_128'],
  }

}