Module: RubyEasyRSA

Extended by:
ClassMethods
Defined in:
lib/ruby_easy_rsa.rb,
lib/ruby_easy_rsa/version.rb,
lib/ruby_easy_rsa/commands.rb,
lib/ruby_easy_rsa/commands/base.rb,
lib/ruby_easy_rsa/commands/renew.rb,
lib/ruby_easy_rsa/commands/gen_dh.rb,
lib/ruby_easy_rsa/commands/revoke.rb,
lib/ruby_easy_rsa/commands/gen_crl.rb,
lib/ruby_easy_rsa/commands/gen_req.rb,
lib/ruby_easy_rsa/commands/show_ca.rb,
lib/ruby_easy_rsa/commands/upgrade.rb,
lib/ruby_easy_rsa/commands/build_ca.rb,
lib/ruby_easy_rsa/commands/init_pki.rb,
lib/ruby_easy_rsa/commands/show_req.rb,
lib/ruby_easy_rsa/commands/sign_req.rb,
lib/ruby_easy_rsa/commands/export_p7.rb,
lib/ruby_easy_rsa/commands/show_cert.rb,
lib/ruby_easy_rsa/commands/update_db.rb,
lib/ruby_easy_rsa/commands/export_p12.rb,
lib/ruby_easy_rsa/commands/import_req.rb,
lib/ruby_easy_rsa/commands/set_ec_pass.rb,
lib/ruby_easy_rsa/commands/set_rsa_pass.rb,
lib/ruby_easy_rsa/commands/build_client_full.rb,
lib/ruby_easy_rsa/commands/build_server_full.rb,
lib/ruby_easy_rsa/commands/mixins/ssl_config.rb,
lib/ruby_easy_rsa/commands/mixins/global_config.rb,
lib/ruby_easy_rsa/commands/mixins/sub_ca_config.rb,
lib/ruby_easy_rsa/commands/mixins/algorithm_config.rb,
lib/ruby_easy_rsa/commands/build_client_server_full.rb,
lib/ruby_easy_rsa/commands/mixins/encrypt_key_config.rb,
lib/ruby_easy_rsa/commands/mixins/copy_extensions_config.rb,
lib/ruby_easy_rsa/commands/mixins/extra_extensions_config.rb,
lib/ruby_easy_rsa/commands/mixins/netscape_extensions_config.rb,
lib/ruby_easy_rsa/commands/mixins/inline_credentials_file_config.rb

Defined Under Namespace

Modules: ClassMethods, Commands Classes: Configuration

Constant Summary collapse

VERSION =
'0.11.0'

Class Attribute Summary collapse

Class Method Summary collapse

Methods included from ClassMethods

build_ca, build_client_full, build_client_server_full, build_server_full, export_p12, export_p7, gen_crl, gen_dh, gen_req, import_req, init_pki, renew, revoke, set_ec_pass, set_rsa_pass, show_ca, show_cert, show_req, sign_req, update_db, upgrade

Class Attribute Details

.configurationObject



10
11
12
# File 'lib/ruby_easy_rsa.rb', line 10

def configuration
  @configuration ||= Configuration.new
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



14
15
16
# File 'lib/ruby_easy_rsa.rb', line 14

def configure
  yield(configuration)
end

.included(other) ⇒ Object



110
111
112
# File 'lib/ruby_easy_rsa.rb', line 110

def self.included(other)
  other.extend(ClassMethods)
end

.reset!Object



18
19
20
# File 'lib/ruby_easy_rsa.rb', line 18

def reset!
  @configuration = nil
end