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

Constructor Details

#initialize(machine, ssl_context, private_key) ⇒ KeySSLState

Returns a new instance of KeySSLState.



127
128
129
130
# File 'lib/puppet/ssl/state_machine.rb', line 127

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.



125
126
127
# File 'lib/puppet/ssl/state_machine.rb', line 125

def private_key
  @private_key
end