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

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

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

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of 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)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


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

def private_key
  @private_key
end