Class: Y2Network::Widgets::EapTls

Inherits:
CWM::CustomWidget
  • Object
show all
Defined in:
src/lib/y2network/widgets/wireless_eap.rb

Overview

High level widget that represent TLS authentication

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(settings) ⇒ EapTls


128
129
130
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 128

def initialize(settings)
  @settings = settings
end

Instance Attribute Details

#settingsObject (readonly)

Returns the value of attribute settings


126
127
128
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 126

def settings
  @settings
end

Instance Method Details

#contentsObject


132
133
134
135
136
137
138
139
140
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 132

def contents
  VBox(
    HBox(
      ClientCertPath.new(@settings),
      ClientKeyPath.new(@settings)
    ),
    ServerCAPath.new(@settings)
  )
end