Class: Puppet::SSL::StateMachine::KeySSLState

Inherits:
SSLState show all
Defined in:
lib/puppet/ssl/state_machine.rb

Overview

Base class for states with a private key.

Direct Known Subclasses

NeedCert, NeedSubmitCSR

Instance Attribute Summary collapse

Attributes inherited from SSLState

#ssl_context

Instance Method Summary collapse

Methods inherited from SSLState

#to_error

Constructor Details

#initialize(machine, ssl_context, private_key) ⇒ KeySSLState


199
200
201
202
# File 'lib/puppet/ssl/state_machine.rb', line 199

def initialize(machine, ssl_context, private_key)
  super(machine, ssl_context)
  @private_key = private_key
end

Instance Attribute Details

#private_keyObject (readonly)

Returns the value of attribute private_key


197
198
199
# File 'lib/puppet/ssl/state_machine.rb', line 197

def private_key
  @private_key
end